tgbot-cpp
Loading...
Searching...
No Matches
ProximityAlertTriggered.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_PROXIMITYALERTTRIGGERED_H
2#define TGBOT_CPP_PROXIMITYALERTTRIGGERED_H
3
4#include "tgbot/types/User.h"
5
6#include <memory>
7
8namespace TgBot {
9
16
17public:
18 typedef std::shared_ptr<ProximityAlertTriggered> Ptr;
19
24
29
33 std::int32_t distance;
34};
35}
36
37#endif //TGBOT_CPP_PROXIMITYALERTTRIGGERED_H
This object represents the content of a service message, sent whenever a user in the chat triggers a ...
User::Ptr traveler
User that triggered the alert.
std::shared_ptr< ProximityAlertTriggered > Ptr
std::int32_t distance
The distance between the users.
User::Ptr watcher
User that set the alert.
std::shared_ptr< User > Ptr
Definition User.h:18
Definition Api.h:40