MadelineProtoDocs/old_docs/API_docs_v95/constructors/messageFwdHeader.md

1.3 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
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, '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, date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int}