Interface NewsChannel

All Superinterfaces:
Channel, Entity, GuildChannel, GuildEntity, HasGuild, HasName, HasParentChannel, Mentionable, MessageChannel, Snowflake, TextChannel, Timestamped
All Known Implementing Classes:
NewsChannelImpl

public interface NewsChannel extends TextChannel
A news channel in a guild is effectively a reskinned text channel, but with two important differences:
  1. The channel type is Channel.ChannelType.NEWS.
  2. There is no ratelimit.
Since:
3/10/19.
Author:
amy
  • Method Details

    • rateLimitPerUser

      default int rateLimitPerUser()
      Description copied from interface: TextChannel
      The slowmode set on this channel. A value of 0 means no slowmode. Bots are not affected by slowmode.
      Specified by:
      rateLimitPerUser in interface TextChannel
      Returns:
      The slowmode set on this channel, in seconds.