Table of Contents

Operator operator ==

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

operator ==(DiscordMessage?, DiscordMessage?)

Gets whether the two DiscordMessage objects are equal.

public static bool operator ==(DiscordMessage? e1, DiscordMessage? e2)

Parameters

e1 DiscordMessage

First message to compare.

e2 DiscordMessage

Second message to compare.

Returns

bool

Whether the two messages are equal.