Package dev.inmo.tgbotapi.updateshandlers

Types

FlowsUpdatesFilter
Link copied to clipboard
common
class FlowsUpdatesFilter(broadcastChannelsSize: Int) : UpdatesFilter
SimpleUpdatesFilter
Link copied to clipboard
common
data class SimpleUpdatesFilter(messageCallback: SuspendFunction1<MessageUpdate, Unit>?, messageMediaGroupCallback: SuspendFunction1<MessageMediaGroupUpdate, Unit>?, editedMessageCallback: SuspendFunction1<EditMessageUpdate, Unit>?, editedMessageMediaGroupCallback: SuspendFunction1<EditMessageMediaGroupUpdate, Unit>?, channelPostCallback: SuspendFunction1<ChannelPostUpdate, Unit>?, channelPostMediaGroupCallback: SuspendFunction1<ChannelPostMediaGroupUpdate, Unit>?, editedChannelPostCallback: SuspendFunction1<EditChannelPostUpdate, Unit>?, editedChannelPostMediaGroupCallback: SuspendFunction1<EditChannelPostMediaGroupUpdate, Unit>?, chosenInlineResultCallback: SuspendFunction1<ChosenInlineResultUpdate, Unit>?, inlineQueryCallback: SuspendFunction1<InlineQueryUpdate, Unit>?, callbackQueryCallback: SuspendFunction1<CallbackQueryUpdate, Unit>?, shippingQueryCallback: SuspendFunction1<ShippingQueryUpdate, Unit>?, preCheckoutQueryCallback: SuspendFunction1<PreCheckoutQueryUpdate, Unit>?, pollUpdateCallback: SuspendFunction1<PollUpdate, Unit>?, pollAnswerUpdateCallback: SuspendFunction1<PollAnswerUpdate, Unit>?, unknownUpdateTypeCallback: SuspendFunction1<UnknownUpdate, Unit>?) : UpdatesFilter
UpdateReceiver
Link copied to clipboard
common
typealias UpdateReceiver<T> = kotlin.coroutines.SuspendFunction1<T, kotlin.Unit>
UpdatesFilter
Link copied to clipboard
common
interface UpdatesFilter

Functions

createSimpleUpdateFilter
Link copied to clipboard
common
fun createSimpleUpdateFilter(messageCallback: SuspendFunction1<MessageUpdate, Unit>?, mediaGroupCallback: SuspendFunction1<MediaGroupUpdate, Unit>?, editedMessageCallback: SuspendFunction1<EditMessageUpdate, Unit>?, channelPostCallback: SuspendFunction1<ChannelPostUpdate, Unit>?, editedChannelPostCallback: SuspendFunction1<EditChannelPostUpdate, Unit>?, chosenInlineResultCallback: SuspendFunction1<ChosenInlineResultUpdate, Unit>?, inlineQueryCallback: SuspendFunction1<InlineQueryUpdate, Unit>?, callbackQueryCallback: SuspendFunction1<CallbackQueryUpdate, Unit>?, shippingQueryCallback: SuspendFunction1<ShippingQueryUpdate, Unit>?, preCheckoutQueryCallback: SuspendFunction1<PreCheckoutQueryUpdate, Unit>?, pollCallback: SuspendFunction1<PollUpdate, Unit>?, pollAnswerCallback: SuspendFunction1<PollAnswerUpdate, Unit>?, unknownCallback: SuspendFunction1<UnknownUpdate, Unit>?): UpdatesFilter