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

Arguments for Api::replaceStickerInSet. More...

#include <Types.h>

Public Attributes

std::int64_t userId { }
 User identifier of the sticker set owner.
std::string name { }
 Sticker set name.
std::string oldSticker { }
 File identifier of the replaced sticker.
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 remains unchanged.
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::replaceStickerInSet.

Definition at line 17265 of file Types.h.

Member Data Documentation

◆ attachments

std::vector<InputFileAttachment> TgBot::ReplaceStickerInSetArgs::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 17293 of file Types.h.

◆ name

std::string TgBot::ReplaceStickerInSetArgs::name { }

Sticker set name.

Definition at line 17274 of file Types.h.

◆ oldSticker

std::string TgBot::ReplaceStickerInSetArgs::oldSticker { }

File identifier of the replaced sticker.

Definition at line 17279 of file Types.h.

◆ sticker

std::shared_ptr<InputSticker> TgBot::ReplaceStickerInSetArgs::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 remains unchanged.

Definition at line 17286 of file Types.h.

◆ userId

std::int64_t TgBot::ReplaceStickerInSetArgs::userId { }

User identifier of the sticker set owner.

Definition at line 17269 of file Types.h.


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