Methods
call()
call(\TgBotApi\BotApiBase\Method\Interfaces\MethodInterface $method, $type = null
) : mixed
Parameters
$method
$type
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
mixed
getChat()
getChat(\TgBotApi\BotApiBase\Method\GetChatMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
getChatAdministrators()
getChatAdministrators(\TgBotApi\BotApiBase\Method\GetChatAdministratorsMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\ChatMemberType>
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
array<mixed,\TgBotApi\BotApiBase\Type\ChatMemberType>
getChatMember()
getChatMember(\TgBotApi\BotApiBase\Method\GetChatMemberMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
getChatMembersCount()
getChatMembersCount(\TgBotApi\BotApiBase\Method\GetChatMembersCountMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
getFile()
getFile(\TgBotApi\BotApiBase\Method\GetFileMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
getGameHighScores()
getGameHighScores(\TgBotApi\BotApiBase\Method\GetGameHighScoresMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\GameHighScoreType>
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
array<mixed,\TgBotApi\BotApiBase\Type\GameHighScoreType>
getMe()
getMe(\TgBotApi\BotApiBase\Method\GetMeMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
getMyCommands()
getMyCommands(\TgBotApi\BotApiBase\Method\GetMyCommandsMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\BotCommandType>
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
array<mixed,\TgBotApi\BotApiBase\Type\BotCommandType>
getStickerSet()
getStickerSet(\TgBotApi\BotApiBase\Method\GetStickerSetMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
getUpdates()
getUpdates(\TgBotApi\BotApiBase\Method\GetUpdatesMethod $method) : array<mixed,\TgBotApi\BotApiBase\Type\UpdateType>
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
array<mixed,\TgBotApi\BotApiBase\Type\UpdateType>
getUserProfilePhotos()
getUserProfilePhotos(\TgBotApi\BotApiBase\Method\GetUserProfilePhotosMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
getWebhookInfo()
getWebhookInfo(\TgBotApi\BotApiBase\Method\GetWebhookInfoMethod $method)
Parameters
$method
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|