Package discord4j.discordjson.json
Interface StartThreadFromMessageRequest
@Immutable
public interface StartThreadFromMessageRequest
-
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.ImmutableStartThreadFromMessageRequest.Builderbuilder()name()1-100 character channel namediscord4j.discordjson.possible.Possible<Integer>amount of seconds a user has to wait before sending another message (0-21600)
-
Method Details
-
builder
static discord4j.discordjson.json.ImmutableStartThreadFromMessageRequest.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 -
rateLimitPerUser
discord4j.discordjson.possible.Possible<Integer> rateLimitPerUser()amount of seconds a user has to wait before sending another message (0-21600)
-