Interface TextChannelEvent

    • Method Detail

      • getServerTextChannel

        default 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.
      • getPrivateChannel

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

        default Optional<GroupChannel> getGroupChannel​()
        Gets the channel of the event as a group channel.
        Returns:
        The channel of the event as a group channel.