MediaArea
- class pyrogram.raw.base.MediaArea
Represents a story media area »
- Constructors:
This base type has 9 constructors available.
Represents a channel post
Represents a location tag attached to a story, with additional venue information.
Represents a channel post.
Represents a geolocation tag attached to a story.
Represents a collectible gift ».
Represents a reaction bubble.
Represents a URL media area.
Represents a location tag attached to a story, with additional venue information.
Represents a weather widget ».
TL Schema
Parameter Tree
MediaArea
├──
MediaAreaVenue│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ ├── geo →
GeoPoint│ │ ├──
GeoPointEmpty│ │ └──
GeoPoint│ │ ├── long →
double│ │ ├── lat →
double│ │ ├── access_hash →
long│ │ └── accuracy_radius →
int (optional)│ ├── title →
string│ ├── address →
string│ ├── provider →
string│ ├── venue_id →
string│ └── venue_type →
string│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ ├── query_id →
long│ └── result_id →
string│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ ├── geo →
GeoPoint│ │ ├──
GeoPointEmpty│ │ └──
GeoPoint│ │ ├── long →
double│ │ ├── lat →
double│ │ ├── access_hash →
long│ │ └── accuracy_radius →
int (optional)│ └── address →
GeoPointAddress (optional)│ └──
GeoPointAddress│ ├── country_iso2 →
string│ ├── state →
string (optional)│ ├── city →
string (optional)│ └── street →
string (optional)│ ├── dark →
true (optional)│ ├── flipped →
true (optional)│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ └── reaction →
Reaction│ ├──
ReactionEmpty│ ├──
ReactionEmoji│ │ └── emoticon →
string│ ├──
ReactionCustomEmoji│ │ └── document_id →
long│ └──
ReactionPaid│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ ├── channel_id →
long│ └── msg_id →
int│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ ├── channel →
InputChannel│ │ ├──
InputChannelEmpty│ │ ├──
InputChannel│ │ └──
InputChannelFromMessage│ └── msg_id →
int├──
MediaAreaUrl│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ └── url →
string├──
MediaAreaWeather│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ │ ├── x →
double│ │ ├── y →
double│ │ ├── w →
double│ │ ├── h →
double│ │ ├── rotation →
double│ │ └── radius →
double (optional)│ ├── emoji →
string│ ├── temperature_c →
double│ └── color →
int├── coordinates →
MediaAreaCoordinates│ └──
MediaAreaCoordinates│ ├── x →
double│ ├── y →
double│ ├── w →
double│ ├── h →
double│ ├── rotation →
double│ └── radius →
double (optional)└── slug →
string