1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 15:26:54 +01:00
MadelineProto/docs/TD_docs/constructors/inputMessageForwarded.md
2017-07-23 16:33:46 +02:00

1.1 KiB

title description
inputMessageForwarded Forwarded message

Constructor: inputMessageForwarded

Back to constructors index

Forwarded message

Attributes:

Name Type Required Description
from_chat_id long Yes Chat identifier of the message to forward
message_id long Yes Identifier of the message to forward
in_game_share Bool Yes Pass true to share a game message within a launched game, for Game messages only

Type: InputMessageContent

Example:

$inputMessageForwarded = ['_' => 'inputMessageForwarded', 'from_chat_id' => long, 'message_id' => long, 'in_game_share' => Bool];

PWRTelegram json-encoded version:

{"_": "inputMessageForwarded", "from_chat_id": long, "message_id": long, "in_game_share": Bool}

Or, if you're into Lua:

inputMessageForwarded={_='inputMessageForwarded', from_chat_id=long, message_id=long, in_game_share=Bool}