diff --git a/subscribe_message.go b/subscribe_message.go index c4002bd..b16b43a 100644 --- a/subscribe_message.go +++ b/subscribe_message.go @@ -1,8 +1,10 @@ package overflow_subscriber +import "encoding/json" + type SubscribeMessage struct { - Targets []string `json:"targets"` - Message []byte `json:"message"` + Targets []string `json:"targets"` + Message *json.RawMessage `json:"message"` } type SubscribeMessageBody struct {