Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>messages_sendInlineBotResult_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_sendInlineBotResult_
extends Function_<enums.Updates>
import { messages_sendInlineBotResult_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Send a result obtained using messages.getInlineBotResults.

Constructors

new
messages_sendInlineBotResult_(params: { silent?: true; background?: true; clear_draft?: true; hide_via?: true; peer: enums.InputPeer; reply_to?: enums.InputReplyTo; random_id: bigint; query_id: bigint; id: string; schedule_date?: number; send_as?: enums.InputPeer; quick_reply_shortcut?: enums.InputQuickReplyShortcut; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
background: true

Whether to send the message in background

optional
clear_draft: true

Whether to clear the draft

optional
hide_via: true

Whether to hide the via @botname in the resulting message (only for bot usernames encountered in the config)

id: string
peer: enums.InputPeer

Destination

query_id: bigint
optional
quick_reply_shortcut: enums.InputQuickReplyShortcut
random_id: bigint

Random ID to avoid resending the same query

optional
reply_to: enums.InputReplyTo

If set, indicates that the message should be sent in reply to the specified message or story.

optional
schedule_date: number

Scheduled message date for scheduled messages

optional
send_as: enums.InputPeer

Send this message as the specified peer

optional
silent: true

Whether to send the message silently (no notification will be triggered on the other client)

Static Properties

__F: (params: { silent?: true; background?: true; clear_draft?: true; hide_via?: true; peer: enums.InputPeer; reply_to?: enums.InputReplyTo; random_id: bigint; query_id: bigint; id: string; schedule_date?: number; send_as?: enums.InputPeer; quick_reply_shortcut?: enums.InputQuickReplyShortcut; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc