Link Search Menu Expand Document

Constructor: inputMediaAreaChannelPost

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.
channelInputChannelOptionalThe channel that posted the message
msg_idintYesID of the channel message

Type: MediaArea

Example:

$inputMediaAreaChannelPost = ['_' => 'inputMediaAreaChannelPost', 'coordinates' => MediaAreaCoordinates, 'channel' => InputChannel, 'msg_id' => int];