Trait AnswerMethodTrait.
Methods
answer()
answer(\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
boolean
answerCallbackQuery()
answerCallbackQuery(\TgBotApi\BotApiBase\Method\AnswerCallbackQueryMethod $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\AnswerCallbackQueryMethod
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
boolean
answerInlineQuery()
answerInlineQuery(\TgBotApi\BotApiBase\Method\AnswerInlineQueryMethod $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\AnswerInlineQueryMethod
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
boolean
answerPreCheckoutQuery()
answerPreCheckoutQuery(\TgBotApi\BotApiBase\Method\AnswerPreCheckoutQueryMethod $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\AnswerPreCheckoutQueryMethod
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
boolean
answerShippingQuery()
answerShippingQuery(\TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException |
|
Returns
boolean