Use this method to upload a .PNG file with a sticker for later use in createNewStickerSet and addStickerToSet methods (can be used multiple times). Returns the uploaded File on success.
| Name | Type | Description | Required |
|---|---|---|---|
| png_sticker | CURLFile | array | PNG image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. More information on Sending Files ยป | yes |
| user_id | int | null | User identifier of sticker file owner | no |
| token | string | null | You can use this method on another bot with specify this parameter | no |
| forgot | bool | null | You can set to not receive request result, dont set it or pass null for turn it off | no |
| answer | bool | null | You can set to answer to webhook, dont set it or pass null for turn it off | no |
Output : BPT\types\file | BPT\types\responseError | bool
Static or normal : Static
request::uploadStickerFile(['user_id' => int, 'png_sticker' => InputFile]);request::uploadStickerFile(['png_sticker' => InputFile]);