前言
拉人的信息
<sysmsg type="sysmsgtemplate">
<sysmsgtemplate>
<content_template type="tmpl_type_profile">
<plain><![CDATA[]]></plain>
<template><![CDATA["$username$"邀请"$names$"加入了群聊]]></template>
<link_list>
<link name="username" type="link_profile">
<memberlist>
<member>
<username><![CDATA[z9118967]]></username>
<nickname><![CDATA[Kevin]]></nickname>
</member>
</memberlist>
</link>
<link name="names" type="link_profile">
<memberlist>
<member>
<username><![CDATA[wxid_v6y1zm840412]]></username>
<nickname><![CDATA[省助手]]></nickname>
</member>
</memberlist>
<separator><![CDATA[、]]></separator>
</link>
</link_list>
</content_template>
</sysmsgtemplate>
</sysmsg>
"__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";
}
)
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。