Skip to content

openMessageContent

Sahri Riza Umami edited this page Jun 23, 2018 · 5 revisions

This method should be called if the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).
An updateMessageContentOpened update will be generated if something has changed.

openMessageContent(chat_id, message_id, callback, data)
Field Type Description
chat_id int53 Chat identifier of the message.
message_id int53 Identifier of the message with the opened content.

Example

  • Open message id 212 content in chat 1234567890.

    openMessageContent(1234567890, 212)

    Response:

    {
      ["@type"] = "ok"
    }

Frequently Asked Questions
The Functions

Clone this wiki locally