IMessagesService.

ReadMessageContentsAsync(IReadOnlyList<int>, CancellationToken) Method

Summary

Notifies the sender about the recipient having listened a voice message or watched a video.

Syntax

Task<IAffectedMessages> ReadMessageContentsAsync(IReadOnlyList<int> ids, CancellationToken cancellationToken = default(CancellationToken))

Parameters

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

Return Value

Type Description
Task<IAffectedMessages> Returns a IAffectedMessages object containing a affected messages