InputVenueMessageContent¶
- class aiogram.types.input_venue_message_content.InputVenueMessageContent(*, latitude: float, longitude: float, title: str, address: str, foursquare_id: str | None = None, foursquare_type: str | None = None, google_place_id: str | None = None, google_place_type: str | None = None, **extra_data: Any)[source]¶
Represents the content of a venue message to be sent as the result of an inline query.
Source: https://core.telegram.org/bots/api#inputvenuemessagecontent
- latitude: float¶
Latitude of the venue in degrees
- longitude: float¶
Longitude of the venue in degrees
- title: str¶
Name of the venue
- address: str¶
Address of the venue
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(context: Any, /) None ¶
We need to both initialize private attributes and call the user-defined model_post_init method.
- foursquare_id: str | None¶
Optional. Foursquare identifier of the venue, if known
- foursquare_type: str | None¶
Optional. Foursquare type of the venue, if known. (For example, ‘arts_entertainment/default’, ‘arts_entertainment/aquarium’ or ‘food/icecream’.)
- google_place_id: str | None¶
Optional. Google Places identifier of the venue
- google_place_type: str | None¶
Optional. Google Places type of the venue. (See supported types.)