ReadReceiptHandler<TState> Delegate

Definition

Function for handling read receipt events.

C#
public delegate System.Threading.Tasks.Task ReadReceiptHandler<TState>(ITurnContext turnContext, TState turnState, ReadReceiptInfo data, CancellationToken cancellationToken) where TState : TurnState;

Type Parameters

TState

Type of the turn state. This allows for strongly typed access to the turn state.

Parameters

turnContext
ITurnContext

A strongly-typed context object for this turn.

turnState
TState

The turn state object that stores arbitrary data for this turn.

data
ReadReceiptInfo

The read receipt data.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Applies to

Producto Versiones
Microsoft Teams Framework .NET SDK Latest