tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ManagedBotUpdated Struct Reference

This object contains information about the creation, token update, or owner update of a bot that is managed by the current bot. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ManagedBotUpdated>

Public Attributes

std::shared_ptr< User > user { }
 User that created the bot.
std::shared_ptr< User > bot { }
 Information about the bot. Token of the bot can be fetched using the method getManagedBotToken.

Detailed Description

This object contains information about the creation, token update, or owner update of a bot that is managed by the current bot.

Definition at line 8066 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 8067 of file Types.h.

Member Data Documentation

◆ bot

std::shared_ptr<User> TgBot::ManagedBotUpdated::bot { }

Information about the bot. Token of the bot can be fetched using the method getManagedBotToken.

Definition at line 8077 of file Types.h.

◆ user

std::shared_ptr<User> TgBot::ManagedBotUpdated::user { }

User that created the bot.

Definition at line 8072 of file Types.h.


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