import { ErrorUnion, PaymentFormUnion } from '../outputs'; /** * Returns an invoice payment form. This method should be called when the user presses * inlineKeyboardButtonBuy * @param {Object} params * @param {number} [params.chatId] - Chat identifier of the Invoice message * @param {number} [params.messageId] - Message identifier * @param {Object} state * @returns {PaymentFormUnion | ErrorUnion} */ export declare type GetPaymentFormMethod = (params: GetPaymentFormParams, state?: Record) => Promise; export interface GetPaymentFormParams { /** Chat identifier of the Invoice message */ chatId?: number; /** Message identifier */ messageId?: number; }