docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.utils / kotlinx.coroutines.flow.Flow / withContentType
withContentType
(common)
fun <T : MessageContent> Flow<ContentMessage<*>>.withContentType(contentType: KClass<T>): Flow<ContentMessage<T>>
(source)