From 19de0e513c28ba23a556745910ab8ca80f005a0c Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Mon, 4 Feb 2019 14:44:22 +0300 Subject: [PATCH] add omitempty originator --- v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/types.go b/v1/types.go index 2ca2309..43cfb56 100644 --- a/v1/types.go +++ b/v1/types.go @@ -233,7 +233,7 @@ type EditMessageRequestMessage struct { // SendData struct type SendData struct { Message Message `json:"message"` - Originator string `json:"originator"` + Originator string `json:"originator,omitempty"` User User `json:"user"` Channel uint64 `json:"channel"` ExternalChatID string `json:"external_chat_id"`