getLastMessage

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

Requests to get the last message sent to this channel, return null if no lastMessageId is present or if the message itself isn't present.

Throws

if something went wrong during the request.