MadelineProtoDocs/old_docs/API_docs_v72/constructors/messageFwdHeader.md
2019-12-27 17:48:04 +01:00

1.3 KiB

title description image
messageFwdHeader Info about a forwarded message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageFwdHeader

Back to constructors index

Info about a forwarded message

Attributes:

Name Type Required Description
from_id int Optional The ID of the user that originally sent the message
date int Yes When was the message originally sent
channel_id int Optional ID of the channel from which the message was forwarded
channel_post int Optional ID of the channel message that was forwarded
post_author string Optional For channels and if signatures are enabled, author of the channel message

Type: MessageFwdHeader

Example:

$messageFwdHeader = ['_' => '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'}