PollOptionRetrievalParams
public final class PollOptionRetrievalParams: NSObject
extension PollOptionRetrievalParams: Encodable
An object that retrieves a specific poll option.
Since
4.1.0-
Poll ID
Declaration
Swift
public var pollId: Int64 = 0
-
Poll option ID
Declaration
Swift
public var pollOptionId: Int64 = 0
-
Type of the channel where the poll exists in
Declaration
Swift
public var channelType: ChannelType = .group
-
URL of the channel containing the poll
Declaration
Swift
public var channelURL: String = ""
-
Undocumented
Declaration
Swift
public override init()
-
Undocumented
Declaration
Swift
public init(builder: (PollOptionRetrievalParams) -> Void)
-
Encodes this object.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder
instance