Class MessageUpdateEventArgs
Represents arguments for MessageUpdated event.
Namespace: DisCatSharp.EventArgs
Assembly: DisCatSharp.dll
Syntax
public class MessageUpdateEventArgs : DiscordEventArgs
Properties
| Improve this Doc View SourceAuthor
Gets the author of the message.
Declaration
public DiscordUser Author { get; }
Property Value
Type | Description |
---|---|
DiscordUser |
Channel
Gets the channel this message belongs to.
Declaration
public DiscordChannel Channel { get; }
Property Value
Type | Description |
---|---|
DiscordChannel |
Guild
Gets the guild this message belongs to.
Declaration
public DiscordGuild Guild { get; }
Property Value
Type | Description |
---|---|
DiscordGuild |
MentionedChannels
Gets the collection of mentioned channels.
Declaration
public IReadOnlyList<DiscordChannel> MentionedChannels { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordChannel> |
MentionedRoles
Gets the collection of mentioned roles.
Declaration
public IReadOnlyList<DiscordRole> MentionedRoles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordRole> |
MentionedUsers
Gets the collection of mentioned users.
Declaration
public IReadOnlyList<DiscordUser> MentionedUsers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordUser> |
Message
Gets the message that was updated.
Declaration
public DiscordMessage Message { get; }
Property Value
Type | Description |
---|---|
DiscordMessage |
MessageBefore
Gets the message before it got updated. This property will be null if the message was not cached.
Declaration
public DiscordMessage MessageBefore { get; }
Property Value
Type | Description |
---|---|
DiscordMessage |