send: body any type.
This commit is contained in:
parent
8e13a60677
commit
ced0a89bbe
1 changed files with 9 additions and 9 deletions
|
|
@ -177,12 +177,12 @@ type SendUnicast struct {
|
||||||
Sender string `json:"sender"`
|
Sender string `json:"sender"`
|
||||||
Receiver string `json:"receiver"`
|
Receiver string `json:"receiver"`
|
||||||
Subject string `json:"subject"`
|
Subject string `json:"subject"`
|
||||||
Body string `json:"body"`
|
Body interface{} `json:"body"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SendBroadcast struct {
|
type SendBroadcast struct {
|
||||||
Event string `json:"event,omitempty"`
|
Event string `json:"event,omitempty"`
|
||||||
Sender string `json:"sender"`
|
Sender string `json:"sender"`
|
||||||
Subject string `json:"subject"`
|
Subject string `json:"subject"`
|
||||||
Body string `json:"body"`
|
Body interface{} `json:"body"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue