Interface ThreadChannelAction
- All Superinterfaces:
AbstractThreadCreateAction<ThreadChannel,
,ThreadChannelAction> AuditableRestAction<ThreadChannel>
,FluentAuditableRestAction<ThreadChannel,
,ThreadChannelAction> RestAction<ThreadChannel>
public interface ThreadChannelAction
extends AbstractThreadCreateAction<ThreadChannel,ThreadChannelAction>, FluentAuditableRestAction<ThreadChannel,ThreadChannelAction>
Extension of
RestAction
specifically
designed to create a ThreadChannel
.
This extension allows setting properties before executing the action.-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
MAX_REASON_LENGTH
-
Method Summary
Modifier and TypeMethodDescriptionsetInvitable
(boolean isInvitable) Sets whether this channel allows all members to add new members.Methods inherited from interface net.dv8tion.jda.api.requests.restaction.AbstractThreadCreateAction
getGuild, getType, setAutoArchiveDuration, setName
Methods inherited from interface net.dv8tion.jda.api.requests.restaction.FluentAuditableRestAction
addCheck, deadline, reason, setCheck, timeout
Methods inherited from interface net.dv8tion.jda.api.requests.RestAction
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
-
setInvitable
Sets whether this channel allows all members to add new members.
When set to false, only moderators and the thread owner can add new members.- Parameters:
isInvitable
- True, if all members should be allowed to add new members- Returns:
- The current ThreadChannelAction for chaining convenience
-