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< Chat > chat { }
 Information about the chat.
std::shared_ptr< Gift > gift { }
 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 13188 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 13189 of file Types.h.

Member Data Documentation

◆ chat

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

Information about the chat.

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

◆ TYPE

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

Definition at line 13191 of file Types.h.

◆ type

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

Type of the transaction partner, always “chat”

Definition at line 13196 of file Types.h.


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