Link Search Menu Expand Document

Constructor: mediaAreaChannelPost

Back to constructors index

Represents a channel post.

Attributes:

NameTypeRequiredDescription
coordinatesMediaAreaCoordinatesYesThe size and location of the media area corresponding to the location sticker on top of the story media.
channel_idlongYesThe channel that posted the message
msg_idintYesID of the channel message

Type: MediaArea

Example:

$mediaAreaChannelPost = ['_' => 'mediaAreaChannelPost', 'coordinates' => MediaAreaCoordinates, 'channel_id' => long, 'msg_id' => int];