add omitempty originator
This commit is contained in:
parent
0860b2bcb4
commit
19de0e513c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue