Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize menu event push in Wechat Development

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article shares with you the content about how to implement menu event push in WeChat development. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

After the user clicks the custom menu, WeChat will push the click event to the developer. Please note that clicking the menu will pop up the submenu and no report will be generated. Please note that all events from the 3rd to the 8th only support WeChat iPhone version 5.4.1 or above and Android version 5.4 or above WeChat users. Old version WeChat users will not respond after clicking, and developers cannot receive event push normally.

directory

1 Event push when clicking menu to pull message

2 Event push when clicking menu jump link

3 scancode_push: event push of scanning code push event

4 scancode_waitmsg: event push by scanning code and popping up "message receiving" prompt box

5 pic_sysphoto: Event push that pops up the system to take photos and send pictures

6 pic_photo_or_album: Event push for pop-up photo or photo album

7 pic_weixin: Event push of pop-up WeChat photo album sender

8 location_select: Event push that pops up the geolocation selector

Event push when clicking menu to pull message

Push XML packet example:

123456789

Parameter Description:

Event push when clicking menu jump link

Push XML packet example:

123456789MENUID

Parameter Description:

scancode_push: event push of scanning push event

Push XML packet example:

1408090502

Parameter Description:

scancode_waitmsg: event push by scanning code and popping up "message receiving" prompt box

Push XML packet example:

1408090606

Parameter Description:

pic_sysphoto: Event push that pops up system photos and pictures

Push XML packet example:

14080906511

Parameter Description:

pic_photo_or_album: Event push for pop-up photo or album posting

Push XML packet example:

14080908161

Parameter Description:

pic_weixin: Event push that pops up WeChat photo album sender

Push XML packet example:

14080908161

Parameter Description:

location_select: Event push that pops up the geolocation selector

Push XML packet example:

1408091189

Parameter Description:

Thank you for reading! This article on "How to Realize Menu Event Push in WeChat Development" has been shared here. I hope the above content can help you to some extent, so that you can learn more knowledge. If you think the article is good, you can share it for more people to see!

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: 0

*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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report