tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ProximityAlertTriggered Class Reference

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< ProximityAlertTriggeredPtr
 

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.
 

Detailed Description

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.

Member Typedef Documentation

◆ Ptr

Definition at line 18 of file ProximityAlertTriggered.h.

Member Data Documentation

◆ distance

std::int32_t TgBot::ProximityAlertTriggered::distance

The distance between the users.

Definition at line 33 of file ProximityAlertTriggered.h.

◆ traveler

User::Ptr TgBot::ProximityAlertTriggered::traveler

User that triggered the alert.

Definition at line 23 of file ProximityAlertTriggered.h.

◆ watcher

User::Ptr TgBot::ProximityAlertTriggered::watcher

User that set the alert.

Definition at line 28 of file ProximityAlertTriggered.h.


The documentation for this class was generated from the following file: