Trait DeleteMethodTrait.

package Default

 Methods

delete()

delete(\TgBotApi\BotApiBase\Method\Interfaces\DeleteMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\DeleteMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteChatPhoto()

deleteChatPhoto(\TgBotApi\BotApiBase\Method\DeleteChatPhotoMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteChatPhotoMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteChatStickerSet()

deleteChatStickerSet(\TgBotApi\BotApiBase\Method\DeleteChatStickerSetMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteChatStickerSetMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteMessage()

deleteMessage(\TgBotApi\BotApiBase\Method\DeleteMessageMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteMessageMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteStickerFromSet()

deleteStickerFromSet(\TgBotApi\BotApiBase\Method\DeleteStickerFromSetMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteStickerFromSetMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteWebhook()

deleteWebhook(\TgBotApi\BotApiBase\Method\DeleteWebhookMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteWebhookMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean