import{_ as s,c as n,a,o as e}from"./app-CDdN0tOz.js";const d={};function l(o,t){return e(),n("div",null,t[0]||(t[0]=[a(`<h1 id="富文本节点" tabindex="-1"><a class="header-anchor" href="#富文本节点"><span>富文本节点</span></a></h1><p>补充: 已知动态与图文接口获取结果的富文本节点与发送时的 <code>type</code> 等有关</p><h2 id="富文本节点类型" tabindex="-1"><a class="header-anchor" href="#富文本节点类型"><span>富文本节点类型</span></a></h2><table><thead><tr><th>类型</th><th>说明</th><th>type</th><th>biz_id</th><th>示例</th></tr></thead><tbody><tr><td>RICH_TEXT_NODE_TYPE_NONE</td><td></td><td></td><td></td><td></td></tr><tr><td>RICH_TEXT_NODE_TYPE_TEXT</td><td>文字节点</td><td>1</td><td>空</td><td><a href="https://t.bilibili.com/106514206257210983" target="_blank" rel="noopener noreferrer">106514206257210983</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_AT</td><td>@用户</td><td>2</td><td>用户 mid (UID)</td><td><a href="https://t.bilibili.com/721296515797090324" target="_blank" rel="noopener noreferrer">721296515797090324</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_LOTTERY</td><td>互动抽奖</td><td>3</td><td>抽奖 id</td><td><a href="https://t.bilibili.com/720907383182721040" target="_blank" rel="noopener noreferrer">720907383182721040</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_VOTE</td><td>投票</td><td>4</td><td>投票 id</td><td><a href="https://t.bilibili.com/721203899129659408" target="_blank" rel="noopener noreferrer">721203899129659408</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_TOPIC</td><td>话题</td><td></td><td></td><td><a href="https://t.bilibili.com/721188862459641879" target="_blank" rel="noopener noreferrer">721188862459641879</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_GOODS</td><td>商品链接</td><td></td><td></td><td><a href="https://t.bilibili.com/721282703208480790" target="_blank" rel="noopener noreferrer">721282703208480790</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_BV</td><td>视频链接</td><td></td><td></td><td><a href="https://t.bilibili.com/716752002311258165" target="_blank" rel="noopener noreferrer">716752002311258165</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_AV</td><td></td><td></td><td></td><td></td></tr><tr><td>RICH_TEXT_NODE_TYPE_EMOJI</td><td>表情</td><td>9</td><td>空</td><td><a href="https://t.bilibili.com/1069394178937454662" target="_blank" rel="noopener noreferrer">1069394178937454662</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_CV</td><td>专栏</td><td></td><td></td><td></td></tr><tr><td>RICH_TEXT_NODE_TYPE_VIEW_PICTURE</td><td>查看图片</td><td></td><td></td><td><a href="https://t.bilibili.com/1069394178937454662" target="_blank" rel="noopener noreferrer">1069394178937454662</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_WEB</td><td>网页链接</td><td></td><td></td><td><a href="https://t.bilibili.com/716751027361022055" target="_blank" rel="noopener noreferrer">716751027361022055</a></td></tr><tr><td>RICH_TEXT_NODE_TYPE_TAOBAO</td><td></td><td></td><td></td><td></td></tr><tr><td>RICH_TEXT_NODE_TYPE_MAIL</td><td>邮箱地址</td><td></td><td></td><td><s>721314095109767220</s></td></tr><tr><td>RICH_TEXT_NODE_TYPE_OGV_SEASON</td><td>剧集信息</td><td></td><td></td><td><s>721282046064853080</s></td></tr><tr><td>RICH_TEXT_NODE_TYPE_OGV_EP</td><td></td><td></td><td></td><td></td></tr></tbody></table><h2 id="富文本节点对象" tabindex="-1"><a class="header-anchor" href="#富文本节点对象"><span>富文本节点对象</span></a></h2><h3 id="rich-text-node-type-text" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-text"><span>RICH_TEXT_NODE_TYPE_TEXT</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般与 <code>orig_text</code> 内容相同</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_TEXT</code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;【洛天依·共鸣宝石收藏家】设定也分享给大家~！&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;【洛天依·共鸣宝石收藏家】设定也分享给大家~！&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_TEXT&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-at" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-at"><span>RICH_TEXT_NODE_TYPE_AT</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>rid</td><td>string</td><td>用户 mid (UID)</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般与 <code>orig_text</code> 内容相同</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_AT</code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;@wuziqian211 &quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;rid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;425503913&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;@wuziqian211 &quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_AT&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-lottery" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-lottery"><span>RICH_TEXT_NODE_TYPE_LOTTERY</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>orig_text</td><td>string</td><td>原始文本</td><td>一般为 <code>互动抽奖</code></td></tr><tr><td>rid</td><td>string</td><td>抽奖 id</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般为 <code>互动抽奖</code></td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_LOTTERY</code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;互动抽奖&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;rid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;116067&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;互动抽奖&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_LOTTERY&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-vote" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-vote"><span>RICH_TEXT_NODE_TYPE_VOTE</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>rid</td><td>string</td><td>抽奖 id</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般与 <code>orig_text</code> 一致</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_VOTE</code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;次の文の ★ に入る最もよいものを一つ選びなさい。&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;rid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;3925886&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;次の文の ★ に入る最もよいものを一つ選びなさい。&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_VOTE&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-topic" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-topic"><span>RICH_TEXT_NODE_TYPE_TOPIC</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>jump_url</td><td>string</td><td>跳转 URL</td><td>无协议头</td></tr><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般与 <code>orig_text</code> 一致</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_TOPIC </code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;//search.bilibili.com/all?keyword=ASOUL%E7%9A%84%E5%A5%87%E5%A6%99%E5%AE%87%E5%AE%99&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;#ASOUL的奇妙宇宙#&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;#ASOUL的奇妙宇宙#&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_TOPIC&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-goods" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-goods"><span>RICH_TEXT_NODE_TYPE_GOODS</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>goods</td><td>object</td><td>商品信息</td><td></td></tr><tr><td>icon_name</td><td>string</td><td>图标名称</td><td><code>shop</code> <code>taobao</code></td></tr><tr><td>jump_url</td><td>string</td><td>跳转 URL</td><td></td></tr><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>rid</td><td>string</td><td></td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般与 <code>orig_text</code> 一致</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_GOODS</code></td><td></td></tr></tbody></table><p><code>goods</code> 对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>jump_url</td><td>string</td><td>跳转 URL</td><td>一般与根对象下的 <code>jump_url</code> 相同</td></tr><tr><td>type</td><td>number</td><td><code>1</code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;goods&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://s.click.taobao.com/t?e=m%3D2%26s%3DhRVW5Ol4GrZw4vFB6t2Z2ueEDrYVVa64XoO8tOebS%2BdRAdhuF14FMcvdLjw%2BYA8F1aH1Hk3GeOgLhuv3v%2BUO0FVeaszYyErWfp5XqHpg%2Bfwn9kK7XrZu6WxZ8BPtnRZfqGXK58Jc1%2BhtJfOipEYQaSY0lFm97JITUXK%2FCnFktAT05J9EjZ4Cg6Q6sZp7gNLmb4%2BNtrBbTSxr7mxbAs%2BuXGY7X5f4YTwUTi8eJkfcZdQxNgzykgJnxNGRxz%2FytfH1UnsQ1Sg4FG%2Fgk553RHFro7zDM6tzzB%2FwUFU78FEla0%2F6liDBUuxx%2BfRWY0eqeyPKGJZJ34Yh7cK34L0nA6HzjPrdYgTMW7Qubh8ReVU%2F9k2Huec2Q%2B1T%2BJwkZZwMWMdb2FGsw09L73Dq%2F8VFknkEdmd1Il7G%2BufOO%2FbGmELtDp4hhQs2DjqgEA%3D%3D&amp;union_lens=lensId:TAPI@1674460806@212ccf35_0bed_185dda43d7a_a840@01&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span></span>
<span class="line"><span style="color:#D4D4D4;">  },</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;icon_name&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;taobao&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://s.click.taobao.com/t?e=m%3D2%26s%3DhRVW5Ol4GrZw4vFB6t2Z2ueEDrYVVa64XoO8tOebS%2BdRAdhuF14FMcvdLjw%2BYA8F1aH1Hk3GeOgLhuv3v%2BUO0FVeaszYyErWfp5XqHpg%2Bfwn9kK7XrZu6WxZ8BPtnRZfqGXK58Jc1%2BhtJfOipEYQaSY0lFm97JITUXK%2FCnFktAT05J9EjZ4Cg6Q6sZp7gNLmb4%2BNtrBbTSxr7mxbAs%2BuXGY7X5f4YTwUTi8eJkfcZdQxNgzykgJnxNGRxz%2FytfH1UnsQ1Sg4FG%2Fgk553RHFro7zDM6tzzB%2FwUFU78FEla0%2F6liDBUuxx%2BfRWY0eqeyPKGJZJ34Yh7cK34L0nA6HzjPrdYgTMW7Qubh8ReVU%2F9k2Huec2Q%2B1T%2BJwkZZwMWMdb2FGsw09L73Dq%2F8VFknkEdmd1Il7G%2BufOO%2FbGmELtDp4hhQs2DjqgEA%3D%3D&amp;union_lens=lensId:TAPI@1674460806@212ccf35_0bed_185dda43d7a_a840@01&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;​啊脑袋周边抱枕&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;rid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;688066082845462528&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;​啊脑袋周边抱枕&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_GOODS&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-bv" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-bv"><span>RICH_TEXT_NODE_TYPE_BV</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>jump_url</td><td>string</td><td>跳转 URL</td><td></td></tr><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>rid</td><td>string</td><td>视频 bvid</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>视频标题</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_BV</code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://www.bilibili.com/video/BV1xx411c7mD/&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://www.bilibili.com/video/BV1xx411c7mD/&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;rid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;BV1xx411c7mD&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;字幕君交流场所&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_BV&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-emoji" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-emoji"><span>RICH_TEXT_NODE_TYPE_EMOJI</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>emoji</td><td>object</td><td>表情信息</td><td></td></tr><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般与 <code>orig_text</code> 一致</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_EMOJI</code></td><td></td></tr></tbody></table><p><code>emoji</code> 对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>icon_url</td><td>string</td><td>表情图片 URL</td><td></td></tr><tr><td>size</td><td>number</td><td>表情尺寸</td><td>1: small<br>2: middle</td></tr><tr><td>text</td><td>string</td><td>表情的文字代码</td><td>一般与根对象的 <code>text</code> 一致</td></tr><tr><td>type</td><td>number</td><td>表情类型</td><td><code>1</code> <code>2</code> <code>3</code></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;emoji&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;icon_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://i0.hdslb.com/bfs/emote/5ce649d5f716566db41dbf68c2e319517516d321.png&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;size&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;[热词系列_干杯]&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span></span>
<span class="line"><span style="color:#D4D4D4;">  },</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;[热词系列_干杯]&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;[热词系列_干杯]&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_EMOJI&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-cv" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-cv"><span>RICH_TEXT_NODE_TYPE_CV</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>jump_url</td><td>string</td><td>跳转 URL</td><td>无协议名</td></tr><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>rid</td><td>string</td><td>专栏 CV 号</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td></td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_CV</code></td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;//www.bilibili.com/read/cv1/&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;1&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;rid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;1&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;未知的光&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_CV&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-view-picture" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-view-picture"><span>RICH_TEXT_NODE_TYPE_VIEW_PICTURE</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>jump_url</td><td>string</td><td></td><td></td></tr><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>pics</td><td>object[]</td><td>图片信息</td><td></td></tr><tr><td>rid</td><td>string</td><td>本条动态 id</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td>一般与 <code>orig_text</code> 一致</td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_VIEW_PICTURE </code></td><td></td></tr></tbody></table><p><code>pics[]</code> 对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>height</td><td>number</td><td>高度</td><td></td></tr><tr><td>size</td><td>number</td><td>大小?</td><td>单位为 K</td></tr><tr><td>src</td><td>string</td><td>图片 URL</td><td></td></tr><tr><td>width</td><td>number</td><td>宽度</td><td></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;//www.bilibili.com/read/cv/&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;查看图片&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;pics&quot;</span><span style="color:#D4D4D4;">: [</span></span>
<span class="line"><span style="color:#D4D4D4;">    {</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;height&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4000</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;size&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4218.501</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;src&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;http://i0.hdslb.com/bfs/new_dyn/d13a5793f7101824e9c9181ebc4df1a936081646.png&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;width&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">6411</span></span>
<span class="line"><span style="color:#D4D4D4;">    }</span></span>
<span class="line"><span style="color:#D4D4D4;">  ],</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;rid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;1069394178937454662&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;查看图片&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_VIEW_PICTURE&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-web" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-web"><span>RICH_TEXT_NODE_TYPE_WEB</span></a></h3><p>根对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>jump_url</td><td>string</td><td>跳转 URL</td><td></td></tr><tr><td>orig_text</td><td>string</td><td>原始文本</td><td></td></tr><tr><td>style</td><td>object | null</td><td>样式信息</td><td></td></tr><tr><td>text</td><td>string</td><td>显示文本</td><td></td></tr><tr><td>type</td><td>string</td><td><code>RICH_TEXT_NODE_TYPE_WEB</code></td><td></td></tr></tbody></table><p><code>style</code> 对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>font_level</td><td>string</td><td>字体等级</td><td><code>regular</code></td></tr><tr><td>font_size</td><td>number</td><td>字体大小</td><td><code>17</code></td></tr></tbody></table><p><strong>示例:</strong></p><details><summary>查看示例:</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://api.bilibili.com/x/web-interface/nav&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://api.bilibili.com/x/web-interface/nav&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;style&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;font_level&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;regular&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;font_size&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">17</span></span>
<span class="line"><span style="color:#D4D4D4;">  },</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;网页链接&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_WEB&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;//www.bilibili.com/video/av1&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;orig_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;//www.bilibili.com/video/av1&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;style&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;av1&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;RICH_TEXT_NODE_TYPE_WEB&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h3 id="rich-text-node-type-ogv-season" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-ogv-season"><span>RICH_TEXT_NODE_TYPE_OGV_SEASON</span></a></h3><p>参考 <a href="#rich-text-node-type-bv">RICH_TEXT_NODE_TYPE_BV</a></p><h3 id="rich-text-node-type-ogv-ep" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-ogv-ep"><span>RICH_TEXT_NODE_TYPE_OGV_EP</span></a></h3><p>参考 <a href="#rich-text-node-type-bv">RICH_TEXT_NODE_TYPE_BV</a></p><h3 id="rich-text-node-type-av" tabindex="-1"><a class="header-anchor" href="#rich-text-node-type-av"><span>RICH_TEXT_NODE_TYPE_AV</span></a></h3><p>参考 <a href="#rich-text-node-type-bv">RICH_TEXT_NODE_TYPE_BV</a></p>`,74)]))}const p=s(d,[["render",l]]),i=JSON.parse('{"path":"/docs/opus/rich_text_nodes.html","title":"富文本节点","lang":"zh-CN","frontmatter":{},"git":{"updatedTime":1752287039000,"contributors":[{"name":"SessionHu","username":"SessionHu","email":"102411014+SessionHu@users.noreply.github.com","commits":2,"url":"https://github.com/SessionHu"}],"changelog":[{"hash":"b95b67915e517ad561ec84d763d2acc1db4b8dbe","time":1752287039000,"email":"102411014+SessionHu@users.noreply.github.com","author":"SessionHu","message":"fix(ops/rich_text_nodes.md): heading level"},{"hash":"45ecbeda3633f445ddb8cb9aebcf966ff9934750","time":1751944101000,"email":"102411014+SessionHu@users.noreply.github.com","author":"SessionHu","message":"feat: rich text nodes for opus or dynamic"}]},"filePathRelative":"docs/opus/rich_text_nodes.md"}');export{p as comp,i as data};
