Each application in the enterprise account can have its own menu, and the enterprise can call the interface to create, delete, and obtain the application menu. Note that when operating the application menu, the application must be in callback mode; the menu can have a maximum of two levels, a maximum of 3 first-level menus, and a maximum of 5 second-level menus . 1. Create an application menu
Https request method: POST https://qyapi.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN&agentid=1 The request packet is as follows:
The administrator must have management permissions for the application, and the application must be set in callback mode. Return results
2. Delete Menu
Https request method: GET https://qyapi.weixin.qq.com/cgi-bin/menu/delete?access_token=ACCESS_TOKEN&agentid=1
The administrator must have management permissions for the application, and the application must be set in callback mode.
3. Get the menu list
Https request method: GET https://qyapi.weixin.qq.com/cgi-bin/menu/get?access_token=ACCESS_TOKEN&agentid=1
The administrator must have management permissions for the application, and the application must be set in callback mode.
The returned result is consistent with the parameters used to create the menu. |
<<: Android Getting Started - Button Control + Custom Button Control
>>: How to obtain OAuth2 authentication interface in WeChat Enterprise Account Development
Ancient Alliance Douyin account raising skills ed...
According to the "2017 China Social E-commer...
Resource introduction of "Passive Explosion o...
Microsoft's third-generation tablet computer, ...
Legend has it that there is such a mysterious org...
Recently, Qoros Auto's senior management anno...
A few days ago, an online video showing "two...
Apple has added some interesting and practical fe...
After carefully sorting out the front-end technol...
"It is foreseeable that an ice age is taking...
Leviathan Press: If it were not related to the in...
Brushing teeth and checking Weibo are the first t...
Bilibili, commonly known as Station B, is China...
Audit expert: Wang Jinlu Shenzhen Lingkang Techno...
We need to think about what we want from users, t...