Class BotApiComplete.

package Default
inherited_from \TgBotApi\BotApiBase\BotApi

 Methods

__construct()

__construct(\TgBotApi\BotApiBase\string $botKey, \TgBotApi\BotApiBase\ApiClientInterface $apiClient, \TgBotApi\BotApiBase\NormalizerInterface $normalizer, \TgBotApi\BotApiBase\string $endPoint = 'https://api.telegram.org'
Inherited

Parameters

$botKey

$apiClient

$normalizer

$endPoint

add()

add(\TgBotApi\BotApiBase\Method\Interfaces\AddMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\AddMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

addStickerToSet()

addStickerToSet(\TgBotApi\BotApiBase\Method\AddStickerToSetMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\AddStickerToSetMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

answer()

answer(\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

answerCallbackQuery()

answerCallbackQuery(\TgBotApi\BotApiBase\Method\AnswerCallbackQueryMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\AnswerCallbackQueryMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

answerInlineQuery()

answerInlineQuery(\TgBotApi\BotApiBase\Method\AnswerInlineQueryMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\AnswerInlineQueryMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

answerPreCheckoutQuery()

answerPreCheckoutQuery(\TgBotApi\BotApiBase\Method\AnswerPreCheckoutQueryMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\AnswerPreCheckoutQueryMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

answerShippingQuery()

answerShippingQuery(\TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

call()

call(\TgBotApi\BotApiBase\Method\Interfaces\MethodInterface $method, $type = null) : mixed
Inherited

Parameters

$method

$type

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

mixed

close()

close(\TgBotApi\BotApiBase\Method\CloseMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

copyMessage()

copyMessage(\TgBotApi\BotApiBase\Method\CopyMessageMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

create()

create(\TgBotApi\BotApiBase\Method\Interfaces\CreateMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\CreateMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

createNewStickerSet()

createNewStickerSet(\TgBotApi\BotApiBase\Method\CreateNewStickerSetMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\CreateNewStickerSetMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

delete()

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

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\DeleteMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteChatPhoto()

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

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteChatPhotoMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteChatStickerSet()

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

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteChatStickerSetMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteMessage()

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

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteMessageMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteStickerFromSet()

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

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteStickerFromSetMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

deleteWebhook()

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

Parameters

$method

\TgBotApi\BotApiBase\Method\DeleteWebhookMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

edit()

edit(\TgBotApi\BotApiBase\Method\Interfaces\EditMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\EditMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType| bool

editMessageCaption()

editMessageCaption(\TgBotApi\BotApiBase\Method\EditMessageCaptionMethod $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\EditMessageCaptionMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType| bool

editMessageLiveLocation()

editMessageLiveLocation(\TgBotApi\BotApiBase\Method\EditMessageLiveLocationMethod $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\EditMessageLiveLocationMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType| bool

editMessageMedia()

editMessageMedia(\TgBotApi\BotApiBase\Method\EditMessageMediaMethod $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\EditMessageMediaMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType| bool

editMessageReplyMarkup()

editMessageReplyMarkup(\TgBotApi\BotApiBase\Method\EditMessageReplyMarkupMethod $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\EditMessageReplyMarkupMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType| bool

editMessageText()

editMessageText(\TgBotApi\BotApiBase\Method\EditMessageTextMethod $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\EditMessageTextMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType| bool

forward()

forward(\TgBotApi\BotApiBase\Method\Interfaces\ForwardMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\ForwardMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType

forwardMessage()

forwardMessage(\TgBotApi\BotApiBase\Method\ForwardMessageMethod $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\ForwardMessageMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType

getAbsoluteFilePath()

getAbsoluteFilePath(\TgBotApi\BotApiBase\Type\FileType $file) 
Inherited
inherited_from \TgBotApi\BotApiBase\BotApiInterface::getAbsoluteFilePath()

Parameters

$file

getChat()

getChat(\TgBotApi\BotApiBase\Method\GetChatMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

getChatAdministrators()

getChatAdministrators(\TgBotApi\BotApiBase\Method\GetChatAdministratorsMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\ChatMemberType>
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

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

getChatMember()

getChatMember(\TgBotApi\BotApiBase\Method\GetChatMemberMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

getChatMembersCount()

getChatMembersCount(\TgBotApi\BotApiBase\Method\GetChatMembersCountMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

getFile()

getFile(\TgBotApi\BotApiBase\Method\GetFileMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

getGameHighScores()

getGameHighScores(\TgBotApi\BotApiBase\Method\GetGameHighScoresMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\GameHighScoreType>
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

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

getMe()

getMe(\TgBotApi\BotApiBase\Method\GetMeMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

getMyCommands()

getMyCommands(\TgBotApi\BotApiBase\Method\GetMyCommandsMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\BotCommandType>
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

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

getStickerSet()

getStickerSet(\TgBotApi\BotApiBase\Method\GetStickerSetMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

getUpdates()

getUpdates(\TgBotApi\BotApiBase\Method\GetUpdatesMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\UpdateType>
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

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

getUserProfilePhotos()

getUserProfilePhotos(\TgBotApi\BotApiBase\Method\GetUserProfilePhotosMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

getWebhookInfo()

getWebhookInfo(\TgBotApi\BotApiBase\Method\GetWebhookInfoMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

kick()

kick(\TgBotApi\BotApiBase\Method\Interfaces\KickMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\KickMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

kickChatMember()

kickChatMember(\TgBotApi\BotApiBase\Method\KickChatMemberMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\KickChatMemberMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

leave()

leave(\TgBotApi\BotApiBase\Method\Interfaces\LeaveMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\LeaveMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

leaveChat()

leaveChat(\TgBotApi\BotApiBase\Method\LeaveChatMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\LeaveChatMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

logOut()

logOut(\TgBotApi\BotApiBase\Method\LogOutMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

pin()

pin(\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

pinChatMessage()

pinChatMessage(\TgBotApi\BotApiBase\Method\PinChatMessageMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\PinChatMessageMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

promote()

promote(\TgBotApi\BotApiBase\Method\Interfaces\PromoteMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\PromoteMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

promoteChatMember()

promoteChatMember(\TgBotApi\BotApiBase\Method\PromoteChatMemberMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\PromoteChatMemberMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

restrict()

restrict(\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

restrictChatMember()

restrictChatMember(\TgBotApi\BotApiBase\Method\RestrictChatMemberMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\RestrictChatMemberMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

send()

send(\TgBotApi\BotApiBase\Method\Interfaces\SendMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\SendMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType

sendAnimation()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendAudio()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendChatAction()

sendChatAction(\TgBotApi\BotApiBase\Method\SendChatActionMethod $method) 
Inherited
inherited_from \TgBotApi\BotApiBase\BotApiInterface::sendChatAction()

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendContact()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendDice()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendDocument()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendGame()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendInvoice()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendLocation()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendMediaGroup()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

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

sendMessage()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendPhoto()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendPoll()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendSticker()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVenue()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVideo()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVideoNote()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

sendVoice()

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

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

set()

set(\TgBotApi\BotApiBase\Method\Interfaces\SetMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\SetMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

setChatAdministratorCustomTitle()

setChatAdministratorCustomTitle(\TgBotApi\BotApiBase\Method\SetChatAdministratorCustomTitleMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setChatDescription()

setChatDescription(\TgBotApi\BotApiBase\Method\SetChatDescriptionMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setChatPermissions()

setChatPermissions(\TgBotApi\BotApiBase\Method\SetChatPermissionsMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setChatPhoto()

setChatPhoto(\TgBotApi\BotApiBase\Method\SetChatPhotoMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setChatStickerSet()

setChatStickerSet(\TgBotApi\BotApiBase\Method\SetChatStickerSetMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setChatTitle()

setChatTitle(\TgBotApi\BotApiBase\Method\SetChatTitleMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setGameScore()

setGameScore(\TgBotApi\BotApiBase\Method\SetGameScoreMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setMyCommands()

setMyCommands(\TgBotApi\BotApiBase\Method\SetMyCommandsMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setPassportDataErrors()

setPassportDataErrors(\TgBotApi\BotApiBase\Method\SetPassportDataErrorsMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setStickerPositionInSet()

setStickerPositionInSet(\TgBotApi\BotApiBase\Method\SetStickerPositionInSetMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setStickerSetThumb()

setStickerSetThumb(\TgBotApi\BotApiBase\Method\SetStickerSetThumbMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

setWebhook()

setWebhook(\TgBotApi\BotApiBase\Method\SetWebhookMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

stop()

stop(\TgBotApi\BotApiBase\Method\Interfaces\StopMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\StopMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

stopMessageLiveLocation()

stopMessageLiveLocation(\TgBotApi\BotApiBase\Method\StopMessageLiveLocationMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\StopMessageLiveLocationMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

stopPoll()

stopPoll(\TgBotApi\BotApiBase\Method\StopPollMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

unban()

unban(\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

unbanChatMember()

unbanChatMember(\TgBotApi\BotApiBase\Method\UnbanChatMemberMethod $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\UnbanChatMemberMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

unpin()

unpin(\TgBotApi\BotApiBase\Method\Interfaces\UnpinMethodAliasInterface $method) : boolean
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\UnpinMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

unpinAllChatMessage()

unpinAllChatMessage(\TgBotApi\BotApiBase\Method\UnpinAllChatMessageMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

unpinChatMessage()

unpinChatMessage(\TgBotApi\BotApiBase\Method\UnpinChatMessageMethod $method) 
Inherited

Parameters

$method

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

upload()

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

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
Inherited

Parameters

$method

\TgBotApi\BotApiBase\Method\UploadStickerFileMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\FileType

getMethodName()

getMethodName($method) 
Inherited

Parameters

$method

 Properties

 

$apiClient

$apiClient : \TgBotApi\BotApiBase\ApiClientInterface

Default

 

$botKey

$botKey : string

Default

 

$endPoint

$endPoint : string

Default

 

$normalizer

$normalizer : \TgBotApi\BotApiBase\NormalizerInterface

Default