-
Notifications
You must be signed in to change notification settings - Fork 44
/
wasm.go
22 lines (19 loc) · 855 Bytes
/
wasm.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package types
import (
"encoding/json"
)
type ReactionsMsg struct {
AddReaction *json.RawMessage `json:"add_reaction"`
RemoveReaction *json.RawMessage `json:"remove_reaction"`
AddRegisteredReaction *json.RawMessage `json:"add_registered_reaction"`
EditRegisteredReaction *json.RawMessage `json:"edit_registered_reaction"`
RemoveRegisteredReaction *json.RawMessage `json:"remove_registered_reaction"`
SetReactionsParams *json.RawMessage `json:"set_reactions_params"`
}
type ReactionsQuery struct {
Reactions *json.RawMessage `json:"reactions"`
Reaction *json.RawMessage `json:"reaction"`
RegisteredReactions *json.RawMessage `json:"registered_reactions"`
RegisteredReaction *json.RawMessage `json:"registered_reaction"`
ReactionsParams *json.RawMessage `json:"reactions_params"`
}