新99U消息推送服务

class nd.rest.nd_im.new.SendNew99U

新99u推送消息接口封装

QA机器人:

get_agent_mac_token()

获取推送号(只能是公众号)的授权信息 body参数: uri: uid password: 密码 返回值: {

“mac_algorithm”: “hmac-sha-256”, “nonce”: “1438677808798:2OLebj6B”, “mac”: “aIlsdFuRcV0jji+u+uwAw3hsNFSS2YJ95LnjYS0h9OY=”, “access_token”: “agent_281474976720145”

}

get_str_list(id_list)

将list中的元素转换为字符串

send_pic(entry_id, receiver_list)

发送内容到各知照人的99u content:内容 list:需要通知的人的名单,list类型

send_to_groups(info, group_list)

发送内容到99u群 content:内容 group_id:群id列表,list类型

send_to_receivers(info, receiver_list)

发送内容到各知照人的99u content:内容 list:需要通知的人的名单,list类型