|
TDLib
|
Inherits Object.
A live location.
Public Member Functions | |
| liveLocation () | |
| liveLocation (object_ptr< location > &&location_, int32 live_period_, int32 heading_, int32 proximity_alert_radius_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| 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 Public Attributes | |
| static const std::int32_t | ID = 417851690 |
| Identifier uniquely determining a type of the object. | |
| liveLocation | ( | ) |
A live location.
| liveLocation | ( | object_ptr< location > && | location_, |
| int32 | live_period_, | ||
| int32 | heading_, | ||
| int32 | proximity_alert_radius_ ) |
A live location.
| [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. |
|
finalvirtual |