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
objectObject 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
DiscordMessageDiscordMessage to compare to.
Returns
- bool
Whether the DiscordMessage is equal to this DiscordMessage.