Inherits MessageContent.
A user in the chat came within proximity alert range.
Public Fields | |
object_ptr< MessageSender > | traveler_id_ |
The identifier of a user or chat that triggered the proximity alert. | |
object_ptr< MessageSender > | watcher_id_ |
The identifier of a user or chat that subscribed for the proximity alert. | |
int32 | distance_ |
The distance between the users. | |
Public Instance Methods | |
messageProximityAlertTriggered () | |
messageProximityAlertTriggered (object_ptr< MessageSender > &&traveler_id_, object_ptr< MessageSender > &&watcher_id_, int32 distance_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 67761875 |
Identifier uniquely determining a type of the object. | |
A user in the chat came within proximity alert range.
messageProximityAlertTriggered | ( | object_ptr< MessageSender > && | traveler_id_, |
object_ptr< MessageSender > && | watcher_id_, | ||
int32 | distance_ | ||
) |
A user in the chat came within proximity alert range.
[in] | traveler_id_ | The identifier of a user or chat that triggered the proximity alert. |
[in] | watcher_id_ | The identifier of a user or chat that subscribed for the proximity alert. |
[in] | distance_ | The distance between the users. |
|
finalvirtual |