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
After indulging in eating and drinking during the...
Not long ago, a hot search on Weibo about the AI ...
Introduction Do you often feel that when you ment...
Audit expert: Yin Tielun Deputy Chief Physician, ...
You must have heard “The best cultural relics in ...
Audit expert: Luo Huachun Director of the Natural...
Source: Xinhua News Agency Client Producer: Sun Z...
Counting with fingers Today is 520 Love Confessio...
"What sound does this flute make when it is ...
The Qingming Festival holiday begins tomorrow. Du...
In August this year, Intel launched the sixth-gen...
It is not an exaggeration to describe the two new...
High blood sugar is an increasingly common health...
Previously, we already had a very deep understand...