# getUpdates - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api / getUpdates

# getUpdates

(common) `suspend fun RequestsExecutor.getUpdates(offset: UpdateIdentifier? = null, limit: Int = getUpdatesLimit.last, timeout: Seconds? = null, allowed_updates: List<String>? = ALL_UPDATES_LIST): List<Update>` (source)
`suspend fun RequestsExecutor.getUpdates(lastUpdate: Update, limit: Int = getUpdatesLimit.last, timeout: Seconds? = null, allowed_updates: List<String>? = ALL_UPDATES_LIST): List<Update>` (source)