#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| object_ptr< location > | location_ |
| | Location to be sent.
|
| |
| int32 | live_period_ |
| | Period for which the location can be updated, in seconds; must be between 60 and 86400 for a temporary live location, 0x7FFFFFFF for permanent live location, and 0 otherwise.
|
| |
| int32 | heading_ |
| | For live locations, a direction in which the location moves, in degrees; 1-360. Pass 0 if unknown.
|
| |
| int32 | proximity_alert_radius_ |
| | For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled. Can't be enabled in channels and Saved Messages.
|
| |
|
| static const std::int32_t | ID = 648735088 |
| | Identifier uniquely determining a type of the object.
|
| |
A message with a location.
Definition at line 29535 of file td_api.h.
◆ inputMessageLocation() [1/2]
| td::td_api::inputMessageLocation::inputMessageLocation |
( |
| ) |
|
A message with a location.
◆ inputMessageLocation() [2/2]
A message with a location.
- Parameters
-
| [in] | location_ | Location to be sent. |
| [in] | live_period_ | Period for which the location can be updated, in seconds; must be between 60 and 86400 for a temporary live location, 0x7FFFFFFF for permanent live location, and 0 otherwise. |
| [in] | heading_ | For live locations, a direction in which the location moves, in degrees; 1-360. Pass 0 if unknown. |
| [in] | proximity_alert_radius_ | For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled. Can't be enabled in channels and Saved Messages. |
◆ store()
| void td::td_api::inputMessageLocation::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ heading_
| int32 td::td_api::inputMessageLocation::heading_ |
For live locations, a direction in which the location moves, in degrees; 1-360. Pass 0 if unknown.
Definition at line 29550 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::inputMessageLocation::ID = 648735088 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 29570 of file td_api.h.
◆ live_period_
| int32 td::td_api::inputMessageLocation::live_period_ |
Period for which the location can be updated, in seconds; must be between 60 and 86400 for a temporary live location, 0x7FFFFFFF for permanent live location, and 0 otherwise.
Definition at line 29548 of file td_api.h.
◆ location_
◆ proximity_alert_radius_
| int32 td::td_api::inputMessageLocation::proximity_alert_radius_ |
For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled. Can't be enabled in channels and Saved Messages.
Definition at line 29552 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h