VoteRemovedEvent

data class VoteRemovedEvent(val type: String, val createdAt: Date, val rawCreatedAt: String?, val cid: String, val channelType: String, val channelId: String, val poll: Poll, val removedVote: Vote) : CidEvent, HasPoll

Triggered when a vote is removed.

Constructors

Link copied to clipboard
constructor(type: String, createdAt: Date, rawCreatedAt: String?, cid: String, channelType: String, channelId: String, poll: Poll, removedVote: Vote)

Properties

Link copied to clipboard
open override val channelId: String
Link copied to clipboard
open override val channelType: String
Link copied to clipboard
open override val cid: String
Link copied to clipboard
open override val createdAt: Date
Link copied to clipboard
open override val poll: Poll
Link copied to clipboard
open override val rawCreatedAt: String?
Link copied to clipboard
Link copied to clipboard
open override val type: String

Inherited properties

Link copied to clipboard
val seq: Int

Inherited functions

Link copied to clipboard
Link copied to clipboard
fun VoteRemovedEvent.processPoll(getOldPoll: (String) -> Poll?): Poll