BusinessLocation

class telegram.BusinessLocation(address, location=None, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This object contains information about the location of a Telegram Business account.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their address is equal.

Added in version 21.1.

Parameters:
address[source]

Address of the business.

Type:

str

location[source]

Optional. Location of the business.

Type:

telegram.Location

classmethod de_json(data, bot=None)[source]

See telegram.TelegramObject.de_json().