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

import { MessageContent } from "./messageContent.js";

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

/**
 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-file">https://developers.line.biz/en/reference/messaging-api/#wh-file</a>
 */
export type FileMessageContent = MessageContentBase & {
  type: "file";

  /**
   * File name
   */
  fileName: string;
  /**
   * File size in bytes
   */
  fileSize: number;
  /**
   * Token used to mark the message as read.
   */
  markAsReadToken?: string;
};
