Interface MediaChannelManager
- All Superinterfaces:
AuditableRestAction<Void>,ChannelManager<MediaChannel,,MediaChannelManager> IAgeRestrictedChannelManager<MediaChannel,,MediaChannelManager> ICategorizableChannelManager<MediaChannel,,MediaChannelManager> IPermissionContainerManager<MediaChannel,,MediaChannelManager> IPositionableChannelManager<MediaChannel,,MediaChannelManager> IPostContainerManager<MediaChannel,,MediaChannelManager> ISlowmodeChannelManager<MediaChannel,,MediaChannelManager> IThreadContainerManager<MediaChannel,,MediaChannelManager> Manager<MediaChannelManager>,RestAction<Void>,StandardGuildChannelManager<MediaChannel,MediaChannelManager>
public interface MediaChannelManager
extends StandardGuildChannelManager<MediaChannel,MediaChannelManager>, IPostContainerManager<MediaChannel,MediaChannelManager>, IAgeRestrictedChannelManager<MediaChannel,MediaChannelManager>, ISlowmodeChannelManager<MediaChannel,MediaChannelManager>
Manager providing functionality to modify a
MediaChannel.
Example
manager.setName("Art Showcase")
.setSlowmode(10)
.setTopic("Showcase your art creations here.")
.queue();
manager.reset(ChannelManager.NSFW | ChannelManager.NAME)
.setName("NSFW Art Showcase")
.setNSFW(true)
.queue();
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
MAX_REASON_LENGTHFields inherited from interface net.dv8tion.jda.api.managers.channel.ChannelManager
APPLIED_TAGS, ARCHIVED, AUTO_ARCHIVE_DURATION, AVAILABLE_TAGS, BITRATE, DEFAULT_LAYOUT, DEFAULT_REACTION, DEFAULT_SORT_ORDER, DEFAULT_THREAD_SLOWMODE, HIDE_MEDIA_DOWNLOAD_OPTIONS, INVITEABLE, LOCKED, NAME, NSFW, PARENT, PERMISSION, PINNED, POSITION, REGION, REQUIRE_TAG, SLOWMODE, TOPIC, TYPE, USERLIMIT -
Method Summary
Modifier and TypeMethodDescriptionsetHideMediaDownloadOption(boolean hideOption) Sets whether to hide the download media option on this channel.Methods inherited from interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
reasonMethods inherited from interface net.dv8tion.jda.api.managers.channel.ChannelManager
getChannel, getGuild, reset, reset, setNameMethods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IAgeRestrictedChannelManager
setNSFWMethods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
setParent, sync, syncMethods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
clearOverridesAdded, clearOverridesRemoved, putMemberPermissionOverride, putMemberPermissionOverride, putPermissionOverride, putPermissionOverride, putRolePermissionOverride, putRolePermissionOverride, removePermissionOverride, removePermissionOverrideMethods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IPositionableChannelManager
setPositionMethods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IPostContainerManager
setAvailableTags, setDefaultReaction, setDefaultSortOrder, setTagRequired, setTopicMethods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.ISlowmodeChannelManager
setSlowmodeMethods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IThreadContainerManager
setDefaultThreadSlowmodeMethods inherited from interface net.dv8tion.jda.api.managers.Manager
deadline, reset, setCheck, timeoutMethods inherited from interface net.dv8tion.jda.api.requests.RestAction
addCheck, and, and, complete, complete, completeAfter, delay, delay, delay, delay, flatMap, flatMap, getCheck, getJDA, map, mapToResult, onErrorFlatMap, onErrorFlatMap, onErrorMap, onErrorMap, onSuccess, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter, zip
-
Method Details
-
setHideMediaDownloadOption
Sets whether to hide the download media option on this channel.- Parameters:
hideOption- Whether to hide the download option- Returns:
- ChannelManager for chaining convenience.
- See Also:
-