POST graph.chat.action

Send notification about user’s action in chat

With this method you can notify other chat participants about your action in chat.

Request example

https://api.ok.ru/graph/chat:C3ecb9d02a600/action
   ?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE

Request body

{
  "action": "TYPING_ON" /* action type */
}

Action types

  • TYPING_ON - “user is writing a message” event;
  • SENDING_PHOTO - “user is sending a photo” event;
  • SENDING_VIDEO - “user is sending a video” event;
  • SENDING_AUDIO - “user is sending an audio” event;
  • MARK_SEEN - mark all messages as read.

Response example

{
  "success": true
}