4baac3178e
Add PHP, Lua language tag to Code area
1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
messageFwdHeader | messageFwdHeader attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageFwdHeader
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}