Skip to content

sendSticker

Sahri Riza Umami edited this page Mar 13, 2017 · 3 revisions

Send a sticker message.

sendSticker(chat_id, reply_to_message_id, disable_notification, from_background, reply_markup, sticker)
Option Description
chat_id Chat to send message.
reply_to_message_id Identifier of a message to reply to or 0.
disable_notification Pass true, to disable notification about the message.
from_background Pass true, if the message is sent from background.
reply_markup Bots only. Markup for replying to message.
sticker Sticker to send.
thumb Sticker thumb, if available.

Example

  • Send a sticker message from an already sent message with id 212.

    sendSticker(1234567890, 0, 0, 1, nil, 212)
  • Send a sticker message from an already sent message by its persistent_id.

    sendSticker(1234567890, 0, 0, 1, nil, 'BQADAgADqQcAAm4y2AAB_DXqQNkDDWYC')

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally