Custom menu, custom menu
The custom menu interface supports multiple types of buttons as follows:
1. click: click to push eventsAfter you click the click type button, the server pushes the structure of the Message Type event to the developer (reference message Interface Guide) through the message interface, and carries the key value filled by the developer in the button, developers can interact with users through custom key values;2. view: Jump URLAfter you click the view type button, the client will open the webpage URL filled in by the developer in the button, which can be combined with the webpage authorization interface to obtain basic user information.3. scancode_push: QR push eventAfter you click the button, the client starts the scan tool. After scanning the code, the scan result is displayed. (if it is a URL, the scan result is displayed in the URL ), the result of the scan code is sent to the developer, and the developer can send messages.4. scancode_waitmsg: scan the code push event and the prompt box "receiving messages" appears.After the user clicks the button, the client will call the scanning tool. After scanning the code, the client will send the result to the developer and collapse the scanning tool, the prompt box "receiving messages" is displayed, and the developer may receive the message.5. pic_sysphotoAfter the user clicks the button, the client starts the System camera. After taking the photo, the client sends the photo to the developer, pushes the event to the developer, and collapse the System camera, you may receive a message from the developer later.6. pic_photo_or_album: a photo or album is displayed.After the user clicks the button, the client will pop up a selector for the user to choose "photo" or "select from mobile album ". After the user selects this option, the other two processes are followed.7. pic_weixin: the album poster is displayed.After the user clicks the button, the client will call up the album. After the selection operation is completed, the selected photo will be sent to the developer's server, and the event will be pushed to the developer. At the same time, the album will be collapsed, you may receive a message from the developer later.8. location_select: The geographical location selector is displayed.After the user clicks the button, the client starts the geographic location selection tool. After the selection is completed, the client sends the selected geographic location to the developer's server and collapse the location selection tool, you may receive a message from the developer later.
Please note that all events from 3 to 8 only support users of iPhone 5.4.1 and later versions, and users of Android 5.4 or later versions do not respond after clicking the old version, the developer cannot receive event push normally.