From 8f465073fea735df47cd2a4bc95ff2a634f48b97 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 27 Feb 2019 16:42:44 +0300 Subject: [PATCH] Update MessagesRequest struct --- v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/types.go b/v1/types.go index 160d3fe..2b5ffd7 100644 --- a/v1/types.go +++ b/v1/types.go @@ -146,7 +146,7 @@ type ( } MessagesRequest struct { - ID uint64 `url:"id,omitempty"` + ID []int `url:"id,omitempty"` ChatID uint64 `url:"chat_id,omitempty" json:"chat_id"` DialogID uint64 `url:"dialog_id,omitempty" json:"dialog_id"` UserID uint64 `url:"user_id,omitempty" json:"user_id"`