Interface ServerThreadChannelBuilderDelegate

    • Method Detail

      • setInvitableFlag

        void setInvitableFlag​(java.lang.Boolean inviteable)
        Sets the invitable flag of the thread channel.
        Parameters:
        inviteable - Whether non-moderators can add other non-moderators to a thread; only available when creating a private thread.
      • setChannelType

        void setChannelType​(ChannelType channelType)
        Sets the thread channel type of the thread channel.
        Parameters:
        channelType - The thread chanel type of the
      • setAutoArchiveDuration

        void setAutoArchiveDuration​(java.lang.Integer autoArchiveDuration)
        Sets the auto archive duration of the thread channel.
        Parameters:
        autoArchiveDuration - The auto archive duration in seconds.
      • setSlowmodeDelayInSeconds

        void setSlowmodeDelayInSeconds​(int delay)
        Sets the slowmode delay of the thread channel.
        Parameters:
        delay - The delay in seconds.
      • create

        java.util.concurrent.CompletableFuture<ServerThreadChannel> create()
        Creates the server thread channel.
        Returns:
        The created thread channel.