Bot API 方法

createInvoiceLink

22 个参数。必填项已标出。

参数

参数类型必填
business_connection_idString否
titleString是
descriptionString是
payloadString是
provider_tokenString否
currencyString是
pricesArray of LabeledPrice是
subscription_periodInteger否
max_tip_amountInteger否
suggested_tip_amountsArray of Integer否
provider_dataString否
photo_urlString否
photo_sizeInteger否
photo_widthInteger否
photo_heightInteger否
need_nameBoolean否
need_phone_numberBoolean否
need_emailBoolean否
need_shipping_addressBoolean否
send_phone_number_to_providerBoolean否
send_email_to_providerBoolean否
is_flexibleBoolean否

相关方法

按共同参数计算——原始文档没有这种视角。

方法的说明在 Telegram: 原始文档 · 完整参考