Table of Contents

Method TriggerTypingAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

TriggerTypingAsync(CancellationToken)

Post a typing indicator.

public Task TriggerTypingAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task

Exceptions

NotFoundException

Thrown when the channel does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.