# dev.inmo.tgbotapi.extensions.behaviour_builder.filters

docs

# Package dev.inmo.tgbotapi.extensions.behaviour_builder.filters

## Properties

CallbackQueryFilterByUser
Link copied to clipboard
val CallbackQueryFilterByUser : BehaviourContextAndTwoTypesReceiver < Boolean , CallbackQuery , Update >
Content copied to clipboard

Allow only updates from the same user as base CallbackQuery.user

ChatJoinRequestFilterByChat
Link copied to clipboard
val ChatJoinRequestFilterByChat : BehaviourContextAndTwoTypesReceiver < Boolean , ChatJoinRequest , Update >
Content copied to clipboard

Allow only events from the same chat as base ChatMemberUpdated

ChatMemberUpdatedFilterByChat
Link copied to clipboard
val ChatMemberUpdatedFilterByChat : BehaviourContextAndTwoTypesReceiver < Boolean , ChatMemberUpdated , Update >
Content copied to clipboard

Allow only events from the same chat as base ChatMemberUpdated

CommonMessageFilterExcludeMediaGroups
Link copied to clipboard
val CommonMessageFilterExcludeMediaGroups : SimpleFilter < Message >
Content copied to clipboard

Allow only messages which are not MediaGroupMessage

InlineQueryFilterByUser
Link copied to clipboard
val InlineQueryFilterByUser : BehaviourContextAndTwoTypesReceiver < Boolean , InlineQuery , Update >
Content copied to clipboard

Allow only updates from the same user as base InlineQuery.from

MessageFilterByChat
Link copied to clipboard
val MessageFilterByChat : BehaviourContextAndTwoTypesReceiver < Boolean , Message , Update >
Content copied to clipboard

Allow only events from the same chat as base Message

MessageFilterExcludingMediaGroups
Link copied to clipboard
val MessageFilterExcludingMediaGroups : BehaviourContextAndTwoTypesReceiver < Boolean , CommonMessage <*>, Update >
Content copied to clipboard

Allow only messages which are not MediaGroupMessage

MessagesFilterByChat
Link copied to clipboard
val MessagesFilterByChat : BehaviourContextAndTwoTypesReceiver < Boolean , List < Message >, Update >
Content copied to clipboard

Allow only events from the same chat as base List of Message

PreCheckoutQueryFilterByUser
Link copied to clipboard
val PreCheckoutQueryFilterByUser : BehaviourContextAndTwoTypesReceiver < Boolean , PreCheckoutQuery , Update >
Content copied to clipboard

Allow only updates from the same user as base ShippingQuery.user

ShippingQueryFilterByUser
Link copied to clipboard
val ShippingQueryFilterByUser : BehaviourContextAndTwoTypesReceiver < Boolean , ShippingQuery , Update >
Content copied to clipboard

Allow only updates from the same user as base ShippingQuery.user