Interface IAgeRestrictedChannel

All Superinterfaces:
Channel, Comparable<GuildChannel>, Formattable, GuildChannel, IMentionable, ISnowflake
All Known Subinterfaces:
ForumChannel, MediaChannel, NewsChannel, StageChannel, StandardGuildMessageChannel, TextChannel, VoiceChannel

public interface IAgeRestrictedChannel extends GuildChannel
Channels which can be set to age-restricted.
These channels only allow users with a verified mature age to participate.
  • Method Details

    • isNSFW

      boolean isNSFW()
      Whether this channel is considered as age-restricted, also known as NSFW (Not-Safe-For-Work)
      Returns:
      True, If this channel is age-restricted by the official Discord Client