Developers » API methods » Messages » messages.createChat
Messagesmessages.createChat
Creates a chat with several participants.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: messages.
This method can be called with a community token. Access rights required: messages.
Parameters
user_idsIDs of the users to be added to the chat.
list of comma-separated positive numbers
titleChat title.
string
group_id
positive number
Result
Returns the ID of the created chat (chat_id).
Errors
936Contact not found
Global errors can occur while running. See their descriptions on this page.