• Answer a pre-checkout query.

    Parameters

    • client: ITelegramClient
    • queryId: Long | PreCheckoutQuery

      Pre-checkout query ID

    • Optionalparams: { error?: string }
      • Optionalerror?: string

        If pre-checkout is rejected, error message to show to the user

    Returns Promise<void>