Package org.javacord.api.entity.channel
Interface ServerForumChannel
-
- All Superinterfaces:
Categorizable,Channel,ChannelAttachableListenerManager,ChannelSpecialization,java.lang.Comparable<RegularServerChannel>,DiscordEntity,java.util.Formattable,Mentionable,Nameable,RegularServerChannel,ServerChannel,ServerChannelAttachableListenerManager,ServerForumChannelAttachableListenerManager,Specializable<ChannelSpecialization>,Updatable,UpdatableFromCache
public interface ServerForumChannel extends RegularServerChannel, Mentionable, Categorizable, ServerForumChannelAttachableListenerManager
This class represents a server forum channel.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ServerForumChannelUpdatercreateUpdater()Creates an updater for this channel.default java.util.concurrent.CompletableFuture<java.lang.Void>removeCategory()Removes the category of the channel.default java.util.concurrent.CompletableFuture<java.lang.Void>updateCategory(ChannelCategory category)Updates the category of the channel.-
Methods inherited from interface org.javacord.api.entity.channel.Categorizable
getCategory
-
Methods inherited from interface org.javacord.api.entity.channel.Channel
asCategorizable, asChannelCategory, asPrivateChannel, asRegularServerChannel, asServerChannel, asServerForumChannel, asServerStageVoiceChannel, asServerTextChannel, asServerThreadChannel, asServerVoiceChannel, asTextChannel, asVoiceChannel, canSee, canYouSee, getType
-
Methods inherited from interface org.javacord.api.listener.channel.ChannelAttachableListenerManager
addChannelAttachableListener, getChannelAttachableListeners, removeChannelAttachableListener, removeListener
-
Methods inherited from interface org.javacord.api.entity.DiscordEntity
getApi, getCreationTimestamp, getId, getIdAsString
-
Methods inherited from interface org.javacord.api.entity.Mentionable
getMentionTag
-
Methods inherited from interface org.javacord.api.entity.channel.RegularServerChannel
canCreateInstantInvite, canYouCreateInstantInvite, compareTo, getCurrentCachedInstance, getEffectiveAllowedPermissions, getEffectiveDeniedPermissions, getEffectiveOverwrittenPermissions, getEffectivePermissions, getLatestInstance, getOverwrittenPermissions, getOverwrittenPermissions, getOverwrittenRolePermissions, getOverwrittenUserPermissions, getPosition, getRawPosition, hasAnyPermission, hasPermission, hasPermissions, updateRawPosition
-
Methods inherited from interface org.javacord.api.entity.channel.ServerChannel
createInviteBuilder, delete, delete, getInvites, getServer, updateName
-
Methods inherited from interface org.javacord.api.listener.channel.server.ServerChannelAttachableListenerManager
addServerChannelAttachableListener, addServerChannelChangeNameListener, addServerChannelChangeOverwrittenPermissionsListener, addServerChannelChangePositionListener, addServerChannelDeleteListener, addVoiceStateUpdateListener, getServerChannelAttachableListeners, getServerChannelChangeNameListeners, getServerChannelChangeOverwrittenPermissionsListeners, getServerChannelChangePositionListeners, getServerChannelDeleteListeners, getVoiceStateUpdateListeners, removeListener, removeServerChannelAttachableListener
-
Methods inherited from interface org.javacord.api.listener.channel.server.forum.ServerForumChannelAttachableListenerManager
addServerForumChannelAttachableListener, getServerForumChannelAttachableListeners, removeListener, removeServerForumChannelAttachableListener
-
Methods inherited from interface org.javacord.api.util.Specializable
as
-
-
-
-
Method Detail
-
createUpdater
default ServerForumChannelUpdater createUpdater()
Creates an updater for this channel.- Specified by:
createUpdaterin interfaceRegularServerChannel- Specified by:
createUpdaterin interfaceServerChannel- Returns:
- An updater for this channel.
-
updateCategory
default java.util.concurrent.CompletableFuture<java.lang.Void> updateCategory(ChannelCategory category)
Updates the category of the channel.If you want to update several settings at once, it's recommended to use the
ServerForumChannelUpdaterfromcreateUpdater()which provides a better performance!- Specified by:
updateCategoryin interfaceCategorizable- Parameters:
category- The new category of the channel.- Returns:
- A future to check if the update was successful.
-
removeCategory
default java.util.concurrent.CompletableFuture<java.lang.Void> removeCategory()
Removes the category of the channel.If you want to update several settings at once, it's recommended to use the
ServerForumChannelUpdaterfromcreateUpdater()which provides a better performance!- Specified by:
removeCategoryin interfaceCategorizable- Returns:
- A future to check if the update was successful.
-
-