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

This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a Message with the field managed_bot_created. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<KeyboardButtonRequestManagedBot>

Public Attributes

std::int32_t requestId { }
 Signed 32-bit identifier of the request. Must be unique within the message.
std::optional< std::string > suggestedName { }
 Optional. Suggested name for the bot.
std::optional< std::string > suggestedUsername { }
 Optional. Suggested username for the bot.

Detailed Description

This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a Message with the field managed_bot_created.

Definition at line 8406 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 8407 of file Types.h.

Member Data Documentation

◆ requestId

std::int32_t TgBot::KeyboardButtonRequestManagedBot::requestId { }

Signed 32-bit identifier of the request. Must be unique within the message.

Definition at line 8412 of file Types.h.

◆ suggestedName

std::optional<std::string> TgBot::KeyboardButtonRequestManagedBot::suggestedName { }

Optional. Suggested name for the bot.

Definition at line 8417 of file Types.h.

◆ suggestedUsername

std::optional<std::string> TgBot::KeyboardButtonRequestManagedBot::suggestedUsername { }

Optional. Suggested username for the bot.

Definition at line 8422 of file Types.h.


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