In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "WeChat Mini Programs API forwarding message function how to achieve", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "WeChat Mini Programs API forwarding message function how to achieve" it!
Forward messa
If Mini Program sets message push, when an ordinary Wechat user sends a message to Mini Program customer service, the Wechat server will first POST the message to the url entered by the developer. If you want to forward the message to the web-based customer service tool, the developer needs to return a message with the MsgType of transfer_customer_service in the response package. After receiving the response, the Wechat server will forward the message sent to the customer service system.
After the user is connected by the customer service, before the customer service closes the session, when the user is in the process of the session, the messages sent by the user will be forwarded directly to the customer service system. When the customer service is not closed for more than 30 minutes, the Wechat server will automatically stop forwarding to the customer service and send the message back to the url filled in by the developer.
When the user is waiting in the queue, the message sent by the user will still be pushed to the url filled in by the developer.
It is important to note here that messages sent by Wechat users are only forwarded, while other events (such as invoking customer service conversations from mini programs) should not be transferred, otherwise customer service will see some meaningless messages on the customer service system.
The message is forwarded to the web version of the customer service tool
The developer only returns the message whose MsgType is transfer_customer_service in the response package. After receiving the response, the Wechat server will forward the message sent this time to the customer service system.
1399197672
Parameter description
Whether the parameter must describe whether ToUserName is the recipient account (received OpenID) FromUserName is developer WeChat CreateTime is message creation time (integer) MsgType is transfer_customer_service Thank you for reading, the above is the content of "how to achieve WeChat Mini Programs API forwarding message function". After the study of this article, I believe you have a deeper understanding of how to achieve WeChat Mini Programs API forwarding message function. The specific use situation still needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 253
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.