Class AnswerShippingQueryMethod.
see | |
---|---|
package | Default |
addShippingOption(\TgBotApi\BotApiBase\Type\ShippingOption $shippingOption)
\TgBotApi\BotApiBase\Type\ShippingOption
createFail(string $shippingQueryId, string $errorMessage) : \TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod
string
string
\TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod
createSuccess(string $shippingQueryId, array $shippingOptions) : \TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod
string
array
\TgBotApi\BotApiBase\Method\AnswerShippingQueryMethod
$errorMessage : string | null
Error message in human readable form that explains why it is impossible to complete the order (e.g. "Sorry, delivery to your desired address is unavailable'). Telegram will display this message to the user.
$ok : boolean
$shippingOptions : array<mixed,\TgBotApi\BotApiBase\Type\ShippingOption> | null
$shippingQueryId : string