1 | <?php |
||
23 | class CreateNewStickerSet extends TelegramMethods |
||
24 | { |
||
25 | /** |
||
26 | * User identifier of created sticker set owner |
||
27 | * @var int |
||
28 | */ |
||
29 | public $user_id = 0; |
||
30 | |||
31 | /** |
||
32 | * Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only english |
||
33 | * letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in |
||
34 | * "_by_<bot username>". <bot_username> is case insensitive. 1-64 characters |
||
35 | * @var string |
||
36 | */ |
||
37 | public $name = ''; |
||
38 | |||
39 | /** |
||
40 | * Sticker set title, 1-64 characters |
||
41 | * @var bool |
||
42 | */ |
||
43 | public $title = ''; |
||
44 | |||
45 | /** |
||
46 | * Png image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either |
||
47 | * width or height must be exactly 512px. Pass a file_id as a String to send a file that already exists on the |
||
48 | * Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one |
||
49 | * using multipart/form-data |
||
50 | * @var InputFile |
||
51 | */ |
||
52 | public $png_sticker; |
||
53 | |||
54 | /** |
||
55 | * One or more emoji corresponding to the sticker |
||
56 | * @var string |
||
57 | */ |
||
58 | public $emojis = ''; |
||
59 | |||
60 | /** |
||
61 | * Pass True, if a set of mask stickers should be created |
||
62 | * @var bool |
||
63 | */ |
||
64 | public $is_masks = false; |
||
65 | |||
66 | /** |
||
67 | * Position where the mask should be placed on faces |
||
68 | * @var MaskPosition |
||
69 | */ |
||
70 | public $mask_position; |
||
71 | |||
72 | public static function bindToObject(TelegramRawData $data, LoggerInterface $logger): TelegramTypes |
||
76 | |||
77 | public function getMandatoryFields(): array |
||
87 | } |
||
88 |