SearchContacts

public struct SearchContacts : Codable, Equatable, TDFunction

Searches for the specified query in the first names, last names and usernames of the known user contacts

  • Undocumented

    Declaration

    Swift

    public typealias Result = Users
  • Query to search for; may be empty to return all contacts

    Declaration

    Swift

    public let query: String
  • The maximum number of users to be returned

    Declaration

    Swift

    public let limit: Int32
  • Searches for the specified query in the first names, last names and usernames of the known user contacts

    Declaration

    Swift

    public init(query: String, limit: Int32)

    Parameters

    query

    Query to search for; may be empty to return all contacts

    limit

    The maximum number of users to be returned