Class DiscordFollowupMessageBuilder
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Constructs a followup message to an interaction.
public sealed class DiscordFollowupMessageBuilder
- Inheritance
-
DiscordFollowupMessageBuilder
- Inherited Members
Properties
- Attachments
Attachments to be send with this followup request.
- Components
Components to send on this followup message.
- Content
Message to send on followup message.
- Embeds
Embeds to send on followup message.
- EmbedsSuppressed
Whether to suppress embeds.
- Files
Files to send on this followup message.
- IsEphemeral
Whether this followup message should be ephemeral.
- IsTts
Whether this followup message is text-to-speech.
- Mentions
Mentions to send on this followup message.
- NotificationsSuppressed
Whether to send as silent message.
- Poll
Gets the poll for this message.
Methods
- AddComponents(params DiscordComponent[])
Appends a collection of components to the message.
- AddComponents(IEnumerable<DiscordActionRowComponent>)
Appends several rows of components to the message
- AddComponents(IEnumerable<DiscordComponent>)
Appends a collection of components to the message.
- AddEmbed(DiscordEmbed)
Adds an embed to the followup message.
- AddEmbeds(IEnumerable<DiscordEmbed>)
Adds the given embeds to the followup message.
- AddFile(FileStream, bool, string)
Sets if the message has files to be sent.
- AddFile(string, Stream, bool, string)
Adds a file to the followup message.
- AddFiles(Dictionary<string, Stream>, bool)
Adds the given files to the followup message.
- AddMention(IMention)
Adds the mention to the mentions to parse, etc. with the followup message.
- AddMentions(IEnumerable<IMention>)
Adds the mentions to the mentions to parse, etc. with the followup message.
- AsEphemeral()
Sets the followup message to be ephemeral.
- AsSilentMessage()
Sets the followup message to be send as silent message.
- Clear()
Allows for clearing the Followup Message builder so that it can be used again to send a new message.
- ClearComponents()
Clears all message components on this builder.
- ClearPoll()
Clears the poll from this builder.
- SuppressEmbeds()
Sets the followup message to suppress embeds.
- WithContent(string)
Sets the message to send with the followup message.
- WithPoll(DiscordPollBuilder)
Adds a poll to this builder.
- WithTts(bool)
Indicates if the followup message must use text-to-speech.