Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias SendInvoice
import { type SendInvoice } from "https://deno.land/x/telegram_bot_api@0.4.0/src/types/payments/methods.ts";
definition: (params: { chat_id: number; title: string; description: string; payload: string; provider_token: string; start_parameter: string; currency: string; prices: LabeledPrice[]; provider_data?: string; photo_url?: string; photo_size?: number; photo_width?: number; photo_height?: number; need_name?: boolean; need_phone_number?: boolean; need_email?: boolean; need_shipping_address?: boolean; send_phone_number_to_provider?: boolean; send_email_to_provider?: boolean; is_flexible?: boolean; disable_notification?: boolean; reply_to_message_id?: number; allow_sending_without_reply?: boolean; reply_markup?: InlineKeyboardMarkup; }) => Promise<Message>