Skip to content

Type Alias: ChannelMessagePollUpdatedEvent ​

ts
type ChannelMessagePollUpdatedEvent = object;

Defined in: types/socket.ts:487

A poll's tallies changed, or it was ended early. Counts only, never who chose what: myOptionIds is added only to the copy sent to the voter's own devices, so their other windows show what they picked.

Properties ​

channelId ​

ts
channelId: number;

Defined in: types/socket.ts:488


endsAt ​

ts
endsAt: string;

Defined in: types/socket.ts:492


messageId ​

ts
messageId: number;

Defined in: types/socket.ts:489


myOptionIds? ​

ts
optional myOptionIds?: number[];

Defined in: types/socket.ts:493


options ​

ts
options: object[];

Defined in: types/socket.ts:490

id ​

ts
id: number;

votes ​

ts
votes: number;

totalVoters ​

ts
totalVoters: number;

Defined in: types/socket.ts:491

Released under the GNU Affero General Public License v3.0.