#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| object_ptr< location > | location_ |
| | The location description.
|
| |
| int32 | live_period_ |
| | Time relative to the message send date, for which the location can be updated, in seconds; if 0x7FFFFFFF, then location can be updated forever.
|
| |
| int32 | expires_in_ |
| | Left time for which the location can be updated, in seconds. If 0, then the location can't be updated anymore. The update updateMessageContent is not sent when this field changes.
|
| |
| int32 | heading_ |
| | For live locations, a direction in which the location moves, in degrees; 1-360. If 0 the direction is unknown.
|
| |
| int32 | proximity_alert_radius_ |
| | For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Available only to the message sender.
|
| |
|
| static const std::int32_t | ID = 303973492 |
| | Identifier uniquely determining a type of the object.
|
| |
A message with a location.
Definition at line 39487 of file td_api.h.
◆ messageLocation() [1/2]
| td::td_api::messageLocation::messageLocation |
( |
| ) |
|
A message with a location.
◆ messageLocation() [2/2]
A message with a location.
- Parameters
-
| [in] | location_ | The location description. |
| [in] | live_period_ | Time relative to the message send date, for which the location can be updated, in seconds; if 0x7FFFFFFF, then location can be updated forever. |
| [in] | expires_in_ | Left time for which the location can be updated, in seconds. If 0, then the location can't be updated anymore. The update updateMessageContent is not sent when this field changes. |
| [in] | heading_ | For live locations, a direction in which the location moves, in degrees; 1-360. If 0 the direction is unknown. |
| [in] | proximity_alert_radius_ | For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Available only to the message sender. |
◆ store()
| void td::td_api::messageLocation::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.
◆ expires_in_
| int32 td::td_api::messageLocation::expires_in_ |
Left time for which the location can be updated, in seconds. If 0, then the location can't be updated anymore. The update updateMessageContent is not sent when this field changes.
Definition at line 39502 of file td_api.h.
◆ heading_
| int32 td::td_api::messageLocation::heading_ |
For live locations, a direction in which the location moves, in degrees; 1-360. If 0 the direction is unknown.
Definition at line 39504 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::messageLocation::ID = 303973492 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 39525 of file td_api.h.
◆ live_period_
| int32 td::td_api::messageLocation::live_period_ |
Time relative to the message send date, for which the location can be updated, in seconds; if 0x7FFFFFFF, then location can be updated forever.
Definition at line 39500 of file td_api.h.
◆ location_
The location description.
Definition at line 39498 of file td_api.h.
◆ proximity_alert_radius_
| int32 td::td_api::messageLocation::proximity_alert_radius_ |
For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Available only to the message sender.
Definition at line 39506 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