asMessageOrNull

open suspend fun asMessageOrNull(): Message?(source)

Requests to get this behavior as a Message, returns null if the message isn't present.

Throws

if anything went wrong during the request.