Class DiscordMessageReference
Represents data from the original message.
Inheritance
System.Object
DiscordMessageReference
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordMessageReference
Properties
| Improve this Doc View SourceChannel
Gets the channel of the original message.
Declaration
public DiscordChannel Channel { get; }
Property Value
Type | Description |
---|---|
DiscordChannel |
Guild
Gets the guild of the original message.
Declaration
public DiscordGuild Guild { get; }
Property Value
Type | Description |
---|---|
DiscordGuild |
Message
Gets the original message.
Declaration
public DiscordMessage Message { get; }
Property Value
Type | Description |
---|---|
DiscordMessage |
Methods
| Improve this Doc View SourceToString()
Gets a readable message reference string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()