Get Updates
data class GetUpdates(offset: UpdateIdentifier?, limit: Int, timeout: Seconds?, allowed_updates: List<String>?) : SimpleRequest<List<Update>>
Content copied to clipboard
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
dev.inmo.tgbotapi.utils.convertWithMediaGroupUpdates
Constructors
GetUpdates
Link copied to clipboard
fun GetUpdates(offset: UpdateIdentifier? = null, limit: Int = getUpdatesLimit.last, timeout: Seconds? = null, allowed_updates: List<String>? = ALL_UPDATES_LIST)
Content copied to clipboard
Functions
Properties
allowed_updates
Link copied to clipboard
offset
Link copied to clipboard
requestSerializer
Link copied to clipboard
resultDeserializer
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<List<Update>>
Content copied to clipboard