Attachment comment

This commit is contained in:
Philipp Heckel 2022-01-15 23:53:40 -05:00
parent 91d40dcc91
commit df4585af6b
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ type Message struct { // TODO combine with server.message
Raw string
}
// Attachment represents a message attachment
type Attachment struct {
Name string `json:"name"`
Type string `json:"type,omitempty"`