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

1.0 KiB

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

Constructor: inputMediaAreaChannelPost

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 InputChannel Optional The channel that posted the message
msg_id int Yes ID of the channel message

Type: MediaArea

Example:

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