MediaAreaStarGift
- class pyrogram.raw.types.MediaAreaStarGift
Represents a collectible gift ».
Constructor of
MediaArea.- Details:
Layer:
223ID:
5787686D
- Parameters:
coordinates (
MediaAreaCoordinates) – Coordinates of the media area.slug (
str) – slug from starGiftUnique.slug, that can be resolved as specified here ».
TL Schema
mediaAreaStarGift#5787686d
coordinates:MediaAreaCoordinates
slug:string
= MediaArea
Parameter Tree
MediaAreaStarGift
├── coordinates →
MediaAreaCoordinates│ └──
MediaAreaCoordinates│ ├── x →
double│ ├── y →
double│ ├── w →
double│ ├── h →
double│ ├── rotation →
double│ └── radius →
double (optional)└── slug →
stringExample
MediaAreaStarGift(
coordinates=MediaAreaCoordinates(
x=0.0,
y=0.0,
w=0.0,
h=0.0,
rotation=0.0
),
slug="text",
)