Class SendInvoiceMethod.
see | |
---|---|
package | Default |
create(integer|string $chatId, \TgBotApi\BotApiBase\Method\string $title, \TgBotApi\BotApiBase\Method\string $description, \TgBotApi\BotApiBase\Method\string $payload, \TgBotApi\BotApiBase\Method\string $providerToken, \TgBotApi\BotApiBase\Method\string $startParameter, \TgBotApi\BotApiBase\Method\string $currency, array<mixed,\TgBotApi\BotApiBase\Type\LabeledPriceType> $prices, array $data = null
)
integer
string
array<mixed,\TgBotApi\BotApiBase\Type\LabeledPriceType>
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$allowSendingWithoutReply : boolean | null
$currency : string
$description : string
$disableNotification : boolean | null
$isFlexible : boolean | null
$needEmail : boolean | null
$needName : boolean | null
$needPhoneNumber : boolean | null
$needShippingAddress : boolean | null
$payload : string
This will not be displayed to the user, use for your internal processes.
$photoHeight : integer | null
$photoSize : integer | null
$photoUrl : string | null
Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.
$photoWidth : integer | null
$prices : array<mixed,\TgBotApi\BotApiBase\Type\LabeledPriceType>
$providerData : string | null
A detailed description of required fields should be provided by the payment provider.
$providerToken : string
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | null
If not empty, the first button must be a Pay button.
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardRemoveType | \TgBotApi\BotApiBase\Type\ForceReplyType | null
$replyToMessageId : integer | null
$sendEmailToProvider : boolean | null
$sendPhoneNumberToProvider : boolean | null
$startParameter : string
$title : string