/**
 * 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-location">https://developers.line.biz/en/reference/messaging-api/#wh-location</a>
 */
export type LocationMessageContent = MessageContentBase & {
  type: "location";

  /**
   * Title
   */
  title?: string;
  /**
   * Address
   */
  address?: string;
  /**
   * Latitude
   */
  latitude: number;
  /**
   * Longitude
   */
  longitude: number;
  /**
   * Token used to mark the message as read.
   */
  markAsReadToken?: string;
};
