Developers » API methods » Messages » messages.getChat
Returns information about a chat.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: messages.
chat_idChat ID.
positive number, maximum value 100000000
chat_idsChat IDs.
list of comma-separated positive numbers
fieldsProfile fields to return.
Click here for the full list of supported parameters.
list of comma-separated words
name_caseCase for declension of user name and surname:
nom Ś nominative (default)
gen Ś genitive
dat Ś dative
acc Ś accusative
ins Ś instrumental
abl Ś prepositional
Returns a list of chat objects.

If the fields parameter is set, the users field contains a list of user objects with an additional invited_by field containing the ID of the user who invited the current user to chat.
946Chat not supported
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
wall.createComment method supports community ID in from_group parameter.

chat object has no users array if it is empty.