Package discord4j.discordjson.json
Interface StartThreadWithoutMessageRequest
-
@Immutable public interface StartThreadWithoutMessageRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description discord4j.discordjson.possible.Possible<Integer>
autoArchiveDuration()
duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080static discord4j.discordjson.json.ImmutableStartThreadWithoutMessageRequest.Builder
builder()
discord4j.discordjson.possible.Possible<Boolean>
invitable()
whether non-moderators can add other non-moderators to a thread; only available when creating a private threadString
name()
1-100 character channel namediscord4j.discordjson.possible.Possible<Integer>
rateLimitPerUser()
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 Detail
-
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)
-
-