MediaAreaChannelPost
- class pyrogram.raw.types.MediaAreaChannelPost
Represents a channel post.
Constructor of
MediaArea.- Details:
Layer:
223ID:
770416AF
- Parameters:
coordinates (
MediaAreaCoordinates) – The size and location of the media area corresponding to the location sticker on top of the story media.channel_id (
int64-bit) – The channel that posted the messagemsg_id (
int32-bit) – ID of the channel message
TL Schema
mediaAreaChannelPost#770416af
coordinates:MediaAreaCoordinates
channel_id:long
msg_id:int
= MediaArea
Parameter Tree
MediaAreaChannelPost
├── coordinates →
MediaAreaCoordinates│ └──
MediaAreaCoordinates│ ├── x →
double│ ├── y →
double│ ├── w →
double│ ├── h →
double│ ├── rotation →
double│ └── radius →
double (optional)├── channel_id →
long└── msg_id →
intExample
MediaAreaChannelPost(
coordinates=MediaAreaCoordinates(
x=0.0,
y=0.0,
w=0.0,
h=0.0,
rotation=0.0
),
channel_id=0,
msg_id=0,
)