Interface Channel

All Known Subinterfaces:
TemporaryChannel

public interface Channel
Chat channel
  • Method Details

    • broadcast

      void broadcast(String message)
      broadcast the message to all users who have access to this channel
      Parameters:
      message - the message to be broadcast
    • getUsers

      List<? extends User> getUsers()
      Get all the users who have access to the channel
      Returns:
      the users who have access to the channel
    • getName

      @NotNull @NotNull String getName()
      Get the name of the channel
      Returns:
      the name of the channel
    • getDisplayName

      String getDisplayName()
      Get the display name of the channel
      Returns:
      the display name of the channel
    • getFormat

      @Nullable @Nullable String getFormat()
      Get the chat format of the channel
      Returns:
      the format of the channel
    • getPermissionFormats

      List<net.deechael.useless.objs.TriObj<String,String,Integer>> getPermissionFormats()
      Get the formats of whom has different permissions
      Returns:
      (permission, format, priority)
    • isGlobal

      boolean isGlobal()
      Is this channel the global channel
      Returns:
      the result
    • setAvailableForAll

      void setAvailableForAll(boolean available)
      Make the channel available for all users
      Parameters:
      available - status