# startGettingOfUpdates - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.updates / startGettingOfUpdates

# startGettingOfUpdates

(common) `fun RequestsExecutor.startGettingOfUpdates(timeoutSeconds: Seconds = 30, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), exceptionsHandler: (suspend (Exception) -> Unit)? = null, allowedUpdates: List<String>? = null, updatesReceiver: UpdateReceiver<Update>): Job` (source)
`fun RequestsExecutor.startGettingOfUpdates(updatesFilter: UpdatesFilter, timeoutSeconds: Seconds = 30, exceptionsHandler: (suspend (Exception) -> Unit)? = null, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): Job` (source)
`fun RequestsExecutor.startGettingOfUpdates(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, pollCallback: UpdateReceiver<PollUpdate>? = null, pollAnswerCallback: UpdateReceiver<PollAnswerUpdate>? = null, timeoutSeconds: Seconds = 30, exceptionsHandler: (suspend (Exception) -> Unit)? = null, scope: CoroutineScope = GlobalScope): Job` (source)
`fun RequestsExecutor.startGettingOfUpdates(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, timeoutSeconds: Seconds = 30, exceptionsHandler: (suspend (Exception) -> Unit)? = null, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): Job` (source)