Skip to main content

Class MessageReference

Contains the IDs sent from a crossposted message or inline reply.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class MessageReference

Properties​

MessageId​

Gets the Message ID of the original message.

View Source​
Declaration
public Optional<ulong> MessageId { get; }

ChannelId​

Gets the Channel ID of the original message.

View Source​
Declaration
public ulong ChannelId { get; }

GuildId​

Gets the Guild ID of the original message.

View Source​
Declaration
public Optional<ulong> GuildId { get; }

Methods​

ToString()​

View Source​
Declaration
public override string ToString()
Returns​

System.String