MadelineProtoDocs/old_docs/API_docs_v75/constructors/messageFwdHeader.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08: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}