Skip to content

getMessages

Sahri Riza Umami edited this page Mar 14, 2017 · 4 revisions

Returns information about messages.

getMessages(chat_id, message_ids)

If message is not found, returns null on the corresponding position of the result.

Option Description
chat_id Identifier of the chat, messages belongs to.
message_ids Identifiers of the messages to get.

Example

  • Returns information about messages with ids 212, 101, and 666.

    getMessages(1234567890, {[0] = 212, 101, 666})

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally