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

Arguments for Api::uploadStickerFile. More...

#include <Types.h>

Public Attributes

std::int64_t userId { }
 User identifier of sticker file owner.
std::variant< std::shared_ptr< InputFile >, std::string > sticker { }
 A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements. More information on Sending Files »
std::string stickerFormat { }
 Format of the sticker, must be one of “static”, “animated”, “video”

Detailed Description

Arguments for Api::uploadStickerFile.

Definition at line 21262 of file Types.h.

Member Data Documentation

◆ sticker

std::variant<std::shared_ptr<InputFile>, std::string> TgBot::UploadStickerFileArgs::sticker { }

A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements. More information on Sending Files »

Definition at line 21273 of file Types.h.

◆ stickerFormat

std::string TgBot::UploadStickerFileArgs::stickerFormat { }

Format of the sticker, must be one of “static”, “animated”, “video”

Definition at line 21278 of file Types.h.

◆ userId

std::int64_t TgBot::UploadStickerFileArgs::userId { }

User identifier of sticker file owner.

Definition at line 21266 of file Types.h.


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