Table of Contents

Class EmbedFooterBuilder

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

A builder for creating embed footers with validation. Based on Fluxer.Net's EmbedFooterBuilder implementation.

public class EmbedFooterBuilder
Inheritance
object
EmbedFooterBuilder

Properties

IconUrl

Gets or sets the icon URL of the footer.

public string? IconUrl { get; set; }

Property Value

string

MaxFooterTextLength

Maximum length of the footer text.

public static int MaxFooterTextLength { get; }

Property Value

int

Text

Gets or sets the text of the footer.

public string? Text { get; set; }

Property Value

string

Exceptions

ArgumentException

Text length exceeds MaxFooterTextLength.

Methods

Build()

Builds the embed footer.

public EmbedFooterRequest Build()

Returns

EmbedFooterRequest

A new Fluxer.Net.EmbedFooterJson object.

WithIconUrl(string)

Sets the icon URL of the footer.

public EmbedFooterBuilder WithIconUrl(string iconUrl)

Parameters

iconUrl string

The icon URL to set.

Returns

EmbedFooterBuilder

The current builder.

WithText(string)

Sets the text of the footer.

public EmbedFooterBuilder WithText(string text)

Parameters

text string

The text to set.

Returns

EmbedFooterBuilder

The current builder.