1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 22:47:22 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/messageFwdHeader.md

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'}