POST graph.chat.addMember
Add new member to a chat
Request example
https://api.ok.ru/graph/chat:C3ecb9d02a600/answer
?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE
?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE
Request body
Add a single new member:
{
"userId": "USER:1234567890", /* user id in a user:userId format */
"showHistory": true / false /* show / hide chat history */
}
Add multiple new members:
{
"userIds": ["USER:12345678901", "USER:12345678902"], /* user id in a user:userId format */
"showHistory": true / false /* show / hide chat history */
}
Request example
{
"success": true
}