telegram.InputLocationMessageContent

class telegram.InputLocationMessageContent(latitude, longitude, **kwargs)

Bases: telegram.inline.inputmessagecontent.InputMessageContent

Represents the content of a location 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.

Parameters:
  • latitude (float) – Latitude of the location in degrees.
  • longitude (float) – Longitude of the location in degrees.
  • **kwargs (dict) – Arbitrary keyword arguments.