Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#answerPreCheckoutQuery

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.answerPreCheckoutQuery
import { Client } from "https://deno.land/x/mtkruto@0.6.3/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.

optional
params: AnswerPreCheckoutQueryParams

Returns

Promise<void>