IContactsService.

SearchUserAsync(string, int, CancellationToken) Method

Summary

Serch user or chat. By default the limit is 10.

Syntax

Task<IFound> SearchUserAsync(string query, int limit = 10, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
query string User or chat name
limit int Max result count
cancellationToken CancellationToken A cancellation token

Return Value

Type Description
Task<IFound> Found users