👽 Update attachment reference to string

This commit is contained in:
2024-08-18 21:29:55 +08:00
parent 1bc687eba6
commit dfa3b6b362
4 changed files with 9 additions and 34 deletions

View File

@ -24,10 +24,10 @@ type Event struct {
// Event Payloads
type EventMessageBody struct {
Text string `json:"text,omitempty"`
Algorithm string `json:"algorithm,omitempty"`
Attachments []uint `json:"attachments,omitempty"`
QuoteEvent uint `json:"quote_event,omitempty"`
RelatedEvent uint `json:"related_event,omitempty"`
RelatedUsers []uint `json:"related_users,omitempty"`
Text string `json:"text,omitempty"`
Algorithm string `json:"algorithm,omitempty"`
Attachments []string `json:"attachments,omitempty"`
QuoteEvent uint `json:"quote_event,omitempty"`
RelatedEvent uint `json:"related_event,omitempty"`
RelatedUsers []uint `json:"related_users,omitempty"`
}