public fun Channel.getLastMessage(currentUser: User?): Message? = getPreviewMessage(currentUser)
Returns channel's last regular or system message if exists. Deleted and silent messages, as well as messages from shadow-banned users, are not taken into account.