15 lines
756 B
Go
15 lines
756 B
Go
package models
|
|
|
|
// WebhookInfo https://core.telegram.org/bots/api#webhookinfo
|
|
type WebhookInfo struct {
|
|
URL string `json:"url"`
|
|
HasCustomCertificate bool `json:"has_custom_certificate"`
|
|
PendingUpdateCount int `json:"pending_update_count"`
|
|
IPAddress string `json:"ip_address,omitempty"`
|
|
LastErrorDate int `json:"last_error_date,omitempty"`
|
|
LastErrorMessage string `json:"last_error_message,omitempty"`
|
|
LastSynchronizationErrorDate int `json:"last_synchronization_error_date,omitempty"`
|
|
MaxConnections int `json:"max_connections,omitempty"`
|
|
AllowedUpdates []string `json:"allowed_updates,omitempty"`
|
|
}
|