AnswerCustomQuery
public struct AnswerCustomQuery : Codable, Equatable, TDFunction
Answers a custom query; for bots only
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
Identifier of a custom query
Declaration
Swift
public let customQueryId: TDInt64 -
JSON-serialized answer to the query
Declaration
Swift
public let data: String -
Answers a custom query; for bots only
Declaration
Swift
public init(customQueryId: TDInt64, data: String)Parameters
customQueryIdIdentifier of a custom query
dataJSON-serialized answer to the query
View on GitHub
Install in Dash
AnswerCustomQuery Structure Reference