Method: Line::Bot::V2::MessagingApi::ApiClient#rich_menu_batch
- Defined in:
- lib/line/bot/v2/messaging_api/api/messaging_api_client.rb
#rich_menu_batch(rich_menu_batch_request:) ⇒ String?
You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu This requests to POST https://api.line.me/v2/bot/richmenu/batch When you want to get HTTP status code or response headers, use #rich_menu_batch_with_http_info instead of this.
3018 3019 3020 3021 3022 3023 3024 3025 3026 |
# File 'lib/line/bot/v2/messaging_api/api/messaging_api_client.rb', line 3018 def ( rich_menu_batch_request: ) response_body, _status_code, _headers = ( rich_menu_batch_request: ) response_body end |