前言
拉人的信息
"__name" = sysmsg; "_type" = sysmsgtemplate; sysmsgtemplate = { "content_template" = { "_type" = "tmpl_type_profile"; "link_list" = { link = ( { "_name" = username; "_type" = "link_profile"; memberlist = { member = { nickname = Kevin; username = z918967; }; }; }, { "_name" = names; "_type" = "link_profile"; memberlist = { member = { nickname = "\U7701\U94b1\U5c0f\U52a9\U624b"; username = "wxid_0qu9kokry022"; }; }; separator = "\U3001"; } ); }; template = "\"$username$\"\U9080\U8bf7\"$names$\"\U52a0\U5165\U4e86\U7fa4\U804a"; }; }; }
拉多个人的情况
{ "__name" = sysmsg; "_type" = sysmsgtemplate; sysmsgtemplate = { "content_template" = { "_type" = "tmpl_type_profile"; "link_list" = { link = ( { "_name" = username; "_type" = "link_profile"; memberlist = { member = { nickname = Kevin; username = z9218967; }; }; }, { "_name" = names; "_type" = "link_profile"; memberlist = { member = ( { nickname = "\U7701\U94b1\U5c0f\U52a9\U624b\U8fd4\U94b1\U52a9\U624b"; username = "wxid_gimsphnxq912"; }, { nickname = "\U7701\U94b1\U5c0f\U52a9\U624b"; username = "wxid_h3qontytr812"; } ); }; separator = "\U3001"; } ); }; template = "\"$username$\"\U9080\U8bf7\"$names$\"\U52a0\U5165\U4e86\U7fa4\U804a"; }; }; }
分享的二维码加入群聊
{ "__name" = sysmsg; "_type" = sysmsgtemplate; sysmsgtemplate = { "content_template" = { "_type" = "tmpl_type_profile"; "link_list" = { link = ( { "_name" = adder; "_type" = "link_profile"; memberlist = { member = { nickname = "A\U5c0f\U601d"; username = "wxiz17l82wl912"; }; }; }, { "_name" = from; "_type" = "link_profile"; memberlist = { member = { nickname = Kevin; username = z928967; }; }; } ); }; template = "\" $adder$\"\U901a\U8fc7\U626b\U63cf\"$from$\"\U5206\U4eab\U7684\U4e8c\U7ef4\U7801\U52a0\U5165\U7fa4\U804a"; }; }; }
二维码和拉人的共同点 link 数组字典
( { "_name" = username; "_type" = "link_profile"; memberlist = { member = { nickname = Kevin; username = z9218967; }; }; }, { "_name" = names; "_type" = "link_profile"; memberlist = { member = { nickname = "\U7701\U94b1\U5c0f\U52a9\U624b"; username = "wxid_s90qu9kry022"; }; }; separator = "\U3001"; } )