Package io.github.dawncord.api
Class Routes.Channel.Thread.Archive
java.lang.Object
io.github.dawncord.api.Routes.Channel.Thread.Archive
- Enclosing class:
- Routes.Channel.Thread
Routes related to archived threads within channels.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringJoinedPrivate(String channelId, String userId) Constructs the route to archive private threads joined by a specific user within a channel.static StringConstructs the route to archive private threads within a channel.static StringConstructs the route to archive public threads within a channel.
-
Constructor Details
-
Archive
public Archive()
-
-
Method Details
-
Public
Constructs the route to archive public threads within a channel.- Parameters:
channelId- The ID of the channel.- Returns:
- The route to archive public threads within the channel.
-
Private
Constructs the route to archive private threads within a channel.- Parameters:
channelId- The ID of the channel.- Returns:
- The route to archive private threads within the channel.
-
JoinedPrivate
Constructs the route to archive private threads joined by a specific user within a channel.- Parameters:
channelId- The ID of the channel.userId- The ID of the user.- Returns:
- The route to archive private threads joined by the user within the channel.
-