MadelineProtoDocs/docs/API_docs/constructors/messageFwdHeader.md

1.4 KiB

title description image
messageFwdHeader Forwarded message info https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageFwdHeader

Back to constructors index

Forwarded message info

Attributes:

Name Type Required Description
from_id int Optional From ID
from_name string Optional Author of the original message
date int Yes Date
channel_id int Optional Channel ID
channel_post int Optional Channel post
post_author string Optional Post author
saved_from_peer Peer Optional Saved from peer
saved_from_msg_id int Optional Saved from msg ID

Type: MessageFwdHeader

Example:

$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'from_name' => 'string', 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int];

Or, if you're into Lua:

messageFwdHeader={_='messageFwdHeader', from_id=int, from_name='string', date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int}