Skip to content

export Interface

PollPacket ​

Properties ​

allows_multiple_answers : boolean ​

business_connection_id? : string ​

chat_id? : number ​

close_date? : number ​

correct_option_id? : number ​

explanation? : string ​

explanation_entities? : MessageEntities | MessageEntityPayload[] ​

id : string ​

is_anonymous : boolean ​

is_closed : boolean ​

message_id? : number ​

open_period? : number ​

options : PollOption[] ​

question : string ​

question_entities : MessageEntities | MessageEntityPayload[] ​

total_voter_count : number ​

type : "quiz" | "regular" ​

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.