PollOptionRetrievalParams

@objc(SBDPollOptionRetrievalParams)
public class PollOptionRetrievalParams : NSObject
extension PollOptionRetrievalParams: Encodable

An object that retrieves a specific poll option.

Since

4.1.0
  • Poll ID

    Declaration

    Swift

    @objc
    public var pollId: Int64
  • Poll option ID

    Declaration

    Swift

    @objc
    public var pollOptionId: Int64
  • Type of the channel where the poll exists in

    Declaration

    Swift

    @objc
    public var channelType: ChannelType
  • URL of the channel containing the poll

    Declaration

    Swift

    @objc
    public var channelURL: String
  • Undocumented

    Declaration

    Swift

    public override init()
  • Undocumented

    Declaration

    Swift

    @objc
    public init(builder: (PollOptionRetrievalParams) -> Void)
  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance