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>InputBotInlineResult_

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

An inline bot result

Constructors

new
InputBotInlineResult_(params: { id: string; type: string; title?: string; description?: string; url?: string; thumb?: enums.InputWebDocument; content?: enums.InputWebDocument; send_message: enums.InputBotInlineMessage; })

Properties

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

Result contents

optional
description: string

Result description

id: string

ID of result

send_message: enums.InputBotInlineMessage

Message to send when the result is selected

optional
thumb: enums.InputWebDocument

Thumbnail for result

optional
title: string

Result title

type: string

Result type (see bot API docs)

optional
url: string

URL of result

Static Properties

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