Package discord4j.discordjson.json
Interface StartThreadWithoutMessageRequest
@Immutable
public interface StartThreadWithoutMessageRequest
-
Method Summary
Modifier and TypeMethodDescriptiondiscord4j.discordjson.possible.Possible<Integer>duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080static discord4j.discordjson.json.ImmutableStartThreadWithoutMessageRequest.Builderbuilder()discord4j.discordjson.possible.Possible<Boolean>whether non-moderators can add other non-moderators to a thread; only available when creating a private threadname()1-100 character channel namediscord4j.discordjson.possible.Possible<Integer>amount of seconds a user has to wait before sending another message (0-21600)discord4j.discordjson.possible.Possible<Integer>type()the type of thread to create
-
Method Details
-
builder
static discord4j.discordjson.json.ImmutableStartThreadWithoutMessageRequest.Builder builder() -
name
String name()1-100 character channel name -
autoArchiveDuration
discord4j.discordjson.possible.Possible<Integer> autoArchiveDuration()duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080 -
type
discord4j.discordjson.possible.Possible<Integer> type()the type of thread to create -
invitable
discord4j.discordjson.possible.Possible<Boolean> invitable()whether non-moderators can add other non-moderators to a thread; only available when creating a private thread -
rateLimitPerUser
discord4j.discordjson.possible.Possible<Integer> rateLimitPerUser()amount of seconds a user has to wait before sending another message (0-21600)
-