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

Arguments for Api::addStickerToSet. More...

#include <Types.h>

Public Attributes

std::int64_t userId { }
 User identifier of sticker set owner.
std::string name { }
 Sticker set name.
std::shared_ptr< InputSticker > sticker { }
 A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.
std::vector< InputFileAttachment > attachments = { }
 Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Detailed Description

Arguments for Api::addStickerToSet.

Definition at line 14381 of file Types.h.

Member Data Documentation

◆ attachments

std::vector<InputFileAttachment> TgBot::AddStickerToSetArgs::attachments = { }

Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Definition at line 14404 of file Types.h.

◆ name

std::string TgBot::AddStickerToSetArgs::name { }

Sticker set name.

Definition at line 14390 of file Types.h.

◆ sticker

std::shared_ptr<InputSticker> TgBot::AddStickerToSetArgs::sticker { }

A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.

Definition at line 14397 of file Types.h.

◆ userId

std::int64_t TgBot::AddStickerToSetArgs::userId { }

User identifier of sticker set owner.

Definition at line 14385 of file Types.h.


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