1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 23:26:56 +01:00
MadelineProto/docs/TD_docs/methods/getPaymentForm.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

24 lines
683 B
Markdown

---
title: getPaymentForm
description: Returns invoice payment form. The method should be called when user presses inlineKeyboardButtonBuy
---
## Method: getPaymentForm
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns invoice payment form. The method should be called when user presses inlineKeyboardButtonBuy
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier of the Invoice message|
|message\_id|[int53](../types/int53.md) | Yes|Message identifier|
### Return type: [PaymentForm](../types/PaymentForm.md)