IM主动授权webhook
概述
事件名 | 事件介绍 |
---|---|
im_authorize | IM主动授权 |
事件参数
参数 | 类型 | 含义 | ||
---|---|---|---|---|
event | string | 事件名,事件唯一标识 | im_authorize | |
from_user_id | string | 授权方user_id,加密 | ||
to_user_id | string | 被授权方user_id,加密 | ||
client_key | string | 使用应用的client_key | ||
content | string | 具体内容 | ||
create_time | int | 创 建时间 | 1670229453 | |
expire_time | int | 过期时间 | 1670229453 | |
update_time | int | 更新时间 | 1670229453 | |
operation_type | int | 操作类型,1-新增,2-更新 | 1 | |
auth_status | int | 授权状态,1-授权中, 2-未授权 | 1 | |
source | string | 授权场景,发送私信时,scene字段传该值 | im.direct_message.bind | |
extra | string | 扩展字段 | "" | |
log_id | string | 日志ID | 2022120516373301015903714833078B1B |