Home > Mobile >  WeChat public development, how to take the initiative to send a message to a specified user, beg god
WeChat public development, how to take the initiative to send a message to a specified user, beg god

Time:03-17

Trigger an event is not a mass, it is system automatically sent to the specified user, strives for the great god answer!!!!!!

CodePudding user response:

This number is WeChat public auto reply
Can log on to the public platform Settings, also can be set to programmatically auto reply, more flexible, need WeChat development ability
Reference: http://hovertree.com/h/bjag/ii5f5t6i.htm

CodePudding user response:

Use template messages should be https://mp.weixin.qq.com/wiki? T=the resource/res_main & amp; Id=mp1433751277

CodePudding user response:


///& lt; Summary>
///the server access to network resources
///& lt;/summary>
///& lt; Param name="url" & gt; Resources to address & lt;/param>
///& lt; Param name="content" & gt; Parameter & lt;/param>
///& lt; Returns>
Public static string GetHttpResponse (url string, the string content=null)
{
Logger. The Log (Level. The Info, $" access to remote services: {url} {Environment. NewLine} the content: {content} ");
Using (var client=new WebClient ())
{
Client. Headers. The Add (" the content-type ", "application/x - WWW - form - urlencoded");
Var postBy=content==null? New byte [0] : Encoding UTF8. GetBytes (content);
Client. Headers. The Add (" ContentLength, "postBy. Length. The ToString ());

Var responseData=https://bbs.csdn.net/topics/client.UploadData (url, "POST", postBy);
Return. Encoding UTF8. Get string (responseData);
}
}

No.//the scene the public to have focused on users of push message
Common. GetHttpResponse (" https://api.weixin.qq.com/cgi-bin/message/custom/send? Access_token="+ token, ${{" touser \ ": " {inviteuser. WOpenId} \ ", \ "msgtype " : \ "text ", \ "text " : {{\ "content " : \ "congratulations, you good friend {sysuser. WNickName} by invitation"}}}} ");

CodePudding user response:

Take the initiative to invite fans dialogue, customer service message, template messages, reply timeout etc.

A, within 48 hours

(1) take the initiative to invite fans dialogue: when fans in the male has a behavior (sweep attention/code/click menu/upload location), would trigger a dialog window to enter chat interface, real-time remind communication with fans, not miss any opportunities for interaction, a sharp rise in the fan experience!

(2) messaging service: send message directly, or within 48 hours of active fans for unlimited information push (attention, dialogue, qr code, point menu, upload location, payment, etc., to meet any of an action is active fans), support tag group group, active fans label mass, mass regularly, delay mass, prevent the accurate delivery, such as harassment mass recall of users, improve sales and purchase,

Second, 48 hours outside

(3) the timeout reply: more than time also don't have to worry about the

(4) template message: to fans still active push notifications, do not take up mass number, jump to the specified page (outside the chain/small program page), insert fans nickname, custom text color, join expression, according to the label/users openid precise mass, personalized template message delivery, can effectively pull into the distance with the user, increase the rate of open, (service)

CodePudding user response:

Are there not openid? Specify the openid isn't finished
  • Related