Skip to main content
Module

x/mtkruto/mod.ts>Client#answerPreCheckoutQuery

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.answerPreCheckoutQuery
import { Client } from "https://deno.land/x/mtkruto@0.2.24/mod.ts";

Answer a pre-checkout query. Bot-only.

Parameters

preCheckoutQueryId: string

The identifier of the pre-checkout query.

ok: boolean

Whether the checkout is going to be processed.

Returns

Promise<void>