diff --git a/data/web/corefork.telegram.org/api/boosts.html b/data/web/corefork.telegram.org/api/boosts.html new file mode 100644 index 0000000000..534b24527f --- /dev/null +++ b/data/web/corefork.telegram.org/api/boosts.html @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/api/payments.html b/data/web/corefork.telegram.org/api/payments.html index 6171f92aa3..59f93661b1 100644 --- a/data/web/corefork.telegram.org/api/payments.html +++ b/data/web/corefork.telegram.org/api/payments.html @@ -105,8 +105,12 @@ You can also attach an inline keyboard to the message using the reply_mark

For invoice messages, the message will also have a replyInlineMarkup keyboard attached to it. The first button of the keyboard will always be a keyboardButtonBuy button.

2.2 Getting invoice info about the product

-
inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;
+
inputStorePaymentPremiumGiveaway#7c9375e6 flags:# only_new_subscribers:flags.0?true boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose;
+inputStorePaymentPremiumGiftCode#a3805f3f flags:# users:Vector<InputUser> boost_peer:flags.0?InputPeer currency:string amount:long = InputStorePaymentPurpose;
+
+inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;
 inputInvoiceSlug#c326caef slug:string = InputInvoice;
+inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice;
 
 invoice#5db95a15 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string = Invoice;
 
@@ -130,6 +134,13 @@ The first button of the keyboard will always be a Telegram Premium payment, contains the premium_invoice_slug app config parameter »
 
 
+
  • inputInvoicePremiumGiftCode +
  • The returned form will contain fields that should be passed to the payment provider along with the full invoice. The payment form also contains info about previously saved payment credentials and order information (name, phone number, email, shipping address & so on).