PollRetrievalParams

@objc(SBDPollRetrievalParams)
public final class PollRetrievalParams : NSObject
extension PollRetrievalParams: Encodable

An object contains set of options to retrieve Poll object

Since

4.1.0
  • URL of the channel containing the poll

    Declaration

    Swift

    @objc
    public var channelURL: String?
  • Type of the channel where the poll exists in

    Declaration

    Swift

    @objc
    public var channelType: ChannelType
  • Poll ID

    Declaration

    Swift

    @objc
    public var pollId: Int64
  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance