InputMediaAreaVenue

class pyrogram.raw.types.InputMediaAreaVenue

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

Constructor of MediaArea.

Details:
  • Layer: 223

  • ID: 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 (int 64-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
├── coordinatesMediaAreaCoordinates
│ └── MediaAreaCoordinates
│ ├── xdouble
│ ├── ydouble
│ ├── wdouble
│ ├── hdouble
│ ├── rotationdouble
│ └── radiusdouble (optional)
├── query_idlong
└── result_idstring

Example

InputMediaAreaVenue(
    coordinates=MediaAreaCoordinates(
        x=0.0,
        y=0.0,
        w=0.0,
        h=0.0,
        rotation=0.0
    ),
    query_id=0,
    result_id="text",
)