1.8 KiB
1.8 KiB
title | description | image |
---|---|---|
messageFwdHeader | Info about a forwarded message | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageFwdHeader
Info about a forwarded message
Attributes:
Name | Type | Required | Description |
---|---|---|---|
from_id | Peer | Optional | |
from_name | string | Optional | The name of the user that originally sent the message |
date | int | Yes | When was the message originally sent |
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 |
saved_from_peer | Peer | Optional | Only for messages forwarded to the current user (inputPeerSelf), full info about the user/channel that originally sent the message |
saved_from_msg_id | int | Optional | Only for messages forwarded to the current user (inputPeerSelf), ID of the message that was forwarded from the original user/channel |
psa_type | string | Optional | PSA type |
Type: MessageFwdHeader
Example:
$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => Peer, 'from_name' => 'string', 'date' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int, 'psa_type' => 'string'];
Or, if you're into Lua:
messageFwdHeader={_='messageFwdHeader', from_id=Peer, from_name='string', date=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int, psa_type='string'}