Layer 220
constructor
inputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaArea;

Parameters

Name Type Description
Coordinates MediaAreaCoordinates The size and location of the media area corresponding to the location sticker on top of the story media.
Channel InputChannel The channel that posted the message
MsgId int ID of the channel message

Returns

MediaArea

Gogram Example

// Creating InputMediaAreaChannelPost constructor
obj := &tg.InputMediaAreaChannelPost{
    Coordinates: &tg.MediaAreaCoordinates{},
    Channel: &tg.InputChannel{ChannelID: int64(123456789), AccessHash: int64(0)},
    MsgId: 0,
}