GetUpdatesRaw

@Serializable
data class GetUpdatesRaw(val offset: UpdateId? = null, val limit: Int = getUpdatesLimit.last, val timeout: Seconds? = null, val allowed_updates: List<String>? = ALL_UPDATES_LIST) : GetUpdatesRequest<JsonArray>

Raw variant of GetUpdates. This type will be useful in case you wish to get some updates and handle them by yourself or with dev.inmo.tgbotapi.utils.convertWithMediaGroupUpdates

Constructors

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

Properties

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

Functions

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