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

x/mtkruto/tl/2_types.ts>BotInlineResult_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class BotInlineResult_
import { BotInlineResult_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Generic result

Constructors

new
BotInlineResult_(params: { id: string; type: string; title?: string; description?: string; url?: string; thumb?: enums.WebDocument; content?: enums.WebDocument; send_message: enums.BotInlineMessage; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
content: enums.WebDocument

Content of the result

optional
description: string

Result description

id: string

Result ID

send_message: enums.BotInlineMessage

Message to send

optional
thumb: enums.WebDocument

Thumbnail for the result

optional
title: string

Result title

type: string

Result type (see bot API docs)

optional
url: string

URL of article or webpage

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc