PollVoteEvent
public final class PollVoteEvent: NSObject, Decodable, SBCommand
Represents a vote event on a poll
Since
4.1.0-
Poll ID associated with this vote event
Declaration
Swift
public let pollId: Int64
-
Updated poll options
Declaration
Swift
public let updatedVoteCounts: [UpdatedVoteCount]
-
Timestamp for this vote event
Declaration
Swift
public let timestamp: Int64
-
Message ID associated with poll
Declaration
Swift
public let messageId: Int64
-
current user’s voted option to have Poll object updated
Declaration
Swift
public let votedOptionIds: [Int64]
-
Declaration
Swift
required public init(from decoder: Decoder) throws