embed 消息 |
您所在的位置:网站首页 › qq机器人菜单样式在哪 › embed 消息 |
# embed 消息 # 样式 application/json # 参数 字段名 类型 描述 embed MessageEmbed embed 消息详情 其中 embed.thumbnail 为选填,没有缩略图的可以不填。 embed.fields.name 为文本。 # 返回返回Message 对象。 # 错误码详见错误码。 # 示例请求数据包 { "embed": { "title": "标题", "prompt": "消息通知", "thumbnail": { "url": "xxxxxx" }, "fields": [ { "name": "当前等级:黄金" }, { "name": "之前等级:白银" }, { "name": "😁继续努力" } ] } } 1234567891011121314151617181920返回包 { "id": "xxxxxx", "channel_id": "xxxxxx", "guild_id": "xxxxxx", "timestamp": "2021-12-07T15:24:54+08:00", "tts": false, "mention_everyone": false, "author": { "id": "xxxxxx", "username": "abc", "avatar": "", "bot": true }, "embeds": [ { "title": "标题", "prompt": "xxxx", "description": "", "thumbnail": { "url": "xxxxxx" }, "fields": [ { "name": "当前等级:黄金" }, { "name": "之前等级:白银" }, { "name": "😁继续努力" } ] } ], "pinned": false, "type": 0, "flags": 0 } 1234567891011121314151617181920212223242526272829303132333435363738 上次更新: 12/26/2021, 6:57:43 PM← 消息模板 23 链接+文本列表模板 → 贡献者🎉 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |