Interface HasParentChannel

All Known Subinterfaces:
Category, DeletedThread, GuildChannel, NewsChannel, StageChannel, StoreChannel, TextChannel, ThreadChannel, VoiceChannel
All Known Implementing Classes:
CategoryImpl, DeletedThreadImpl, NewsChannelImpl, StageChannelImpl, StoreChannelImpl, TextChannelImpl, ThreadChannelImpl, VoiceChannelImpl

public interface HasParentChannel
Since:
5/9/21.
Author:
amy
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     
    long
     
  • Method Details

    • parentId

      @Nullable @CheckReturnValue default String parentId()
      Returns:
      The id of the Category that is the parent of this channel. May be null.
    • parentIdAsLong

      @CheckReturnValue long parentIdAsLong()
      Returns:
      The id of the Category that is the parent of this channel. A value of 0 means no parent.