Summary
Serch user or chat. By default the limit is 10.
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- IContactsService
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 |
Found users |