IMessagesService.

GetChatsAsync(IReadOnlyList<int>, CancellationToken) Method

Summary

Returns chat basic info on their IDs.

Syntax

Task<IChats> GetChatsAsync(IReadOnlyList<int> ids, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
ids IReadOnlyList<int> Identifiers of chats
cancellationToken CancellationToken Cancellation token

Return Value

Type Description
Task<IChats> Object contains list of chats with auxiliary data.