AnswerPreCheckoutQuery
public struct AnswerPreCheckoutQuery : Codable, Equatable, TDFunction
Sets the result of a pre-checkout query; for bots only
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Identifier of the pre-checkout query
Declaration
Swift
public let preCheckoutQueryId: TDInt64
-
An error message, empty on success
Declaration
Swift
public let errorMessage: String
-
Sets the result of a pre-checkout query; for bots only
Declaration
Swift
public init(preCheckoutQueryId: TDInt64, errorMessage: String)
Parameters
preCheckoutQueryId
Identifier of the pre-checkout query
errorMessage
An error message, empty on success