Interface ICategorizableChannel

    • Method Detail

      • getManager

        @Nonnull
        ICategorizableChannelManager<?,​?> getManager()
        Description copied from interface: GuildChannel
        Returns the ChannelManager for this GuildChannel.
        In the ChannelManager, you can modify the name, topic and position of this GuildChannel. You modify multiple fields in one request by chaining setters before calling RestAction.queue().

        This is a lazy idempotent getter. The manager is retained after the first call. This getter is not thread-safe and would require guards by the user.

        Specified by:
        getManager in interface GuildChannel
        Specified by:
        getManager in interface IPermissionContainer
        Returns:
        The ChannelManager of this GuildChannel
      • getParentCategoryIdLong

        long getParentCategoryIdLong()
      • getParentCategoryId

        default String getParentCategoryId()
      • getParentCategory

        @Nullable
        default Category getParentCategory()
        Parent Category of this GuildChannel. Channels don't need to have a parent Category.
        Note that a Category will always return null for this method as nested categories are not supported.
        Returns:
        Possibly-null Category for this GuildChannel