From 06bee671fb632e58f14740d67f6bad0338acbd99 Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Wed, 25 Oct 2017 13:21:58 +0500 Subject: [PATCH] :bug: Fixed unix date format in WebhookInfo structure --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index 2a88cd3..64ec604 100644 --- a/types.go +++ b/types.go @@ -139,7 +139,7 @@ type ( // Unix time for the most recent error that happened when trying to // deliver an update via webhook - LastErrorDate int `json:"last_error_date,omitempty"` + LastErrorDate int64 `json:"last_error_date,omitempty"` // Error message in human-readable format for the most recent error that // happened when trying to deliver an update via webhook