Class Routes.Channel.Thread.Archive

java.lang.Object
io.github.dawncord.api.Routes.Channel.Thread.Archive
Enclosing class:
Routes.Channel.Thread

public static class Routes.Channel.Thread.Archive extends Object
Routes related to archived threads within channels.
  • Constructor Details

    • Archive

      public Archive()
  • Method Details

    • Public

      public static String Public(String channelId)
      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

      public static String Private(String channelId)
      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

      public static String JoinedPrivate(String channelId, String userId)
      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.