PollRetrievalParams
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
public var channelURL: String?
-
Type of the channel where the poll exists in
Declaration
Swift
public var channelType: ChannelType = .group
-
Poll ID
Declaration
Swift
public var pollId: Int64 = 0
-
Encodes this object.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder
instance