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