Table of Contents

Method AddThreadMemberAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddThreadMemberAsync(DiscordMember)

Adds the given DiscordMember to this thread. Requires an not archived thread and send message permissions.

public Task AddThreadMemberAsync(DiscordMember member)

Parameters

member DiscordMember

The member to add to the thread.

Returns

Task

Exceptions

UnauthorizedException

Thrown when the client does not have the SendMessages.

ServerErrorException

Thrown when Discord is unable to process the request.