Interface GroupChannel

All Superinterfaces:
Channel, Formattable, IDetachableEntity, IMentionable, ISnowflake, MessageChannel

public interface GroupChannel extends MessageChannel, IDetachableEntity
Represents a Group DM channel.

This is only used for user-installed apps.

  • Field Details

  • Method Details

    • getIconId

      @Nullable String getIconId()
      The Discord hash-id of the group channel icon image. If no icon has been set, this returns null.
      Returns:
      Possibly-null String containing the group channel's icon hash-id.
    • getIconUrl

      @Nullable default String getIconUrl()
      The URL of the group channel icon image. If no icon has been set, this returns null.
      Returns:
      Possibly-null String containing the group channel's icon URL.
    • getIcon

      @Nullable default ImageProxy getIcon()
      Returns an ImageProxy for this group channel's icon.
      Returns:
      Possibly-null ImageProxy of this group channel's icon
      See Also:
    • getOwnerIdLong

      long getOwnerIdLong()
      Returns the ID of the user which owns this GroupChannel.
      Returns:
      The ID of the user which owns this GroupChannel
    • getOwnerId

      @Nonnull default String getOwnerId()
      Returns the ID of the user which owns this GroupChannel.
      Returns:
      The ID of the user which owns this GroupChannel
    • retrieveOwner

      @Nonnull @CheckReturnValue default RestAction<User> retrieveOwner()
      Retrieves the User which owns this GroupChannel.
      Returns:
      A RestAction to retrieve the User which owns this GroupChannel.