Interface AudioChannel

    • Method Detail

      • getManager

        @Nonnull
        AudioChannelManager<?,​?> 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
        Returns:
        The ChannelManager of this GuildChannel
      • getBitrate

        int getBitrate()
        The audio bitrate of the voice audio that is transmitted in this channel. While higher bitrates can be sent to this channel, it will be scaled down by the client.
        Default and recommended value is 64000
        Returns:
        The audio bitrate of this audio channel.
      • getRegionRaw

        @Nullable
        String getRegionRaw()
        The raw region name for this AudioChannel. This will return null if the region is set to Automatic.
        Returns:
        Raw region name