CustomEmoji
Represents a custom emoji.
Example
{
"shortcode": "blobaww",
"url": "https://files.mastodon.social/custom_emojis/images/000/011/739/original/blobaww.png",
"static_url": "https://files.mastodon.social/custom_emojis/images/000/011/739/static/blobaww.png",
"visible_in_picker": true,
"category": "Blobs"
}
Attributes
shortcode
Description: The name of the custom emoji.
Type: String
Version history:
2.0.0 - added
url
Description: A link to the custom emoji.
Type: String (URL)
Version history:
2.0.0 - added
static_url
Description: A link to a static copy of the custom emoji.
Type: String (URL)
Version history:
2.0.0 - added
visible_in_picker
Description: Whether this Emoji should be visible in the picker or unlisted.
Type: Boolean
Version history:
2.0.0 - added
category
Description: Used for sorting custom emoji in the picker.
Type: nullable String
Version history:
3.0.0 - added
See also
GET /api/v1/custom_emojis Status (emojis
attribute)
Announcement (emojis
attribute)
app/serializers/rest/custom_emoji_serializer.rbLast updated April 29, 2024 · Improve this page