Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.ts>MessageContentInvoice

Cross-runtime JavaScript library for building Telegram clients
Latest
interface MessageContentInvoice
import { type MessageContentInvoice } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

Properties

type: "invoice"
title: string
description: string
payload: string
providerToken: string
currency: string
prices: PriceTag[]
optional
maxTipAmount: number
optional
suggestedTipAmounts: number[]
optional
providerData: string
optional
photoUrl: string
optional
photoSize: number
optional
photoWidth: number
optional
photoHeight: number
optional
needName: boolean
optional
needPhoneNumber: boolean
optional
needEmail: boolean
optional
needShippingAAddress: boolean
optional
sendPhoneNumberToPorvider: boolean
optional
sendEmailToProvider: boolean
optional
isFlexible: boolean