Table of Contents

Interface ITypingIndicatorService

Namespace
Signal.Application.Abstractions
Assembly
Signal.Application.dll

Shows and hides the "typing…" indicator.

public interface ITypingIndicatorService

Methods

StartTypingAsync(PhoneNumber, Recipient, CancellationToken)

Shows the typing indicator (PUT /v1/typing-indicator/{number}).

Task StartTypingAsync(PhoneNumber account, Recipient recipient, CancellationToken cancellationToken = default)

Parameters

account PhoneNumber

The typing account.

recipient Recipient

The conversation to show the indicator in.

cancellationToken CancellationToken

Cancels the request.

Returns

Task

A task that completes when the indicator was sent.

StopTypingAsync(PhoneNumber, Recipient, CancellationToken)

Hides the typing indicator (DELETE /v1/typing-indicator/{number}).

Task StopTypingAsync(PhoneNumber account, Recipient recipient, CancellationToken cancellationToken = default)

Parameters

account PhoneNumber

The typing account.

recipient Recipient

The conversation to hide the indicator in.

cancellationToken CancellationToken

Cancels the request.

Returns

Task

A task that completes when the indicator was sent.