SendCustomRequest
public struct SendCustomRequest : Codable, Equatable, TDFunction
Sends a custom request; for bots only
-
Undocumented
Declaration
Swift
public typealias Result = CustomRequestResult -
The method name
Declaration
Swift
public let method: String -
JSON-serialized method parameters
Declaration
Swift
public let parameters: String -
Sends a custom request; for bots only
Declaration
Swift
public init(method: String, parameters: String)Parameters
methodThe method name
parametersJSON-serialized method parameters
View on GitHub
Install in Dash
SendCustomRequest Structure Reference