Debian Codegraph @

pkg/services/chat/signal/signal_json.go

raw
1 package signal
2
3 // sendMessagePayload represents the JSON payload for sending a Signal message.
4 type sendMessagePayload struct {
5 Message string `json:"message"`
6 Number string `json:"number"`
7 Recipients []string `json:"recipients"`
8 Base64Attachments []string `json:"base64_attachments,omitempty"`
9 }
10
11 // sendMessageResponse represents the response from the Signal REST API.
12 type sendMessageResponse struct {
13 Timestamp int64 `json:"timestamp"`
14 }