/**
 * 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 { Action } from "./action.js";

import { ActionBase } from "./models.js";

/**
 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#datetime-picker-action">https://developers.line.biz/en/reference/messaging-api/#datetime-picker-action</a>
 */
export type DatetimePickerAction = ActionBase & {
  type: "datetimepicker";

  /**
   * @minLength 0
   * @maxLength 300
   */
  data?: string;
  mode?: DatetimePickerAction.ModeEnum;
  initial?: string;
  max?: string;
  min?: string;
};

export namespace DatetimePickerAction {
  export type ModeEnum = "date" | "time" | "datetime";
}
