1.3 KiB
1.3 KiB
title | description |
---|---|
messageFwdHeader | messageFwdHeader attributes, type and example |
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}