ChatLocation

class aiogram.types.chat_location.ChatLocation(*, location: Location, address: str, **extra_data: Any)[source]

Represents a location to which a chat is connected.

Source: https://core.telegram.org/bots/api#chatlocation

location: Location

The location to which the supergroup is connected. Can’t be a live location.

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.

address: str

Location address; 1-64 characters, as defined by the chat owner