1
0
mirror of synced 2024-11-22 04:56:06 +03:00

add omitempty originator

This commit is contained in:
DmitryZagorulko 2019-02-04 14:44:22 +03:00
parent 0860b2bcb4
commit 19de0e513c

View File

@ -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"`