Skip to content

群API

本页对应 src/app/group/register-group-actions.ts

Action 列表

Action说明
get_group_list获取群列表
get_group_info获取群资料
get_group_msg获取群消息列表
get_group_member_info获取群成员资料
send_nudge_to_member对群成员发送戳一戳

获取群列表

Action: get_group_list

TIP

无需请求参数

响应数据:

群信息数组,群信息结构如下:

字段类型说明
codeint64群id
namestring群名称
avatar_urlstring群头像链接
rolestring(enum)'owner'(群主) / 'member'(群成员) / 'manager'(管理员)
topboolean是否置顶
topped_timestampint64置顶时间
is_confboolean待确认

获取群资料

Action: get_group_info

请求数据:

字段类型说明
group_idint64群id

响应数据:

字段类型说明
idint64群id
namestring群名称
avatar_urlstring群头像