Layer 220
MediaAreaChannelPost
Represents a channel post.
constructor
mediaAreaChannelPost#770416af coordinates:MediaAreaCoordinates channel_id:long 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. |
| ChannelId | long | The channel that posted the message |
| MsgId | int | ID of the channel message |
Returns
MediaAreaGogram Example
// Creating MediaAreaChannelPost constructor obj := &tg.MediaAreaChannelPost{ Coordinates: &tg.MediaAreaCoordinates{}, ChannelId: int64(0), MsgId: 0, }