PollClosedEvent

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

Triggered when a poll is closed.

Constructors

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

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
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 PollClosedEvent.processPoll(getOldPoll: (String) -> Poll?): Poll