1 | <?php |
||
23 | class SetStickerSetThumb extends TelegramMethods |
||
24 | { |
||
25 | /** |
||
26 | * Sticker set name |
||
27 | * @var string |
||
28 | */ |
||
29 | public $name; |
||
30 | |||
31 | /** |
||
32 | * User identifier of the sticker set owner |
||
33 | * @var int |
||
34 | */ |
||
35 | public $user_id; |
||
36 | |||
37 | /** |
||
38 | * A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a |
||
39 | * TGS animation with the thumbnail up to 32 kilobytes in size; see |
||
40 | * https://core.telegram.org/animated_stickers#technical-requirements for animated sticker technical requirements. |
||
41 | * Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a |
||
42 | * String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More info on |
||
43 | * Sending Files ». Animated sticker set thumbnail can't be uploaded via HTTP URL. |
||
44 | * |
||
45 | * @var InputFile|string |
||
46 | */ |
||
47 | public $thumb; |
||
48 | |||
49 | public static function bindToObject(TelegramResponse $data, LoggerInterface $logger): TelegramTypes |
||
53 | |||
54 | public function getMandatoryFields(): array |
||
61 | |||
62 | public function hasLocalFiles(): bool |
||
66 | |||
67 | public function getLocalFiles(): Generator |
||
71 | } |
||
72 |