telegram.InputLocationMessageContent¶
-
class
telegram.InputLocationMessageContent(latitude, longitude, live_period=None, **kwargs)¶ Bases:
telegram.inline.inputmessagecontent.InputMessageContentRepresents the content of a location message to be sent as the result of an inline query.
-
latitude¶ Latitude of the location in degrees.
Type: float
-
longitude¶ Longitude of the location in degrees.
Type: float
Parameters: - latitude (
float) – Latitude of the location in degrees. - longitude (
float) – Longitude of the location in degrees. - live_period (
int, optional) – Period in seconds for which the location can be updated, should be between 60 and 86400. - **kwargs (
dict) – Arbitrary keyword arguments.
-