POST/bots/{botId}/richmenus/{richmenuId}/users/{userId}

Sets a custom rich menu.

The display priority of rich menus is as follows:

  1. Custom rich menus
  2. Default rich menus

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

bot.message
bot

HTTP Request

POSThttps://www.worksapis.com/v1.0/bots/{botId}/richmenus/{richmenuId}/users/{userId}

Path Parameters

ParameterTypeDescription
botId integer 

Bot ID


required
example : 2000001
format : int64 
richmenuId string 

Bot's rich menu ID


required
example : 40001 
userId string 

User ID


required
example : userf7da-f82c-4284-13e7-030f3b4c756x 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content