libtd-ktx / kotlinx.telegram.extensions / ChatKtx / getPaymentForm
getPaymentForm
open suspend fun
Chat
.getPaymentForm(messageId:
Long
):
PaymentForm
Suspend function, which returns an invoice payment form. This method should be called when the user presses inlineKeyboardButtonBuy.
Parameters
messageId
- Message identifier.
Return TdApi.PaymentForm Contains information about an invoice payment form.