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
This article explains the operation of Xiaohongsh...
As an important part of native advertising, infor...
Recently some friends discovered Your own travel ...
Caimao Practice - The fourth document of the Cat ...
Avoiding these common coding habits will make our...
According to multiple sources, Xpeng Motors has d...
In the WeChat ecosystem , whether it is micro-bus...
According to the data analysis of the China Charg...
Jia Zhangke's short film "A Bucket"...
After being delayed for more than a month, Douyin...
When it comes to pufferfish, gourmets must have a...
As a newbie in bidding, you may have this questio...
A little background information – a large-scale e...
On September 19, the first model of the Ledao bra...