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

Describes a transaction with a chat. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<TransactionPartnerChat>

Public Attributes

std::string type { TYPE }
 Type of the transaction partner, always “chat”
std::shared_ptr< Chatchat { }
 Information about the chat.
std::shared_ptr< Giftgift { }
 Optional. The gift sent to the chat by the bot.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

Describes a transaction with a chat.

Definition at line 14139 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 14140 of file Types.h.

Member Data Documentation

◆ chat

std::shared_ptr<Chat> TgBot::TransactionPartnerChat::chat { }

Information about the chat.

Definition at line 14152 of file Types.h.

◆ gift

std::shared_ptr<Gift> TgBot::TransactionPartnerChat::gift { }

Optional. The gift sent to the chat by the bot.

Definition at line 14157 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::TransactionPartnerChat::TYPE
static

Definition at line 14142 of file Types.h.

◆ type

std::string TgBot::TransactionPartnerChat::type { TYPE }

Type of the transaction partner, always “chat”

Definition at line 14147 of file Types.h.


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