GetOption
public struct GetOption : Codable, Equatable, TDFunction
Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization
-
Undocumented
Declaration
Swift
public typealias Result = OptionValue -
The name of the option
Declaration
Swift
public let name: String -
Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization
Declaration
Swift
public init(name: String)Parameters
nameThe name of the option
View on GitHub
Install in Dash
GetOption Structure Reference