case class DeleteMessage(channelId: TextChannelId, messageId: MessageId, reason: Option[String] = None) extends NoParamsResponseReasonRequest[DeleteMessage] with Product with Serializable
- Alphabetic
- By Inheritance
- DeleteMessage
- Serializable
- Product
- Equals
- NoParamsResponseReasonRequest
- NoResponseReasonRequest
- NoResponseRequest
- NoNiceResponseReasonRequest
- NoNiceResponseRequest
- NoParamsReasonRequest
- NoParamsRequest
- ReasonRequest
- RESTRequest
- BaseRESTRequest
- Request
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DeleteMessage(channelId: TextChannelId, messageId: MessageId, reason: Option[String] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bodyForLogging: Option[String]
Returns the body of this Request for use in logging.
Returns the body of this Request for use in logging.
- Definition Classes
- RESTRequest → Request
- val channelId: TextChannelId
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def collect[B](f: PartialFunction[NotUsed, B]): Request[B]
Map the result if the function is defined for the response data.
Map the result if the function is defined for the response data.
- Definition Classes
- Request
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def extraHeaders: Seq[HttpHeader]
All the extra headers to send with this request.
All the extra headers to send with this request.
- Definition Classes
- ReasonRequest → Request
- def filter(f: (NotUsed) => Boolean): Request[NotUsed]
Filter the response of sending this request.
Filter the response of sending this request.
- Definition Classes
- Request
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasPermissions(implicit c: CacheSnapshot): Boolean
Check if a client has the needed permissions to execute this request.
Check if a client has the needed permissions to execute this request.
- Definition Classes
- DeleteMessage → BaseRESTRequest → Request
- val identifier: UUID
An unique identifier to track this request from creation to answer.
An unique identifier to track this request from creation to answer.
- Definition Classes
- Request
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsonParams: Json
The params of this request converted to json.
The params of this request converted to json.
- Definition Classes
- RESTRequest
- def jsonPrinter: Printer
- Definition Classes
- RESTRequest
- def map[B](f: (NotUsed) => B): Request[B]
Map the result of sending this request.
Map the result of sending this request.
- Definition Classes
- Request
- val messageId: MessageId
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def params: NotUsed
The params of this request
The params of this request
- Definition Classes
- NoParamsRequest → RESTRequest
- def paramsEncoder: Encoder[NotUsed]
An encoder for the params of this request
An encoder for the params of this request
- Definition Classes
- NoParamsRequest → RESTRequest
- def parseResponse(entity: ResponseEntity)(implicit system: ActorSystem[Nothing]): Future[NotUsed]
A flow that can be used to parse the responses from this request.
A flow that can be used to parse the responses from this request.
- Definition Classes
- NoResponseRequest → BaseRESTRequest → Request
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val reason: Option[String]
- Definition Classes
- DeleteMessage → ReasonRequest
- def requestBody: RequestEntity
The body of the request to send.
The body of the request to send.
- Definition Classes
- RESTRequest → Request
- def requiredPermissions: Permission
The permissions needed to use this request.
The permissions needed to use this request.
- Definition Classes
- DeleteMessage → BaseRESTRequest
- def responseDecoder: Decoder[NotUsed]
A decoder to decode the response.
A decoder to decode the response.
- Definition Classes
- NoResponseRequest → BaseRESTRequest
- def route: RequestRoute
The router for this request.
The router for this request.
- Definition Classes
- DeleteMessage → Request
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toNiceResponse(response: NotUsed): NotUsed
Convert the response to a format the cache handler can understand.
Convert the response to a format the cache handler can understand.
- Definition Classes
- NoNiceResponseRequest → BaseRESTRequest
- def transformResponse[B](f: (ExecutionContext) => (Future[NotUsed]) => Future[B]): Request[B]
Transform the response of this request as a flow.
Transform the response of this request as a flow.
- Definition Classes
- Request
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withReason(reason: String): DeleteMessage
A reason to add to the audit log entry.
A reason to add to the audit log entry.
- Definition Classes
- DeleteMessage → ReasonRequest