telegram.InputVenueMessageContent

class telegram.InputVenueMessageContent(latitude, longitude, title, address, foursquare_id=None, **kwargs)

Bases: telegram.inline.inputmessagecontent.InputMessageContent

Represents the content of a venue message to be sent as the result of an inline query.

latitude

float – Latitude of the location in degrees.

longitude

float – Longitude of the location in degrees.

title

str – Name of the venue.

address

str – Address of the venue.

foursquare_id

str – Optional. Foursquare identifier of the venue, if known.

Parameters:
  • latitude (float) – Latitude of the location in degrees.
  • longitude (float) – Longitude of the location in degrees.
  • title (str) – Name of the venue.
  • address (str) – Address of the venue.
  • foursquare_id (str, optional) – Foursquare identifier of the venue, if known.
  • **kwargs (dict) – Arbitrary keyword arguments.