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