Venue¶
- class aiogram.types.venue.Venue(*, location: Location, 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]¶
This object represents a venue.
Source: https://core.telegram.org/bots/api#venue
- title: str¶
Name of the venue
- address: str¶
Address of the venue
- foursquare_id: str | None¶
Optional. Foursquare identifier 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_type: str | None¶
Optional. Foursquare type of the venue. (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.)