Interface Channel

    • Method Detail

      • getType

        Channel.Type getType()
        Gets the type of channel.
        Returns:
        The type of channel.
      • delete

        default Mono<Void> delete()
        Requests to delete this channel.
        Returns:
        A Mono where, upon successful completion, emits nothing; indicating the channel has been deleted. If an error is received, it is emitted through the Mono.
      • delete

        Mono<Void> delete​(@Nullable
                          String reason)
        Requests to delete this channel while optionally specifying a reason.
        Parameters:
        reason - The reason, if present.
        Returns:
        A Mono where, upon successful completion, emits nothing; indicating the channel has been deleted. If an error is received, it is emitted through the Mono.
      • getMention

        default String getMention()
        Gets the raw mention. This is the format utilized to directly mention another channel.
        Returns:
        The raw mention.
      • getRestChannel

        RestChannel getRestChannel()
        Return a RestChannel handle to execute REST API operations on this entity.