GetUpdates

data class GetUpdates(offset: UpdateIdentifier?, limit: Int, timeout: Seconds?, allowed_updates: List<String>?) : SimpleRequest<List<Update>>

Request updates from Telegram Bot API system. It is important, that the result updates WILL NOT include dev.inmo.tgbotapi.types.update.MediaGroupUpdates.MediaGroupUpdate objects due to the fact, that it is internal abstraction and in fact any dev.inmo.tgbotapi.types.message.abstracts.MediaGroupMessage is just a common dev.inmo.tgbotapi.types.message.abstracts.Message

See also

Constructors

GetUpdates
Link copied to clipboard
common
fun GetUpdates(offset: UpdateIdentifier? = null, limit: Int = getUpdatesLimit.last, timeout: Seconds? = null, allowed_updates: List<String>? = ALL_UPDATES_LIST)

Functions

method
Link copied to clipboard
common
open override fun method(): String

Properties

allowed_updates
Link copied to clipboard
common
val allowed_updates: List<String>?
limit
Link copied to clipboard
common
val limit: Int
offset
Link copied to clipboard
common
val offset: UpdateIdentifier? = null
requestSerializer
Link copied to clipboard
common
open override val requestSerializer: SerializationStrategy<*>
resultDeserializer
Link copied to clipboard
common
open override val resultDeserializer: DeserializationStrategy<List<Update>>
timeout
Link copied to clipboard
common
val timeout: Seconds? = null