Class UploadStickerFileMethod.

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.

see
package Default

 Methods

create()

create(integer $userId, \TgBotApi\BotApiBase\Type\InputFileType $pngSticker) : \TgBotApi\BotApiBase\Method\UploadStickerFileMethod
Static

Parameters

$userId

integer

$pngSticker

\TgBotApi\BotApiBase\Type\InputFileType

Returns

\TgBotApi\BotApiBase\Method\UploadStickerFileMethod

 Properties

 

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.

$pngSticker : \TgBotApi\BotApiBase\Type\InputFileType

Default

 

User identifier of sticker file owner.

$userId : integer

Default