Trait SendMethodTrait.

package Default

 Methods

send()

send(\TgBotApi\BotApiBase\Method\Interfaces\SendMethodAliasInterface $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendAnimation()

sendAnimation(\TgBotApi\BotApiBase\Method\SendAnimationMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendAudio()

sendAudio(\TgBotApi\BotApiBase\Method\SendAudioMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendChatAction()

sendChatAction(\TgBotApi\BotApiBase\Method\SendChatActionMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendContact()

sendContact(\TgBotApi\BotApiBase\Method\SendContactMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendDice()

sendDice(\TgBotApi\BotApiBase\Method\SendDiceMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendDocument()

sendDocument(\TgBotApi\BotApiBase\Method\SendDocumentMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendGame()

sendGame(\TgBotApi\BotApiBase\Method\SendGameMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendInvoice()

sendInvoice(\TgBotApi\BotApiBase\Method\SendInvoiceMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendLocation()

sendLocation(\TgBotApi\BotApiBase\Method\SendLocationMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendMediaGroup()

sendMediaGroup(\TgBotApi\BotApiBase\Method\SendMediaGroupMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\MessageType>

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

array<mixed,\TgBotApi\BotApiBase\Type\MessageType>

sendMessage()

sendMessage(\TgBotApi\BotApiBase\Method\SendMessageMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendPhoto()

sendPhoto(\TgBotApi\BotApiBase\Method\SendPhotoMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendPoll()

sendPoll(\TgBotApi\BotApiBase\Method\SendPollMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendSticker()

sendSticker(\TgBotApi\BotApiBase\Method\SendStickerMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVenue()

sendVenue(\TgBotApi\BotApiBase\Method\SendVenueMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVideo()

sendVideo(\TgBotApi\BotApiBase\Method\SendVideoMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVideoNote()

sendVideoNote(\TgBotApi\BotApiBase\Method\SendVideoNoteMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVoice()

sendVoice(\TgBotApi\BotApiBase\Method\SendVoiceMethod $method) 

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException