Interface TextChannelEvent

    • Method Detail

      • getServerTextChannel

        default java.util.Optional<ServerTextChannel> getServerTextChannel()
        Gets the channel of the event as a server text channel.
        Returns:
        The channel of the event as a server text channel.
      • getServerThreadChannel

        default java.util.Optional<ServerThreadChannel> getServerThreadChannel()
        Gets the channel of the event as a server thread channel.
        Returns:
        The channel of the event as a server thread channel.
      • getPrivateChannel

        default java.util.Optional<PrivateChannel> getPrivateChannel()
        Gets the channel of the event as a private channel.
        Returns:
        The channel of the event as a private channel.