whenChannelContentMessage

inline fun <T> Message.whenChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T?