WeChat.MiniProgram.Live.Role.add_role
You're seeing just the function
add_role
, go back to WeChat.MiniProgram.Live.Role module for more information.
Link to this function
add_role(client, username, role)
Specs
add_role(WeChat.client(), WeChat.User.username(), role()) :: WeChat.response()
设置成员角色 - 官方文档
调用此接口设置小程序直播成员的管理员、运营者和主播角色