libtd-ktx / kotlinx.telegram.coroutines / getPaymentForm
getPaymentForm
suspend fun TelegramFlow.getPaymentForm(chatId: Long, messageId: 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.
messageId - Message identifier.
Return PaymentForm Contains information about an invoice payment form.