IMessagesService.

GetUserDialogsAsync(int, CancellationToken) Method

Summary

Returns a list of the current user’s conversations

Syntax

Task<IDialogs> GetUserDialogsAsync(int limit = 100, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
limit int Number of list elements to be returned
cancellationToken CancellationToken Cancellation token

Return Value

Type Description
Task<IDialogs> Dialogs