tgbot-cpp
Loading...
Searching...
No Matches
InputSticker.h
Go to the documentation of this file.
1
#ifndef TGBOT_INPUTSTICKER_H
2
#define TGBOT_INPUTSTICKER_H
3
4
#include "
tgbot/types/MaskPosition.h
"
5
6
#include <memory>
7
#include <string>
8
#include <vector>
9
10
namespace
TgBot
{
11
17
class
InputSticker
{
18
19
public
:
20
typedef
std::shared_ptr<InputSticker>
Ptr
;
21
29
std::string
sticker
;
30
34
std::string
format
;
35
39
std::vector<std::string>
emojiList
;
40
46
MaskPosition::Ptr
maskPosition
;
47
53
std::vector<std::string>
keywords
;
54
};
55
}
56
57
#endif
//TGBOT_INPUTSTICKER_H
MaskPosition.h
TgBot::InputSticker
This object describes a sticker to be added to a sticker set.
Definition
InputSticker.h:17
TgBot::InputSticker::format
std::string format
Format of the added sticker, must be one of “static” for a .WEBP or .PNG image, “animated” for a ....
Definition
InputSticker.h:34
TgBot::InputSticker::emojiList
std::vector< std::string > emojiList
List of 1-20 emoji associated with the sticker.
Definition
InputSticker.h:39
TgBot::InputSticker::keywords
std::vector< std::string > keywords
Optional. List of 0-20 search keywords for the sticker with total length of up to 64 characters.
Definition
InputSticker.h:53
TgBot::InputSticker::maskPosition
MaskPosition::Ptr maskPosition
Optional. Position where the mask should be placed on faces.
Definition
InputSticker.h:46
TgBot::InputSticker::Ptr
std::shared_ptr< InputSticker > Ptr
Definition
InputSticker.h:20
TgBot::InputSticker::sticker
std::string sticker
The added sticker.
Definition
InputSticker.h:29
TgBot::MaskPosition::Ptr
std::shared_ptr< MaskPosition > Ptr
Definition
MaskPosition.h:16
TgBot
Definition
Api.h:40
include
tgbot
types
InputSticker.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0