1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 00:27:46 +01:00
MadelineProto/old_docs/API_docs_v72/constructors/messageFwdHeader.md
2017-11-15 12:41:58 +00:00

1.1 KiB

title description
messageFwdHeader messageFwdHeader attributes, type and example

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

Type: MessageFwdHeader

Example:

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

PWRTelegram json-encoded version:

{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int, "post_author": "string"}

Or, if you're into Lua:

messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string'}