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

Contains the list of gifts received and owned by a user or a chat. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<OwnedGifts>

Public Attributes

std::int32_t totalCount { }
 The total number of gifts owned by the user or the chat.
std::vector< std::shared_ptr< OwnedGift > > gifts { }
 The list of gifts.
std::optional< std::string > nextOffset { }
 Optional. Offset for the next request. If empty, then there are no more results.

Detailed Description

Contains the list of gifts received and owned by a user or a chat.

Definition at line 10140 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 10141 of file Types.h.

Member Data Documentation

◆ gifts

std::vector<std::shared_ptr<OwnedGift> > TgBot::OwnedGifts::gifts { }

The list of gifts.

Definition at line 10151 of file Types.h.

◆ nextOffset

std::optional<std::string> TgBot::OwnedGifts::nextOffset { }

Optional. Offset for the next request. If empty, then there are no more results.

Definition at line 10156 of file Types.h.

◆ totalCount

std::int32_t TgBot::OwnedGifts::totalCount { }

The total number of gifts owned by the user or the chat.

Definition at line 10146 of file Types.h.


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