telegram.Venue

class telegram.Venue(location, title, address, foursquare_id=None, foursquare_type=None, **kwargs)

Bases: telegram.base.TelegramObject

This object represents a venue.

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”.)

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.