IMessagesService.

GetMessagesAsync(IReadOnlyList<IInputMessage>, CancellationToken) Method

Summary

Returns the list of messages by their IDs.

Syntax

Task<IMessages> GetMessagesAsync(IReadOnlyList<IInputMessage> inputMessages, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
inputMessages IReadOnlyList<IInputMessage> messages
cancellationToken CancellationToken Cancellation token

Return Value

Type Description
Task<IMessages> Object contains list of messages