feishu-urgent
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFeishu Urgent Tool
飞书加急工具
Single tool for sending urgent (buzz) notifications to recipients for an already-sent message.
feishu_urgent单一工具 用于向收件人发送已发送消息的加急(buzz)通知。
feishu_urgentOverview
概述
Urgent notifications (also called "buzz" in Feishu) send a strong push notification to specified recipients. Use this to escalate important messages that require immediate attention.
Important: The message must already be sent before sending an urgent notification. You need the from a previously sent message.
message_id加急通知(在飞书中也被称为"buzz")会向指定收件人发送强提醒推送通知,可用于升级需要立即处理的重要消息。
重要提示:发送加急通知前,对应消息必须已经发送,你需要获取先前已发送消息的。
message_idUrgency Types
加急类型
| Type | Description | Cost |
|---|---|---|
| In-app buzz notification (popup + sound) | Free |
| SMS push to recipient's phone | May incur cost |
| Voice call to recipient's phone | May incur cost |
| 类型 | 描述 | 成本 |
|---|---|---|
| 应用内加急通知(弹窗+声音) | 免费 |
| 向收件人手机发送短信推送 | 可能产生费用 |
| 向收件人手机拨打语音电话 | 可能产生费用 |
Send App Urgent (Default)
发送应用内加急(默认)
json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx"],
"urgent_type": "app"
}json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx"],
"urgent_type": "app"
}Send SMS Urgent
发送短信加急
json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx"],
"urgent_type": "sms"
}json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx"],
"urgent_type": "sms"
}Send Phone Call Urgent
发送电话加急
json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx"],
"urgent_type": "phone"
}json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx"],
"urgent_type": "phone"
}Multiple Recipients
多收件人场景
json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx", "ou_yyy", "ou_zzz"],
"urgent_type": "app"
}json
{
"message_id": "om_xxx",
"user_ids": ["ou_xxx", "ou_yyy", "ou_zzz"],
"urgent_type": "app"
}Parameters
参数说明
| Parameter | Required | Description |
|---|---|---|
| Yes | Message ID to send urgent notification for (e.g., |
| Yes | List of |
| No | Urgency delivery method: |
| 参数 | 是否必填 | 描述 |
|---|---|---|
| 是 | 需要发送加急通知的消息ID(例如 |
| 是 | 要加急的 |
| 否 | 加急送达方式: |
Response
返回结果
json
{
"ok": true,
"message_id": "om_xxx",
"urgent_type": "app",
"invalid_user_list": []
}- : List of user IDs that could not receive the urgent notification (e.g., not in the chat, or invalid ID).
invalid_user_list
json
{
"ok": true,
"message_id": "om_xxx",
"urgent_type": "app",
"invalid_user_list": []
}- :无法接收加急通知的用户ID列表(例如不在聊天内、或ID无效)。
invalid_user_list
Configuration
配置方式
yaml
channels:
feishu:
tools:
urgent: true # default: trueyaml
channels:
feishu:
tools:
urgent: true # default: truePermissions
权限要求
- - Send in-app urgent notifications
im:message.urgent - - Send SMS urgent notifications (may incur cost)
im:message.urgent:sms - - Send phone call urgent notifications (may incur cost)
im:message.urgent:phone
- - 发送应用内加急通知
im:message.urgent - - 发送短信加急通知(可能产生费用)
im:message.urgent:sms - - 发送电话加急通知(可能产生费用)
im:message.urgent:phone
Notes
注意事项
- Message must exist: The must be from a message that has already been sent. You cannot send urgent notifications for messages being composed.
message_id - Recipients must be chat members: Users in must be members of the chat where the original message was sent.
user_ids - Quota limits: Urgent notifications have quotas (especially and
sms). Errorphone("Reach the upper limit of urgent message") indicates quota exhausted. Contact your tenant admin or check Feishu admin console > Cost Center > Quota.230024 - Invalid user IDs: Returns HTTP 400 error if any user_id is invalid (not found or not in the chat).
- Cost warning: and
smstypes may incur costs on the tenant. Usephone(default) for free notifications.app
- 消息必须已存在:必须来自已发送的消息,无法为正在编辑的消息发送加急通知。
message_id - 收件人必须是聊天成员:中的用户必须是原消息所在聊天的成员。
user_ids - 配额限制:加急通知有配额限制(尤其是和
sms类型)。错误phone("Reach the upper limit of urgent message")表示配额已用尽,请联系租户管理员或查看飞书管理后台 > 成本中心 > 配额。230024 - 无效用户ID:如果有任何user_id无效(未找到或不在聊天内),将返回HTTP 400错误。
- 成本提醒:和
sms类型可能会向租户收取费用,推荐使用默认的phone类型获取免费通知。app