Class MessageReference
Contains the IDs sent from a crossposted message.
Inheritance
System.Object
MessageReference
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class MessageReference
Properties
| Improve this Doc View SourceChannelId
Gets the Channel ID of the original message.
Declaration
public ulong ChannelId { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
GuildId
Gets the Guild ID of the original message.
Declaration
public Optional<ulong> GuildId { get; }
Property Value
| Type | Description |
|---|---|
| Optional<System.UInt64> |
MessageId
Gets the Message ID of the original message.
Declaration
public Optional<ulong> MessageId { get; }
Property Value
| Type | Description |
|---|---|
| Optional<System.UInt64> |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()