mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 00:57:13 +00:00
add support of WebhookInfo#lastSynchronizationErrorDate
This commit is contained in:
parent
2dcbc0df32
commit
ba85b8657d
@ -154,6 +154,7 @@ const val dropPendingUpdatesField = "drop_pending_updates"
|
||||
const val hasCustomCertificateField = "has_custom_certificate"
|
||||
const val pendingUpdateCountField = "pending_update_count"
|
||||
const val lastErrorDateField = "last_error_date"
|
||||
const val lastSynchronizationErrorDateField = "last_synchronization_error_date"
|
||||
const val lastErrorMessageField = "last_error_message"
|
||||
const val votesCountField = "voter_count"
|
||||
const val isClosedField = "is_closed"
|
||||
|
@ -16,6 +16,8 @@ data class WebhookInfo(
|
||||
val allowedUpdates: List<String> = ALL_UPDATES_LIST,
|
||||
@SerialName(lastErrorDateField)
|
||||
val lastErrorDate: TelegramDate? = null,
|
||||
@SerialName(lastSynchronizationErrorDateField)
|
||||
val lastSynchronizationErrorDate: TelegramDate? = null,
|
||||
@SerialName(lastErrorMessageField)
|
||||
val lastErrorMessage: String? = null
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user