MadelineProtoDocs/docs/API_docs/constructors/mediaAreaChannelPost.md
2024-05-01 14:53:46 +02:00

1003 B

title description nav_exclude image
mediaAreaChannelPost Represents a channel post. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: mediaAreaChannelPost

Back to constructors index

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];