CreatePrivateChat
public struct CreatePrivateChat : Codable, Equatable, TDFunction
Returns an existing chat corresponding to a given user
-
Undocumented
Declaration
Swift
public typealias Result = Chat -
User identifier
Declaration
Swift
public let userId: Int32 -
If true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect
Declaration
Swift
public let force: Bool -
Returns an existing chat corresponding to a given user
Declaration
Swift
public init(userId: Int32, force: Bool)Parameters
userIdUser identifier
forceIf true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect
View on GitHub
Install in Dash
CreatePrivateChat Structure Reference