MediaArea

class pyrogram.raw.base.MediaArea

Represents a story media area »

Constructors:

This base type has 9 constructors available.

InputMediaAreaChannelPost

Represents a channel post

InputMediaAreaVenue

Represents a location tag attached to a story, with additional venue information.

MediaAreaChannelPost

Represents a channel post.

MediaAreaGeoPoint

Represents a geolocation tag attached to a story.

MediaAreaStarGift

Represents a collectible gift ».

MediaAreaSuggestedReaction

Represents a reaction bubble.

MediaAreaUrl

Represents a URL media area.

MediaAreaVenue

Represents a location tag attached to a story, with additional venue information.

MediaAreaWeather

Represents a weather widget ».

TL Schema


Parameter Tree

MediaArea
├── MediaAreaVenue
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ ├── geoGeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ │ ├── longdouble
│ │ ├── latdouble
│ │ ├── access_hashlong
│ │ └── accuracy_radiusint (optional)
│ ├── titlestring
│ ├── addressstring
│ ├── providerstring
│ ├── venue_idstring
│ └── venue_typestring
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ ├── query_idlong
│ └── result_idstring
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ ├── geoGeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ │ ├── longdouble
│ │ ├── latdouble
│ │ ├── access_hashlong
│ │ └── accuracy_radiusint (optional)
│ └── addressGeoPointAddress (optional)
│ └── GeoPointAddress
│ ├── country_iso2string
│ ├── statestring (optional)
│ ├── citystring (optional)
│ └── streetstring (optional)
│ ├── darktrue (optional)
│ ├── flippedtrue (optional)
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ └── reactionReaction
│ ├── ReactionEmpty
│ ├── ReactionEmoji
│ │ └── emoticonstring
│ ├── ReactionCustomEmoji
│ │ └── document_idlong
│ └── ReactionPaid
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ ├── channel_idlong
│ └── msg_idint
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ ├── channelInputChannel
│ │ ├── InputChannelEmpty
│ │ ├── InputChannel
│ │ └── InputChannelFromMessage
│ └── msg_idint
├── MediaAreaUrl
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ └── urlstring
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ │ ├── xdouble
│ │ ├── ydouble
│ │ ├── wdouble
│ │ ├── hdouble
│ │ ├── rotationdouble
│ │ └── radiusdouble (optional)
│ ├── emojistring
│ ├── temperature_cdouble
│ └── colorint
├── coordinatesMediaAreaCoordinates
│ └── MediaAreaCoordinates
│ ├── xdouble
│ ├── ydouble
│ ├── wdouble
│ ├── hdouble
│ ├── rotationdouble
│ └── radiusdouble (optional)
└── slugstring

Example