Inherits Object.
|
|
int32 | heading_ |
| | The direction in which the location moves, in degrees; 1-360; 0 if unknown.
|
| |
|
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.
|
| |
|
object_ptr< location > | location_ |
| | The current location.
|
| |
|
int32 | proximity_alert_radius_ |
| | The maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Can't be enabled in direct messages chats, channels and Saved Messages. Available only to the message sender.
|
| |
|
|
static const std::int32_t | ID = 417851690 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ liveLocation() [1/2]
◆ liveLocation() [2/2]
A live location.
- Parameters
-
| [in] | location_ | The current location. |
| [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] | heading_ | The direction in which the location moves, in degrees; 1-360; 0 if unknown. |
| [in] | proximity_alert_radius_ | The maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Can't be enabled in direct messages chats, channels and Saved Messages. Available only to the message sender. |
◆ store()
| void 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 TlObject.
The documentation for this class was generated from the following file: