SearchChatsOnServer

public struct SearchChatsOnServer : Codable, Equatable, TDFunction

Searches for the specified query in the title and username of already known chats via request to the server. Returns chats in the order seen in the chat list

  • Undocumented

    Declaration

    Swift

    public typealias Result = Chats
  • Query to search for

    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 via request to the server. Returns chats in the order seen in the chat list

    Declaration

    Swift

    public init(query: String, limit: Int32)

    Parameters

    query

    Query to search for

    limit

    The maximum number of chats to be returned