警告异常
<table>
<thead>
<tr>
<th>Column Name</th>
<th>Name</th>
<th>Type</th>
<th>Constraint</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>need_reply</td>
<td>是否需要答复</td>
<td>int</td>
<td>-</td>
<td>是否需要答复,通常用 0 或 1 表示(0 表示不需要,1 表示需要)。</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>Column Name</th>
<th>Name</th>
<th>Type</th>
<th>Constraint</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>event</td>
<td>事件对象</td>
<td>object</td>
<td>必填</td>
<td>包含事件的详细信息。</td>
</tr>
<tr>
<td>notify</td>
<td>通知内容</td>
<td>object</td>
<td>必填</td>
<td>包含事件的通知信息。</td>
</tr>
<tr>
<td>level</td>
<td>通知</td>
<td>级别 string</td>
<td>可选</td>
<td>通知的优先级或级别,例如 <code>&quot;0&quot;</code> 表示普通级别。</td>
</tr>
<tr>
<td>message</td>
<td>消息内容</td>
<td>string</td>
<td>必填</td>
<td>简短的通知消息,例如 <code>&quot;电量低&quot;</code>。</td>
</tr>
<tr>
<td>is_error</td>
<td>错误标识</td>
<td>string</td>
<td>必填</td>
<td>是否为错误事件,通常用 <code>&quot;true&quot;</code> 或 <code>&quot;false&quot;</code> 表示。</td>
</tr>
<tr>
<td>detail_message</td>
<td>详细消息</td>
<td>string</td>
<td>可选</td>
<td>更详细的事件描述,例如 <code>&quot;电量低&quot;</code>。</td>
</tr>
</tbody>
</table>
<pre><code class="language-json">{
&quot;tid&quot;: &quot;6a7bfe89-c386-4043-b600-b518e10096cc&quot;,
&quot;bid&quot;: &quot;42a19f36-5117-4520-bd13-fd61d818d52e&quot;,
&quot;timestamp&quot;: 1598411295123,
&quot;need_reply&quot;: 0,
&quot;method&quot;: &quot;event.report&quot;,
&quot;data&quot;: {
&quot;event&quot;: {
&quot;notify&quot;: {
&quot;level&quot;: &quot;0&quot;,
&quot;message&quot;: &quot;电量低&quot;,
&quot;is_error&quot;: &quot;true&quot;,
&quot;detail_message&quot;: &quot;电量低&quot;
}
}
}
}</code></pre>