Interface IMessageProperties
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public interface IMessageProperties
Properties
AllowedMentions
AllowedMentionsProperties? AllowedMentions { get; set; }
Property Value
- AllowedMentionsProperties
Attachments
IEnumerable<AttachmentProperties>? Attachments { get; set; }
Property Value
- IEnumerable<AttachmentProperties>
Components
IEnumerable<ComponentProperties>? Components { get; set; }
Property Value
- IEnumerable<ComponentProperties>
Content
string? Content { get; set; }
Property Value
- string
Embeds
IEnumerable<EmbedProperties>? Embeds { get; set; }
Property Value
- IEnumerable<EmbedProperties>
Flags
MessageFlags? Flags { get; set; }
Property Value
- MessageFlags?
Methods
AddAttachments(params AttachmentProperties[])
IMessageProperties AddAttachments(params AttachmentProperties[] attachments)
Parameters
attachments
AttachmentProperties[]
Returns
- IMessageProperties
AddAttachments(IEnumerable<AttachmentProperties>)
IMessageProperties AddAttachments(IEnumerable<AttachmentProperties> attachments)
Parameters
attachments
IEnumerable<AttachmentProperties>
Returns
- IMessageProperties
AddComponents(params ComponentProperties[])
IMessageProperties AddComponents(params ComponentProperties[] components)
Parameters
components
ComponentProperties[]
Returns
- IMessageProperties
AddComponents(IEnumerable<ComponentProperties>)
IMessageProperties AddComponents(IEnumerable<ComponentProperties> components)
Parameters
components
IEnumerable<ComponentProperties>
Returns
- IMessageProperties
AddEmbeds(params EmbedProperties[])
IMessageProperties AddEmbeds(params EmbedProperties[] embeds)
Parameters
embeds
EmbedProperties[]
Returns
- IMessageProperties
AddEmbeds(IEnumerable<EmbedProperties>)
IMessageProperties AddEmbeds(IEnumerable<EmbedProperties> embeds)
Parameters
embeds
IEnumerable<EmbedProperties>
Returns
- IMessageProperties
WithAllowedMentions(AllowedMentionsProperties?)
IMessageProperties WithAllowedMentions(AllowedMentionsProperties? allowedMentions)
Parameters
allowedMentions
AllowedMentionsProperties
Returns
- IMessageProperties
WithAttachments(IEnumerable<AttachmentProperties>?)
IMessageProperties WithAttachments(IEnumerable<AttachmentProperties>? attachments)
Parameters
attachments
IEnumerable<AttachmentProperties>
Returns
- IMessageProperties
WithComponents(IEnumerable<ComponentProperties>?)
IMessageProperties WithComponents(IEnumerable<ComponentProperties>? components)
Parameters
components
IEnumerable<ComponentProperties>
Returns
- IMessageProperties
WithContent(string?)
IMessageProperties WithContent(string? content)
Parameters
content
string
Returns
- IMessageProperties
WithEmbeds(IEnumerable<EmbedProperties>?)
IMessageProperties WithEmbeds(IEnumerable<EmbedProperties>? embeds)
Parameters
embeds
IEnumerable<EmbedProperties>
Returns
- IMessageProperties
WithFlags(MessageFlags?)
IMessageProperties WithFlags(MessageFlags? flags)
Parameters
flags
MessageFlags?
Returns
- IMessageProperties