mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-03 14:50:49 +00:00
2.0 KiB
2.0 KiB
//docs/dev.inmo.tgbotapi.extensions.api/getUpdates
getUpdates
[common]
Content
suspend fun TelegramBot.getUpdates(offset: UpdateIdentifier? = null, limit: Int = getUpdatesLimit.last, timeout: Seconds? = null, allowed_updates: List<String>? = ALL_UPDATES_LIST): List<Update>
suspend fun TelegramBot.getUpdates(lastUpdate: Update, limit: Int = getUpdatesLimit.last, timeout: Seconds? = null, allowed_updates: List<String>? = ALL_UPDATES_LIST): List<Update>