Summary
Confirms that a client has received messages and cancels push notifications
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- IMessagesService
Syntax
Task<IReadOnlyList<IReceivedNotifyMessage>> ReceivedMessagesAsync(int maxId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Name | Type | Description |
---|---|---|
maxId | int | Maximum message ID available in a client. |
cancellationToken | CancellationToken | Cancellation token |
Return Value
Type | Description |
---|---|
Task |
Notifications |