Represents a sticker file to be sent.
More...
#include <Types.h>
|
| 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.
|
Represents a sticker file to be sent.
Definition at line 6692 of file Types.h.
◆ Ptr
◆ 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 |
◆ 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: