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

This object describes a gift received and owned by a user or a chat. Currently, it can be one of OwnedGiftRegular OwnedGiftUnique. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<OwnedGift>

Public Attributes

std::variant< std::shared_ptr< OwnedGiftRegular >, std::shared_ptr< OwnedGiftUnique > > value

Detailed Description

This object describes a gift received and owned by a user or a chat. Currently, it can be one of OwnedGiftRegular OwnedGiftUnique.

Definition at line 9968 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::OwnedGift::Ptr = std::shared_ptr<OwnedGift>

Definition at line 9969 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<OwnedGiftRegular>, std::shared_ptr<OwnedGiftUnique> > TgBot::OwnedGift::value

Definition at line 9971 of file Types.h.


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