diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt index b07bc97cf6..9b86454801 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt @@ -28,6 +28,8 @@ interface FlowsUpdatesFilter : UpdatesFilter { val preCheckoutQueryFlow: Flow val pollFlow: Flow val pollAnswerFlow: Flow + val chatMemberUpdatedFlow: Flow + val myChatMemberUpdatedFlow: Flow val unknownUpdateTypeFlow: Flow } @@ -74,5 +76,7 @@ class DefaultFlowsUpdatesFilter( override val preCheckoutQueryFlow: Flow = allUpdatesFlow.filterIsInstance() override val pollFlow: Flow = allUpdatesFlow.filterIsInstance() override val pollAnswerFlow: Flow = allUpdatesFlow.filterIsInstance() + override val chatMemberUpdatedFlow: Flow = allUpdatesFlow.filterIsInstance() + override val myChatMemberUpdatedFlow: Flow = allUpdatesFlow.filterIsInstance() override val unknownUpdateTypeFlow: Flow = allUpdatesFlow.filterIsInstance() } \ No newline at end of file