Table of Contents

Method Equals

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Equals(object?)

Checks whether this DiscordMessage is equal to another object.

public override bool Equals(object? obj)

Parameters

obj object

Object to compare to.

Returns

bool

Whether the object is equal to this DiscordMessage.

Equals(DiscordMessage?)

Checks whether this DiscordMessage is equal to another DiscordMessage.

public bool Equals(DiscordMessage? e)

Parameters

e DiscordMessage

DiscordMessage to compare to.

Returns

bool

Whether the DiscordMessage is equal to this DiscordMessage.