Merge pull request #49 from DmitryZagorulko/master
add omitempty originator
This commit is contained in:
commit
5496c9b6b6
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user