Trait UploadMethodTrait.

package Default

 Methods

upload()

upload(\TgBotApi\BotApiBase\Method\Interfaces\UploadMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\FileType

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\UploadMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\FileType

uploadStickerFile()

uploadStickerFile(\TgBotApi\BotApiBase\Method\UploadStickerFileMethod $method) : \TgBotApi\BotApiBase\Type\FileType

Parameters

$method

\TgBotApi\BotApiBase\Method\UploadStickerFileMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\FileType