withContentOrThrow
inline fun <T : MessageContent> PossiblySentViaBotCommonMessage<*>.withContentOrThrow(): PossiblySentViaBotCommonMessage<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> FromChannelGroupContentMessage<*>.withContentOrThrow(): FromChannelGroupContentMessage<T>
inline fun <T : MessageContent> AnonymousGroupContentMessage<*>.withContentOrThrow(): AnonymousGroupContentMessage<T>
inline fun <T : MessageContent> CommonGroupContentMessage<*>.withContentOrThrow(): CommonGroupContentMessage<T>