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

This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of TransactionPartnerUser TransactionPartnerChat TransactionPartnerAffiliateProgram TransactionPartnerFragment TransactionPartnerTelegramAds TransactionPartnerTelegramApi TransactionPartnerOther. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<TransactionPartner>

Public Attributes

std::variant< std::shared_ptr< TransactionPartnerUser >, std::shared_ptr< TransactionPartnerChat >, std::shared_ptr< TransactionPartnerAffiliateProgram >, std::shared_ptr< TransactionPartnerFragment >, std::shared_ptr< TransactionPartnerTelegramAds >, std::shared_ptr< TransactionPartnerTelegramApi >, std::shared_ptr< TransactionPartnerOther > > value

Detailed Description

This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of TransactionPartnerUser TransactionPartnerChat TransactionPartnerAffiliateProgram TransactionPartnerFragment TransactionPartnerTelegramAds TransactionPartnerTelegramApi TransactionPartnerOther.

Definition at line 14092 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 14093 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<TransactionPartnerUser>, std::shared_ptr<TransactionPartnerChat>, std::shared_ptr<TransactionPartnerAffiliateProgram>, std::shared_ptr<TransactionPartnerFragment>, std::shared_ptr<TransactionPartnerTelegramAds>, std::shared_ptr<TransactionPartnerTelegramApi>, std::shared_ptr<TransactionPartnerOther> > TgBot::TransactionPartner::value

Definition at line 14099 of file Types.h.


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