Summary
Returns chat basic info on their IDs.
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- IMessagesService
Syntax
Task<IChats> GetChatsAsync(IReadOnlyList<int> ids, CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Name | Type | Description |
|---|---|---|
| ids | IReadOnlyList |
Identifiers of chats |
| cancellationToken | CancellationToken | Cancellation token |
Return Value
| Type | Description |
|---|---|
| Task |
Object contains list of chats with auxiliary data. |