telegram.Venue

class telegram.Venue(*args, **kwargs)[source]

Bases: telegram.TelegramObject

This object represents a venue.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their location and title are equal.

Note

Foursquare details and Google Pace details are mutually exclusive. However, this behaviour is undocumented and might be changed by Telegram.

Parameters
location[source]

Venue location.

Type

telegram.Location

title[source]

Name of the venue.

Type

str

address[source]

Address of the venue.

Type

str

foursquare_id[source]

Optional. Foursquare identifier of the venue.

Type

str

foursquare_type[source]

Optional. Foursquare type of the venue.

Type

str

google_place_id[source]

Optional. Google Places identifier of the venue.

Type

str

google_place_type[source]

Optional. Google Places type of the venue.

Type

str

classmethod de_json(data, bot)[source]

See telegram.TelegramObject.de_json().