SearchChats
public struct SearchChats : Codable, Equatable, TDFunction
Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the chat list
-
Undocumented
Declaration
Swift
public typealias Result = Chats -
Query to search for. If the query is empty, returns up to 20 recently found chats
Declaration
Swift
public let query: String -
The maximum number of chats to be returned
Declaration
Swift
public let limit: Int32 -
Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the chat list
Declaration
Swift
public init(query: String, limit: Int32)Parameters
queryQuery to search for. If the query is empty, returns up to 20 recently found chats
limitThe maximum number of chats to be returned
View on GitHub
Install in Dash
SearchChats Structure Reference