Skip to content

export Class

PollAnswer ​

extends ​

BaseClass<PollAnswer, PollAnswerPacket>

implements ​

PollAnswerPacket

Constructor ​

ts
 new PollAnswer( client, packet )
ParameterTypeDescription
clientClient
packetPollAnswerPacket

Properties ​

get id : number ​

get poll : Poll ​

get user : undefined | User ​

get voter_chat : undefined | SuperGroupChat | GroupChat | ChannelChat | PrivateChat ​

readonly client : Client ​

option_ids : number[] ​

poll_id : string ​

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