getParentMessage

suspend fun ThreadChannel.getParentMessage(): Message?

Convenience function that returns the thread's parent message, if it was created from one.

If it wasn't, the parent channel is a forum, or the parent channel can't be found, this function returns null.