CustomEmoji
表示一个自定义表情。
示例
{
"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"
}
属性
shortcode
描述: 自定义表情的名称。
类型: 字符串
版本历史:
2.0.0 - 添加
url
描述: 自定义表情的链接。
类型: 字符串 (URL)
版本历史:
2.0.0 - 添加
static_url
描述: 自定义表情的静态副本的链接。
类型: 字符串 (URL)
版本历史:
2.0.0 - 添加
visible_in_picker
描述: 此表情是否在选择器中可见或不公开列出。
类型: 布尔值
版本历史:
2.0.0 - 添加
category
描述: 用于在选择器中对自定义表情进行排序。
类型: nullable 字符串
版本历史:
3.0.0 - 添加
参见
GET /api/v1/custom_emojis Status (emojis attribute)
Announcement (emojis attribute)
app/serializers/rest/custom_emoji_serializer.rb翻译状态: 本文是英文页面 CustomEmoji 的翻译,最后翻译时间:2025-04-21,点击这里可以查看翻译后页面的改动。