withContentOrThrow

inline fun <T : MessageContent> ContentMessage<*>.withContentOrThrow(): ContentMessage<T>
inline fun <T : MessageContent> CommonMessage<*>.withContentOrThrow(): CommonMessage<T>
inline fun <T : MessageContent> ChannelContentMessage<*>.withContentOrThrow(): ChannelContentMessage<T>
inline fun <T : MessageContent> PrivateContentMessage<*>.withContentOrThrow(): PrivateContentMessage<T>
inline fun <T : MessageContent> PublicContentMessage<*>.withContentOrThrow(): PublicContentMessage<T>
inline fun <T : MessageContent> GroupContentMessage<*>.withContentOrThrow(): GroupContentMessage<T>
inline fun <T : MediaGroupContent> MediaGroupMessage<*>.withContentOrThrow(): MediaGroupMessage<T>