Skip to content

sendForwarded

Sahri Riza Umami edited this page Dec 17, 2016 · 3 revisions

Send forwarded message.

sendForwarded(chat_id, reply_to_message_id, disable_notification, from_background, reply_markup, from_chat_id, message_id)
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.
from_chat_id Chat identifier of the message to forward.
message_id Identifier of the message to forward.

Example

Send forwarded message number 212 from chat 1234567890 into chat 1234567890.

sendForwarded(1234567890, 0, 0, 1, nil, 1234567890, 212)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally