MadelineProtoDocs/old_docs/API_docs_v82/constructors/messageFwdHeader.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.5 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];

PWRTelegram json-encoded version:

{"_": "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}