MadelineProto/docs/TD_docs/methods/getPaymentForm.md

24 lines
683 B
Markdown
Raw Normal View History

2017-08-25 15:05:53 +02:00
---
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 |
|----------|---------------|----------|-------------|
2017-09-29 15:50:59 +02:00
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier of the Invoice message|
2017-08-25 15:05:53 +02:00
|message\_id|[int53](../types/int53.md) | Yes|Message identifier|
### Return type: [PaymentForm](../types/PaymentForm.md)