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

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

An invoice

Constructors

new
InputBotInlineMessageMediaInvoice_(params: { title: string; description: string; photo?: enums.InputWebDocument; invoice: enums.Invoice; payload: Uint8Array; provider: string; provider_data: enums.DataJSON; reply_markup?: enums.ReplyMarkup; })

Properties

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

Product description, 1-255 characters

invoice: enums.Invoice

The invoice

payload: Uint8Array

Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.

optional
photo: enums.InputWebDocument

Invoice photo

provider: string

Payments provider token, obtained via Botfather

provider_data: enums.DataJSON

A JSON-serialized object for data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.

optional
reply_markup: enums.ReplyMarkup

Inline keyboard

title: string

Product name, 1-32 characters

Static Properties

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