InputMediaAreaVenue
- class pyrogram.raw.types.InputMediaAreaVenue
Represents a location tag attached to a story, with additional venue information.
Constructor of
MediaArea.- Details:
Layer:
223ID:
B282217F
- Parameters:
coordinates (
MediaAreaCoordinates) – The size and location of the media area corresponding to the location sticker on top of the story media.query_id (
int64-bit) – The query_id from messages.botResults, see here » for more info.result_id (
str) – The id of the chosen result, see here » for more info.
TL Schema
inputMediaAreaVenue#b282217f
coordinates:MediaAreaCoordinates
query_id:long
result_id:string
= MediaArea
Parameter Tree
InputMediaAreaVenue
├── coordinates →
MediaAreaCoordinates│ └──
MediaAreaCoordinates│ ├── x →
double│ ├── y →
double│ ├── w →
double│ ├── h →
double│ ├── rotation →
double│ └── radius →
double (optional)├── query_id →
long└── result_id →
stringExample
InputMediaAreaVenue(
coordinates=MediaAreaCoordinates(
x=0.0,
y=0.0,
w=0.0,
h=0.0,
rotation=0.0
),
query_id=0,
result_id="text",
)