# com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.kotlinx.coroutines.flow.Flow - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.utils / kotlinx.coroutines.flow.Flow

### Extensions for kotlinx.coroutines.flow.Flow

(common)

#### onlyAnimationContentMessages

`fun Flow<ContentMessage<*>>.onlyAnimationContentMessages(): Flow<ContentMessage<AnimationContent>>`

(common)

#### onlyAudioContentMessages

`fun Flow<ContentMessage<*>>.onlyAudioContentMessages(): Flow<ContentMessage<AudioContent>>`

(common)

#### onlyContactContentMessages

`fun Flow<ContentMessage<*>>.onlyContactContentMessages(): Flow<ContentMessage<ContactContent>>`

(common)

#### onlyDiceContentMessages

`fun Flow<ContentMessage<*>>.onlyDiceContentMessages(): Flow<ContentMessage<DiceContent>>`

(common)

#### onlyDocumentContentMessages

`fun Flow<ContentMessage<*>>.onlyDocumentContentMessages(): Flow<ContentMessage<DocumentContent>>`

(common)

#### onlyGameContentMessages

`fun Flow<ContentMessage<*>>.onlyGameContentMessages(): Flow<ContentMessage<GameContent>>`

(common)

#### onlyInlineMessageIdDataCallbackQueries

`fun <T : CallbackQuery> Flow<T>.onlyInlineMessageIdDataCallbackQueries(): Flow<InlineMessageIdDataCallbackQuery>`

(common)

#### onlyInvoiceContentMessages

`fun Flow<ContentMessage<*>>.onlyInvoiceContentMessages(): Flow<ContentMessage<InvoiceContent>>`

(common)

#### onlyLocationContentMessages

`fun Flow<ContentMessage<*>>.onlyLocationContentMessages(): Flow<ContentMessage<LocationContent>>`

(common)

#### onlyMessageDataCallbackQueries

`fun <T : CallbackQuery> Flow<T>.onlyMessageDataCallbackQueries(): Flow<MessageDataCallbackQuery>`

(common)

#### onlyPhotoContentMessages

`fun Flow<ContentMessage<*>>.onlyPhotoContentMessages(): Flow<ContentMessage<PhotoContent>>`

(common)

#### onlyPollContentMessages

`fun Flow<ContentMessage<*>>.onlyPollContentMessages(): Flow<ContentMessage<PollContent>>`

(common)

#### onlyStickerContentMessages

`fun Flow<ContentMessage<*>>.onlyStickerContentMessages(): Flow<ContentMessage<StickerContent>>`

(common)

#### onlyTextContentMessages

`fun Flow<ContentMessage<*>>.onlyTextContentMessages(): Flow<ContentMessage<TextContent>>`

(common)

#### onlyVenueContentMessages

`fun Flow<ContentMessage<*>>.onlyVenueContentMessages(): Flow<ContentMessage<VenueContent>>`

(common)

#### onlyVideoContentMessages

`fun Flow<ContentMessage<*>>.onlyVideoContentMessages(): Flow<ContentMessage<VideoContent>>`

(common)

#### onlyVideoNoteContentMessages

`fun Flow<ContentMessage<*>>.onlyVideoNoteContentMessages(): Flow<ContentMessage<VideoNoteContent>>`

(common)

#### onlyVoiceContentMessages

`fun Flow<ContentMessage<*>>.onlyVoiceContentMessages(): Flow<ContentMessage<VoiceContent>>`

(common)

#### withContentType

`fun <T : MessageContent> Flow<ContentMessage<*>>.withContentType(contentType: KClass<T>): Flow<ContentMessage<T>>`