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

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

Media result

Constructors

new
BotInlineMediaResult_(params: { id: string; type: string; photo?: enums.Photo; document?: enums.Document; title?: string; description?: string; send_message: enums.BotInlineMessage; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
description: string

Description

optional
document: enums.Document

If type is document, the document to send

id: string

Result ID

optional
photo: enums.Photo

If type is photo, the photo to send

send_message: enums.BotInlineMessage

Depending on the type and on the constructor, contains the caption of the media or the content of the message to be sent instead of the media

optional
title: string

Result title

type: string

Result type (see bot API docs)

Static Properties

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