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< Useruser { }
 User that created the bot.
std::shared_ptr< Userbot { }
 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 8755 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 8756 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 8767 of file Types.h.

◆ user

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

User that created the bot.

Definition at line 8761 of file Types.h.


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