Add more attachment values

This commit is contained in:
Karmanyaah Malhotra 2021-05-08 15:38:54 -04:00
parent f92a8a7a86
commit 7166300503

View File

@ -150,11 +150,14 @@ type Attachment struct {
Loci [][]int `json:"loci,omitempty"` Loci [][]int `json:"loci,omitempty"`
UserIDs []ID `json:"user_ids,omitempty"` UserIDs []ID `json:"user_ids,omitempty"`
URL string `json:"url,omitempty"` URL string `json:"url,omitempty"`
FileID string `json:"file_id,omitempty"`
VideoPreviewURL string `json:"preview_url,omitempty"`
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`
Latitude string `json:"lat,omitempty"` Latitude string `json:"lat,omitempty"`
Longitude string `json:"lng,omitempty"` Longitude string `json:"lng,omitempty"`
Placeholder string `json:"placeholder,omitempty"` Placeholder string `json:"placeholder,omitempty"`
Charmap [][]int `json:"charmap,omitempty"` Charmap [][]int `json:"charmap,omitempty"`
ReplyID ID `json:"reply_id,omitempty"`
} }
func (a *Attachment) String() string { func (a *Attachment) String() string {