Add Emojis to Status
parent
689663979a
commit
1d165763fa
|
@ -205,6 +205,13 @@ type Attachment struct {
|
||||||
TextURL string `json:"text_url"`
|
TextURL string `json:"text_url"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Emoji hold information for CustomEmoji.
|
||||||
|
type Emoji struct {
|
||||||
|
ShortCode string `json:"shortcode"`
|
||||||
|
URL string `json:"url"`
|
||||||
|
StaticURL string `json:"static_url"`
|
||||||
|
}
|
||||||
|
|
||||||
// Results hold information for search result.
|
// Results hold information for search result.
|
||||||
type Results struct {
|
type Results struct {
|
||||||
Accounts []*Account `json:"accounts"`
|
Accounts []*Account `json:"accounts"`
|
||||||
|
|
|
@ -20,6 +20,7 @@ type Status struct {
|
||||||
Application Application `json:"application"`
|
Application Application `json:"application"`
|
||||||
Account Account `json:"account"`
|
Account Account `json:"account"`
|
||||||
MediaAttachments []Attachment `json:"media_attachments"`
|
MediaAttachments []Attachment `json:"media_attachments"`
|
||||||
|
Emojis []Emoji `json:"emojis"`
|
||||||
Mentions []Mention `json:"mentions"`
|
Mentions []Mention `json:"mentions"`
|
||||||
Tags []Tag `json:"tags"`
|
Tags []Tag `json:"tags"`
|
||||||
URI string `json:"uri"`
|
URI string `json:"uri"`
|
||||||
|
|
Loading…
Reference in New Issue