Class MessageProperties
Properties that are used to modify an Discord.IUserMessage with the specified changes.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class MessageProperties
Properties​
Content​
Gets or sets the content of the message.
View Source​
Declaration
public Optional<string> Content { get; set; }
Embed​
Gets or sets a single embed for this message.
View Source​
Declaration
public Optional<Embed> Embed { get; set; }
Embeds​
Gets or sets the embeds of the message.
View Source​
Declaration
public Optional<Embed[]> Embeds { get; set; }
Components​
Gets or sets the components for this message.
View Source​
Declaration
public Optional<MessageComponent> Components { get; set; }
Flags​
Gets or sets the flags of the message.
View Source​
Declaration
public Optional<MessageFlags?> Flags { get; set; }
AllowedMentions​
Gets or sets the allowed mentions of the message.
View Source​
Declaration
public Optional<AllowedMentions> AllowedMentions { get; set; }
Attachments​
Gets or sets the attachments for the message.
View Source​
Declaration
public Optional<IEnumerable<FileAttachment>> Attachments { get; set; }