Package-level declarations

Properties

Link copied to clipboard
val CallbackQueryFilterByUser: BehaviourContextAndTwoTypesReceiver<Boolean, <Error class: unknown class>, <Error class: unknown class>>

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

Link copied to clipboard
val ChatJoinRequestFilterByChat: BehaviourContextAndTwoTypesReceiver<Boolean, <Error class: unknown class>, <Error class: unknown class>>

Allow only events from the same chat as base ChatMemberUpdated

Link copied to clipboard
val chatMemberBecameOwnerFilter: <Error class: unknown class>

Allows only member becameOwner updates

Link copied to clipboard
val chatMemberCeasedOwnershipFilter: <Error class: unknown class>

Allows only member ceasedOwnership updates

Link copied to clipboard
val chatMemberGotDemotedFilter: <Error class: unknown class>

Allows only member gotDemoted updates

Link copied to clipboard
val chatMemberGotPromotedFilter: <Error class: unknown class>

Allows only member gotPromoted updates

Link copied to clipboard
val chatMemberGotPromotionChangedFilter: <Error class: unknown class>

Allows only member gotPromotionChanged updates

Link copied to clipboard
val chatMemberGotRestrictedFilter: <Error class: unknown class>

Allows only member gotRestricted updates

Link copied to clipboard
val chatMemberGotRestrictionsChangedFilter: <Error class: unknown class>

Allows only member gotRestrictionsChanged updates

Link copied to clipboard
val chatMemberGotUnrestrictedFilter: <Error class: unknown class>

Allows only member gotUnrestricted updates

Link copied to clipboard
val chatMemberJoinedFilter: <Error class: unknown class>

Allows only member joinedChat updates

Link copied to clipboard
val chatMemberKickedFilter: <Error class: unknown class>

Allows only member gotUnrestricted updates

Link copied to clipboard
val chatMemberLeftFilter: <Error class: unknown class>

Allows only member leftChat updates

Link copied to clipboard
val chatMemberSubscribedFilter: <Error class: unknown class>

Allows only member subscribed updates

Link copied to clipboard
val chatMemberSubscriptionChangedFilter: <Error class: unknown class>

Allows only member subscriptionUpdated updates

Link copied to clipboard
val chatMemberUnsubscribedFilter: <Error class: unknown class>

Allows only member unsubscribed updates

Link copied to clipboard
val ChatMemberUpdatedFilterByChat: BehaviourContextAndTwoTypesReceiver<Boolean, <Error class: unknown class>, <Error class: unknown class>>

Allow only events from the same chat as base ChatMemberUpdated

Link copied to clipboard
val CommonMessageFilterExcludeMediaGroups: <Error class: unknown class>

Allow only messages which are not MediaGroupMessage

Link copied to clipboard
val InlineQueryFilterByUser: BehaviourContextAndTwoTypesReceiver<Boolean, <Error class: unknown class>, <Error class: unknown class>>

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

Link copied to clipboard
val MessageFilterByChat: BehaviourContextAndTwoTypesReceiver<Boolean, <Error class: unknown class>, <Error class: unknown class>>

Allow only events from the same chat as base AccessibleMessage

Link copied to clipboard
val MessageFilterForums: <Error class: unknown class>

Allow only messages which are not in some forum

Link copied to clipboard
val MessagesFilterByChat: BehaviourContextAndTwoTypesReceiver<Boolean, List<<Error class: unknown class>>, <Error class: unknown class>>

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

Link copied to clipboard
val PreCheckoutQueryFilterByUser: BehaviourContextAndTwoTypesReceiver<Boolean, <Error class: unknown class>, <Error class: unknown class>>

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

Link copied to clipboard
val ShippingQueryFilterByUser: BehaviourContextAndTwoTypesReceiver<Boolean, <Error class: unknown class>, <Error class: unknown class>>

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

Functions

Link copied to clipboard
fun CommonMessageFilterExcludeCommand(excludedCommand: String? = null, textBeginOnly: Boolean = true): CommonMessageFilter<*>

Use as initialFilter. Will exclude messages with excludedCommand if it is not null, if null - all messages with commands. If textBeginOnly set to false, all commands inside of message will be taken in attention.

Link copied to clipboard
fun CommonMessageFilterIncludeText(textRegex: <Error class: unknown class>): CommonMessageFilter<*>

Includes messages only contains text with textRegex