tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ProximityAlertTriggered Struct 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 <Types.h>

Public Types

using Ptr = std::shared_ptr<ProximityAlertTriggered>

Public Attributes

std::shared_ptr< Usertraveler { }
 User that triggered the alert.
std::shared_ptr< Userwatcher { }
 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 11215 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 11216 of file Types.h.

Member Data Documentation

◆ distance

std::int32_t TgBot::ProximityAlertTriggered::distance { }

The distance between the users.

Definition at line 11231 of file Types.h.

◆ traveler

std::shared_ptr<User> TgBot::ProximityAlertTriggered::traveler { }

User that triggered the alert.

Definition at line 11221 of file Types.h.

◆ watcher

std::shared_ptr<User> TgBot::ProximityAlertTriggered::watcher { }

User that set the alert.

Definition at line 11226 of file Types.h.


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