GET graph.user.chat
Get chat information by ID
Name | Required | Type | Default value | Description |
---|---|---|---|---|
chat:id | true | | Chat ID in chat:id format |
By this method you can acquire information about specific chat by it’s ID.
ID can be specified either as a PATH parameter or GET parameter
Request example
Chat ID specified as a PATH parameter
https://api.ok.ru/graph/me/chat/chat:C3ecb9d02a600
?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE
?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE
Chat Id specified as a GET parameter
https://api.ok.ru/graph/me/chat
?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE
&chat_id=chat:C3ecb9d02a600
?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE
&chat_id=chat:C3ecb9d02a600