From 9cdb3e161bd7b7ee0c7b30d58baf8e8e0b02b891 Mon Sep 17 00:00:00 2001 From: AliMVP Date: Fri, 7 Sep 2018 15:52:46 +0430 Subject: [PATCH] - Added Caption Entities Type - Added Animation Type --- types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types.go b/types.go index 5d0f563..1e13c7e 100644 --- a/types.go +++ b/types.go @@ -142,6 +142,8 @@ type Message struct { EditDate int `json:"edit_date"` // optional Text string `json:"text"` // optional Entities *[]MessageEntity `json:"entities"` // optional + CaptionEntities *[]MessageEntity `json:"caption_entities"` // optional + Animation *Animation `json:"animation"` // optional Audio *Audio `json:"audio"` // optional Document *Document `json:"document"` // optional Game *Game `json:"game"` // optional