1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 22:26:54 +01:00
MadelineProto/docs/TD_docs/constructors/messageForwardedPost.md

1.1 KiB

title description
messageForwardedPost Message is orifinally a channel post

Constructor: messageForwardedPost

Back to constructors index

Message is orifinally a channel post

Attributes:

Name Type Required Description
chat_id long Yes Identifier of a chat from which message is forwarded
sender_user_id int Yes User identifier of the original message sender, 0 if unknown
date int Yes Date when message was originally sent
message_id long Yes Message identifier of the message from which the message is forwarded, 0 if unknown

Type: MessageForwardInfo

Example:

$messageForwardedPost = ['_' => 'messageForwardedPost', 'chat_id' => long, 'sender_user_id' => int, 'date' => int, 'message_id' => long, ];

Or, if you're into Lua:

messageForwardedPost={_='messageForwardedPost', chat_id=long, sender_user_id=int, date=int, message_id=long, }