MadelineProtoDocs/docs/API_docs/constructors/messageFwdHeader.md
2018-04-04 19:52:48 +02:00

1.4 KiB

title description image
messageFwdHeader messageFwdHeader attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageFwdHeader

Back to constructors index

Attributes:

Name Type Required
from_id int Optional
date int Yes
channel_id int Optional
channel_post int Optional
post_author string Optional
saved_from_peer Peer Optional
saved_from_msg_id int Optional

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}