tgbot-cpp
|
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user. More...
#include <ProximityAlertTriggered.h>
Public Types | |
typedef std::shared_ptr< ProximityAlertTriggered > | Ptr |
Public Attributes | |
User::Ptr | traveler |
User that triggered the alert. | |
User::Ptr | watcher |
User that set the alert. | |
std::int32_t | distance |
The distance between the users. | |
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
Definition at line 15 of file ProximityAlertTriggered.h.
typedef std::shared_ptr<ProximityAlertTriggered> TgBot::ProximityAlertTriggered::Ptr |
Definition at line 18 of file ProximityAlertTriggered.h.
std::int32_t TgBot::ProximityAlertTriggered::distance |
The distance between the users.
Definition at line 33 of file ProximityAlertTriggered.h.
User::Ptr TgBot::ProximityAlertTriggered::traveler |
User that triggered the alert.
Definition at line 23 of file ProximityAlertTriggered.h.
User::Ptr TgBot::ProximityAlertTriggered::watcher |
User that set the alert.
Definition at line 28 of file ProximityAlertTriggered.h.