mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1003 B
1003 B
title | description | nav_exclude | image |
---|---|---|---|
mediaAreaChannelPost | Represents a channel post. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: mediaAreaChannelPost
Represents a channel post.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
coordinates | MediaAreaCoordinates | Yes | The size and location of the media area corresponding to the location sticker on top of the story media. |
channel_id | long | Yes | The channel that posted the message |
msg_id | int | Yes | ID of the channel message |
Type: MediaArea
Example:
$mediaAreaChannelPost = ['_' => 'mediaAreaChannelPost', 'coordinates' => MediaAreaCoordinates, 'channel_id' => long, 'msg_id' => int];