telegram.Venue¶
-
class
telegram.
Venue
(location: telegram.files.location.Location, title: str, address: str, foursquare_id: str = None, foursquare_type: str = None, **kwargs)¶ Bases:
telegram.base.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
andtitle
are equal.-
location
¶ Venue location.
Type: telegram.Location
-
title
¶ Name of the venue.
Type: str
-
address
¶ Address of the venue.
Type: str
-
foursquare_id
¶ Optional. Foursquare identifier of the venue.
Type: str
-
foursquare_type
¶ Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Type: str
Parameters: - location (
telegram.Location
) – Venue location. - title (
str
) – Name of the venue. - address (
str
) – Address of the venue. - foursquare_id (
str
, optional) – Foursquare identifier of the venue. - foursquare_type (
str
, optional) – Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.) - **kwargs (
dict
) – Arbitrary keyword arguments.
-