/**
 * LINE Messaging API
 * This document describes LINE Messaging API.
 *
 * The version of the OpenAPI document: 0.0.1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { RichMenuArea } from "./richMenuArea.js";
import { RichMenuSize } from "./richMenuSize.js";

/**
 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#rich-menu-response-object">https://developers.line.biz/en/reference/messaging-api/#rich-menu-response-object</a>
 */
export type RichMenuResponse = {
  /**
   * ID of a rich menu
   */
  richMenuId: string;
  size: RichMenuSize;
  /**
   * `true` to display the rich menu by default. Otherwise, `false`.
   */
  selected: boolean;
  /**
   * Name of the rich menu. This value can be used to help manage your rich menus and is not displayed to users.
   * @maxLength 300
   */
  name: string;
  /**
   * Text displayed in the chat bar
   * @maxLength 14
   */
  chatBarText: string;
  /**
   * Array of area objects which define the coordinates and size of tappable areas
   * @maxItems 20
   */
  areas: Array<RichMenuArea>;
};
