Class ReplyMessageProperties
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class ReplyMessageProperties : IMessageProperties
- Inheritance
-
ReplyMessageProperties
- Implements
-
- Inherited Members
-
Constructors
ReplyMessageProperties()
public ReplyMessageProperties()
Properties
AllowedMentions
public AllowedMentionsProperties? AllowedMentions { get; set; }
Property Value
- AllowedMentionsProperties
Attachments
public IEnumerable<AttachmentProperties>? Attachments { get; set; }
Property Value
- IEnumerable<AttachmentProperties>
Components
public IEnumerable<ComponentProperties>? Components { get; set; }
Property Value
- IEnumerable<ComponentProperties>
Content
public string? Content { get; set; }
Property Value
- string
Embeds
public IEnumerable<EmbedProperties>? Embeds { get; set; }
Property Value
- IEnumerable<EmbedProperties>
FailIfNotExists
public bool? FailIfNotExists { get; set; }
Property Value
- bool?
Flags
public MessageFlags? Flags { get; set; }
Property Value
- MessageFlags?
Nonce
public NonceProperties? Nonce { get; set; }
Property Value
- NonceProperties
Poll
public MessagePollProperties? Poll { get; set; }
Property Value
- MessagePollProperties
StickerIds
public IEnumerable<ulong>? StickerIds { get; set; }
Property Value
- IEnumerable<ulong>
Tts
public bool Tts { get; set; }
Property Value
- bool
Methods
AddAttachments(params AttachmentProperties[])
public ReplyMessageProperties AddAttachments(params AttachmentProperties[] attachments)
Parameters
attachments
AttachmentProperties[]
Returns
- ReplyMessageProperties
AddAttachments(IEnumerable<AttachmentProperties>)
public ReplyMessageProperties AddAttachments(IEnumerable<AttachmentProperties> attachments)
Parameters
attachments
IEnumerable<AttachmentProperties>
Returns
- ReplyMessageProperties
AddComponents(params ComponentProperties[])
public ReplyMessageProperties AddComponents(params ComponentProperties[] components)
Parameters
components
ComponentProperties[]
Returns
- ReplyMessageProperties
AddComponents(IEnumerable<ComponentProperties>)
public ReplyMessageProperties AddComponents(IEnumerable<ComponentProperties> components)
Parameters
components
IEnumerable<ComponentProperties>
Returns
- ReplyMessageProperties
AddEmbeds(params EmbedProperties[])
public ReplyMessageProperties AddEmbeds(params EmbedProperties[] embeds)
Parameters
embeds
EmbedProperties[]
Returns
- ReplyMessageProperties
AddEmbeds(IEnumerable<EmbedProperties>)
public ReplyMessageProperties AddEmbeds(IEnumerable<EmbedProperties> embeds)
Parameters
embeds
IEnumerable<EmbedProperties>
Returns
- ReplyMessageProperties
AddStickerIds(IEnumerable<ulong>)
public ReplyMessageProperties AddStickerIds(IEnumerable<ulong> stickerIds)
Parameters
stickerIds
IEnumerable<ulong>
Returns
- ReplyMessageProperties
AddStickerIds(params ulong[])
public ReplyMessageProperties AddStickerIds(params ulong[] stickerIds)
Parameters
stickerIds
ulong[]
Returns
- ReplyMessageProperties
ToMessageProperties(ulong)
public MessageProperties ToMessageProperties(ulong messageReferenceId)
Parameters
messageReferenceId
ulong
Returns
- MessageProperties
WithAllowedMentions(AllowedMentionsProperties?)
public ReplyMessageProperties WithAllowedMentions(AllowedMentionsProperties? allowedMentions)
Parameters
allowedMentions
AllowedMentionsProperties
Returns
- ReplyMessageProperties
WithAttachments(IEnumerable<AttachmentProperties>?)
public ReplyMessageProperties WithAttachments(IEnumerable<AttachmentProperties>? attachments)
Parameters
attachments
IEnumerable<AttachmentProperties>
Returns
- ReplyMessageProperties
WithComponents(IEnumerable<ComponentProperties>?)
public ReplyMessageProperties WithComponents(IEnumerable<ComponentProperties>? components)
Parameters
components
IEnumerable<ComponentProperties>
Returns
- ReplyMessageProperties
WithContent(string?)
public ReplyMessageProperties WithContent(string? content)
Parameters
content
string
Returns
- ReplyMessageProperties
WithEmbeds(IEnumerable<EmbedProperties>?)
public ReplyMessageProperties WithEmbeds(IEnumerable<EmbedProperties>? embeds)
Parameters
embeds
IEnumerable<EmbedProperties>
Returns
- ReplyMessageProperties
WithFailIfNotExists(bool?)
public ReplyMessageProperties WithFailIfNotExists(bool? failIfNotExists = true)
Parameters
failIfNotExists
bool?
Returns
- ReplyMessageProperties
WithFlags(MessageFlags?)
public ReplyMessageProperties WithFlags(MessageFlags? flags)
Parameters
flags
MessageFlags?
Returns
- ReplyMessageProperties
WithNonce(NonceProperties?)
public ReplyMessageProperties WithNonce(NonceProperties? nonce)
Parameters
nonce
NonceProperties
Returns
- ReplyMessageProperties
WithPoll(MessagePollProperties?)
public ReplyMessageProperties WithPoll(MessagePollProperties? poll)
Parameters
poll
MessagePollProperties
Returns
- ReplyMessageProperties
WithStickerIds(IEnumerable<ulong>?)
public ReplyMessageProperties WithStickerIds(IEnumerable<ulong>? stickerIds)
Parameters
stickerIds
IEnumerable<ulong>
Returns
- ReplyMessageProperties
WithTts(bool)
public ReplyMessageProperties WithTts(bool tts = true)
Parameters
tts
bool
Returns
- ReplyMessageProperties
Operators
implicit operator ReplyMessageProperties(string)
public static implicit operator ReplyMessageProperties(string content)
Parameters
content
string
Returns
- ReplyMessageProperties