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

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

Functions

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

Properties

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