PollVoteEvent

@objc(SBDPollVoteEvent)
public 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

    @objc
    public let pollId: Int64
  • Updated poll options

    Declaration

    Swift

    @objc
    public let updatedVoteCounts: [UpdatedVoteCount]
  • Timestamp for this vote event

    Declaration

    Swift

    @objc
    public let timestamp: Int64
  • Message ID associated with poll

    Declaration

    Swift

    @objc
    public let messageId: Int64
  • current user’s voted option to have Poll object updated

    Declaration

    Swift

    @objc
    public let votedOptionIds: [Int64]