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

Represents a sticker file to be sent. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputMediaSticker>

Public Attributes

std::string type { TYPE }
 Type of the media, must be sticker.
std::string media { }
 File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a .WEBP sticker from the Internet, or pass “attach://<file_attach_name>” to upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data under <file_attach_name> name. More information on Sending Files »
std::optional< std::string > emoji { }
 Optional. Emoji associated with the sticker; only for just uploaded stickers.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

Represents a sticker file to be sent.

Definition at line 6692 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6693 of file Types.h.

Member Data Documentation

◆ emoji

std::optional<std::string> TgBot::InputMediaSticker::emoji { }

Optional. Emoji associated with the sticker; only for just uploaded stickers.

Definition at line 6714 of file Types.h.

◆ media

std::string TgBot::InputMediaSticker::media { }

File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a .WEBP sticker from the Internet, or pass “attach://<file_attach_name>” to upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data under <file_attach_name> name. More information on Sending Files »

Definition at line 6709 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::InputMediaSticker::TYPE
static

Definition at line 6695 of file Types.h.

◆ type

std::string TgBot::InputMediaSticker::type { TYPE }

Type of the media, must be sticker.

Definition at line 6700 of file Types.h.


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