Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
method Api.prototype.savePreparedInlineMessage
import { Api } from "https://deno.land/x/grammy@v1.32.0/mod.ts";

Stores a message that can be sent by a user of a Mini App. Returns a PreparedInlineMessage object.

Parameters

user_id: number

Unique identifier of the target user that can use the prepared message

An object describing the message to be sent

optional
other: Other<R, "savePreparedInlineMessage", "user_id" | "result">

Optional remaining parameters, confer the official reference below

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#savepreparedinlinemessage