# dev.inmo.tgbotapi.updateshandlers

docs

# Package dev.inmo.tgbotapi.updateshandlers

## Types

AbstractFlowsUpdatesFilter
Link copied to clipboard
abstract class AbstractFlowsUpdatesFilter : FlowsUpdatesFilter
Content copied to clipboard
DefaultFlowsUpdatesFilter
Link copied to clipboard
class DefaultFlowsUpdatesFilter ( broadcastChannelsSize: Int = 100, onBufferOverflow: BufferOverflow = BufferOverflow.SUSPEND, upstreamUpdatesFlow: Flow< Update >? = null) : AbstractFlowsUpdatesFilter
Content copied to clipboard
FlowsUpdatesFilter
Link copied to clipboard
interface FlowsUpdatesFilter : UpdatesFilter
Content copied to clipboard
SimpleUpdatesFilter
Link copied to clipboard
data class SimpleUpdatesFilter ( messageCallback: UpdateReceiver < MessageUpdate >? = null, messageMediaGroupCallback: UpdateReceiver < MessageMediaGroupUpdate >? = null, editedMessageCallback: UpdateReceiver < EditMessageUpdate >? = null, editedMessageMediaGroupCallback: UpdateReceiver < EditMessageMediaGroupUpdate >? = null, channelPostCallback: UpdateReceiver < ChannelPostUpdate >? = null, channelPostMediaGroupCallback: UpdateReceiver < ChannelPostMediaGroupUpdate >? = null, editedChannelPostCallback: UpdateReceiver < EditChannelPostUpdate >? = null, editedChannelPostMediaGroupCallback: UpdateReceiver < EditChannelPostMediaGroupUpdate >? = null, chosenInlineResultCallback: UpdateReceiver < ChosenInlineResultUpdate >? = null, inlineQueryCallback: UpdateReceiver < InlineQueryUpdate >? = null, callbackQueryCallback: UpdateReceiver < CallbackQueryUpdate >? = null, shippingQueryCallback: UpdateReceiver < ShippingQueryUpdate >? = null, preCheckoutQueryCallback: UpdateReceiver < PreCheckoutQueryUpdate >? = null, pollUpdateCallback: UpdateReceiver < PollUpdate >? = null, pollAnswerUpdateCallback: UpdateReceiver < PollAnswerUpdate >? = null, unknownUpdateTypeCallback: UpdateReceiver < UnknownUpdate >? = null) : UpdatesFilter
Content copied to clipboard
UpdateReceiver
Link copied to clipboard
typealias UpdateReceiver < T > = suspend ( T ) -> Unit
Content copied to clipboard
UpdatesFilter
Link copied to clipboard
interface UpdatesFilter
Content copied to clipboard

## Functions

createSimpleUpdateFilter
Link copied to clipboard
fun createSimpleUpdateFilter ( messageCallback: UpdateReceiver < MessageUpdate >? = null, mediaGroupCallback: UpdateReceiver < MediaGroupUpdate >? = null, editedMessageCallback: UpdateReceiver < EditMessageUpdate >? = null, channelPostCallback: UpdateReceiver < ChannelPostUpdate >? = null, editedChannelPostCallback: UpdateReceiver < EditChannelPostUpdate >? = null, chosenInlineResultCallback: UpdateReceiver < ChosenInlineResultUpdate >? = null, inlineQueryCallback: UpdateReceiver < InlineQueryUpdate >? = null, callbackQueryCallback: UpdateReceiver < CallbackQueryUpdate >? = null, shippingQueryCallback: UpdateReceiver < ShippingQueryUpdate >? = null, preCheckoutQueryCallback: UpdateReceiver < PreCheckoutQueryUpdate >? = null, pollCallback: UpdateReceiver < PollUpdate >? = null, pollAnswerCallback: UpdateReceiver < PollAnswerUpdate >? = null, unknownCallback: UpdateReceiver < UnknownUpdate >? = null): UpdatesFilter
Content copied to clipboard
FlowsUpdatesFilter
Link copied to clipboard
fun FlowsUpdatesFilter ( broadcastChannelsSize: Int = 100, onBufferOverflow: BufferOverflow = BufferOverflow.SUSPEND, upstreamUpdatesFlow: Flow< Update >? = null): DefaultFlowsUpdatesFilter
Content copied to clipboard

Creates DefaultFlowsUpdatesFilter