Class GuildWelcomeScreenImpl
java.lang.Object
net.dv8tion.jda.internal.entities.GuildWelcomeScreenImpl
- All Implemented Interfaces:
GuildWelcomeScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
POJO for the recommended channels information provided by a welcome screen.Nested classes/interfaces inherited from interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
GuildWelcomeScreen.Channel
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.entities.GuildWelcomeScreen
MAX_DESCRIPTION_LENGTH, MAX_WELCOME_CHANNELS
-
Constructor Summary
ConstructorsConstructorDescriptionGuildWelcomeScreenImpl
(Guild guild, String description, List<GuildWelcomeScreen.Channel> channels) -
Method Summary
-
Constructor Details
-
GuildWelcomeScreenImpl
-
-
Method Details
-
getGuild
Description copied from interface:GuildWelcomeScreen
- Specified by:
getGuild
in interfaceGuildWelcomeScreen
- Returns:
- The Guild, or
null
-
getManager
Description copied from interface:GuildWelcomeScreen
Returns theManager
for this guild's welcome screen.- Specified by:
getManager
in interfaceGuildWelcomeScreen
- Returns:
- The GuildWelcomeScreenManager for this guild's welcome screen
- See Also:
-
getDescription
Description copied from interface:GuildWelcomeScreen
The server description shown in the welcome screen.
This will benull
if the welcome screen has no description.- Specified by:
getDescription
in interfaceGuildWelcomeScreen
- Returns:
- The server description shown in the welcome screen or
null
-
getChannels
Description copied from interface:GuildWelcomeScreen
The channels shown in the welcome screen.- Specified by:
getChannels
in interfaceGuildWelcomeScreen
- Returns:
- Possibly-empty, unmodifiable list of the channels shown in the welcome screen
-