Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias SendPoll
import { type SendPoll } from "https://deno.land/x/telegram_bot_api@0.4.0/src/types/common/methods.ts";
definition: (params: { chat_id: number | string; question: string; options: string[]; is_anonymous?: boolean; type?: string; allows_multiple_answers?: boolean; correct_option_id?: number; explanation?: string; explanation_parse_mode?: string; explanation_entities?: MessageEntity[]; open_period?: number; close_date?: number; is_closed?: boolean; disable_notification?: boolean; reply_to_message_id?: number; allow_sending_without_reply?: boolean; reply_markup?: ; }) => Promise<Message>