1
0
mirror of synced 2024-11-28 16:06:04 +03:00

Merge pull request #49 from DmitryZagorulko/master

add omitempty originator
This commit is contained in:
Alex Lushpai 2019-02-04 15:09:30 +03:00 committed by GitHub
commit 5496c9b6b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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