1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-10 10:46:20 +00:00

remove optional

This commit is contained in:
2019-04-13 09:38:25 +08:00
parent ddd7425033
commit c40e857a23
102 changed files with 0 additions and 407 deletions

View File

@@ -28,13 +28,9 @@ const val UPDATE_PRE_CHECKOUT_QUERY = com.github.insanusmokrassar.TelegramBotAPI
@Serializable
data class GetUpdates(
@Optional
val offset: UpdateIdentifier? = null,// set `last update id + 1` to receive next part of updates
@Optional
val limit: Int? = null,
@Optional
val timeout: Int? = null,
@Optional
val allowed_updates: List<String>? = ALL_UPDATES_LIST
): SimpleRequest<List<RawUpdate>> {
override fun method(): String = "getUpdates"