/** * 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 { AudienceMatchMessagesRequest } from "../model/audienceMatchMessagesRequest.js"; import { BotInfoResponse } from "../model/botInfoResponse.js"; import { BroadcastRequest } from "../model/broadcastRequest.js"; import { CreateRichMenuAliasRequest } from "../model/createRichMenuAliasRequest.js"; import { GetAggregationUnitNameListResponse } from "../model/getAggregationUnitNameListResponse.js"; import { GetAggregationUnitUsageResponse } from "../model/getAggregationUnitUsageResponse.js"; import { GetFollowersResponse } from "../model/getFollowersResponse.js"; import { GetMembershipSubscriptionResponse } from "../model/getMembershipSubscriptionResponse.js"; import { GetWebhookEndpointResponse } from "../model/getWebhookEndpointResponse.js"; import { GroupMemberCountResponse } from "../model/groupMemberCountResponse.js"; import { GroupSummaryResponse } from "../model/groupSummaryResponse.js"; import { GroupUserProfileResponse } from "../model/groupUserProfileResponse.js"; import { IssueLinkTokenResponse } from "../model/issueLinkTokenResponse.js"; import { MarkMessagesAsReadRequest } from "../model/markMessagesAsReadRequest.js"; import { MembersIdsResponse } from "../model/membersIdsResponse.js"; import { MembershipListResponse } from "../model/membershipListResponse.js"; import { MessageQuotaResponse } from "../model/messageQuotaResponse.js"; import { MulticastRequest } from "../model/multicastRequest.js"; import { NarrowcastProgressResponse } from "../model/narrowcastProgressResponse.js"; import { NarrowcastRequest } from "../model/narrowcastRequest.js"; import { NumberOfMessagesResponse } from "../model/numberOfMessagesResponse.js"; import { PnpMessagesRequest } from "../model/pnpMessagesRequest.js"; import { PushMessageRequest } from "../model/pushMessageRequest.js"; import { PushMessageResponse } from "../model/pushMessageResponse.js"; import { QuotaConsumptionResponse } from "../model/quotaConsumptionResponse.js"; import { ReplyMessageRequest } from "../model/replyMessageRequest.js"; import { ReplyMessageResponse } from "../model/replyMessageResponse.js"; import { RichMenuAliasListResponse } from "../model/richMenuAliasListResponse.js"; import { RichMenuAliasResponse } from "../model/richMenuAliasResponse.js"; import { RichMenuBatchProgressResponse } from "../model/richMenuBatchProgressResponse.js"; import { RichMenuBatchRequest } from "../model/richMenuBatchRequest.js"; import { RichMenuBulkLinkRequest } from "../model/richMenuBulkLinkRequest.js"; import { RichMenuBulkUnlinkRequest } from "../model/richMenuBulkUnlinkRequest.js"; import { RichMenuIdResponse } from "../model/richMenuIdResponse.js"; import { RichMenuListResponse } from "../model/richMenuListResponse.js"; import { RichMenuRequest } from "../model/richMenuRequest.js"; import { RichMenuResponse } from "../model/richMenuResponse.js"; import { RoomMemberCountResponse } from "../model/roomMemberCountResponse.js"; import { RoomUserProfileResponse } from "../model/roomUserProfileResponse.js"; import { SetWebhookEndpointRequest } from "../model/setWebhookEndpointRequest.js"; import { ShowLoadingAnimationRequest } from "../model/showLoadingAnimationRequest.js"; import { TestWebhookEndpointRequest } from "../model/testWebhookEndpointRequest.js"; import { TestWebhookEndpointResponse } from "../model/testWebhookEndpointResponse.js"; import { UpdateRichMenuAliasRequest } from "../model/updateRichMenuAliasRequest.js"; import { UserProfileResponse } from "../model/userProfileResponse.js"; import { ValidateMessageRequest } from "../model/validateMessageRequest.js"; import * as Types from "../../types.js"; interface httpClientConfig { baseURL?: string; channelAccessToken: string; } export declare class MessagingApiClient { private httpClient; constructor(config: httpClientConfig); private parseHTTPResponse; /** * Send a message using phone number * @param audienceMatchMessagesRequest * * @see Documentation */ audienceMatch(audienceMatchMessagesRequest: AudienceMatchMessagesRequest): Promise; /** * Send a message using phone number. * This method includes HttpInfo object to return additional information. * @param audienceMatchMessagesRequest * * @see Documentation */ audienceMatchWithHttpInfo(audienceMatchMessagesRequest: AudienceMatchMessagesRequest): Promise>; /** * Sends a message to multiple users at any time. * @param broadcastRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ broadcast(broadcastRequest: BroadcastRequest, xLineRetryKey?: string): Promise; /** * Sends a message to multiple users at any time.. * This method includes HttpInfo object to return additional information. * @param broadcastRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ broadcastWithHttpInfo(broadcastRequest: BroadcastRequest, xLineRetryKey?: string): Promise>; /** * Cancel default rich menu * * @see Documentation */ cancelDefaultRichMenu(): Promise; /** * Cancel default rich menu. * This method includes HttpInfo object to return additional information. * * @see Documentation */ cancelDefaultRichMenuWithHttpInfo(): Promise>; /** * Create rich menu * @param richMenuRequest * * @see Documentation */ createRichMenu(richMenuRequest: RichMenuRequest): Promise; /** * Create rich menu. * This method includes HttpInfo object to return additional information. * @param richMenuRequest * * @see Documentation */ createRichMenuWithHttpInfo(richMenuRequest: RichMenuRequest): Promise>; /** * Create rich menu alias * @param createRichMenuAliasRequest * * @see Documentation */ createRichMenuAlias(createRichMenuAliasRequest: CreateRichMenuAliasRequest): Promise; /** * Create rich menu alias. * This method includes HttpInfo object to return additional information. * @param createRichMenuAliasRequest * * @see Documentation */ createRichMenuAliasWithHttpInfo(createRichMenuAliasRequest: CreateRichMenuAliasRequest): Promise>; /** * Deletes a rich menu. * @param richMenuId ID of a rich menu * * @see Documentation */ deleteRichMenu(richMenuId: string): Promise; /** * Deletes a rich menu.. * This method includes HttpInfo object to return additional information. * @param richMenuId ID of a rich menu * * @see Documentation */ deleteRichMenuWithHttpInfo(richMenuId: string): Promise>; /** * Delete rich menu alias * @param richMenuAliasId Rich menu alias ID that you want to delete. * * @see Documentation */ deleteRichMenuAlias(richMenuAliasId: string): Promise; /** * Delete rich menu alias. * This method includes HttpInfo object to return additional information. * @param richMenuAliasId Rich menu alias ID that you want to delete. * * @see Documentation */ deleteRichMenuAliasWithHttpInfo(richMenuAliasId: string): Promise>; /** * Get result of message delivery using phone number * @param date Date the message was sent Format: `yyyyMMdd` (e.g. `20190831`) Time Zone: UTC+9 * * @see Documentation */ getAdPhoneMessageStatistics(date: string): Promise; /** * Get result of message delivery using phone number. * This method includes HttpInfo object to return additional information. * @param date Date the message was sent Format: `yyyyMMdd` (e.g. `20190831`) Time Zone: UTC+9 * * @see Documentation */ getAdPhoneMessageStatisticsWithHttpInfo(date: string): Promise>; /** * Get name list of units used this month * @param limit The maximum number of aggregation units you can get per request. * @param start Value of the continuation token found in the next property of the JSON object returned in the response. If you can\'t get all the aggregation units in one request, include this parameter to get the remaining array. * * @see Documentation */ getAggregationUnitNameList(limit?: string, start?: string): Promise; /** * Get name list of units used this month. * This method includes HttpInfo object to return additional information. * @param limit The maximum number of aggregation units you can get per request. * @param start Value of the continuation token found in the next property of the JSON object returned in the response. If you can\'t get all the aggregation units in one request, include this parameter to get the remaining array. * * @see Documentation */ getAggregationUnitNameListWithHttpInfo(limit?: string, start?: string): Promise>; /** * Get number of units used this month * * @see Documentation */ getAggregationUnitUsage(): Promise; /** * Get number of units used this month. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getAggregationUnitUsageWithHttpInfo(): Promise>; /** * Get bot info * * @see Documentation */ getBotInfo(): Promise; /** * Get bot info. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getBotInfoWithHttpInfo(): Promise>; /** * Gets the ID of the default rich menu set with the Messaging API. * * @see Documentation */ getDefaultRichMenuId(): Promise; /** * Gets the ID of the default rich menu set with the Messaging API.. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getDefaultRichMenuIdWithHttpInfo(): Promise>; /** * Get a list of users who added your LINE Official Account as a friend * @param start Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. * @param limit The maximum number of user IDs to retrieve in a single request. * * @see Documentation */ getFollowers(start?: string, limit?: number): Promise; /** * Get a list of users who added your LINE Official Account as a friend. * This method includes HttpInfo object to return additional information. * @param start Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs. * @param limit The maximum number of user IDs to retrieve in a single request. * * @see Documentation */ getFollowersWithHttpInfo(start?: string, limit?: number): Promise>; /** * Get number of users in a group chat * @param groupId Group ID * * @see Documentation */ getGroupMemberCount(groupId: string): Promise; /** * Get number of users in a group chat. * This method includes HttpInfo object to return additional information. * @param groupId Group ID * * @see Documentation */ getGroupMemberCountWithHttpInfo(groupId: string): Promise>; /** * Get group chat member profile * @param groupId Group ID * @param userId User ID * * @see Documentation */ getGroupMemberProfile(groupId: string, userId: string): Promise; /** * Get group chat member profile. * This method includes HttpInfo object to return additional information. * @param groupId Group ID * @param userId User ID * * @see Documentation */ getGroupMemberProfileWithHttpInfo(groupId: string, userId: string): Promise>; /** * Get group chat member user IDs * @param groupId Group ID * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. * * @see Documentation */ getGroupMembersIds(groupId: string, start?: string): Promise; /** * Get group chat member user IDs. * This method includes HttpInfo object to return additional information. * @param groupId Group ID * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. * * @see Documentation */ getGroupMembersIdsWithHttpInfo(groupId: string, start?: string): Promise>; /** * Get group chat summary * @param groupId Group ID * * @see Documentation */ getGroupSummary(groupId: string): Promise; /** * Get group chat summary. * This method includes HttpInfo object to return additional information. * @param groupId Group ID * * @see Documentation */ getGroupSummaryWithHttpInfo(groupId: string): Promise>; /** * Get a list of memberships. * * @see Documentation */ getMembershipList(): Promise; /** * Get a list of memberships.. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getMembershipListWithHttpInfo(): Promise>; /** * Get a user\'s membership subscription. * @param userId User ID * * @see Documentation */ getMembershipSubscription(userId: string): Promise; /** * Get a user\'s membership subscription.. * This method includes HttpInfo object to return additional information. * @param userId User ID * * @see Documentation */ getMembershipSubscriptionWithHttpInfo(userId: string): Promise>; /** * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned. * * @see Documentation */ getMessageQuota(): Promise; /** * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getMessageQuotaWithHttpInfo(): Promise>; /** * Gets the number of messages sent in the current month. * * @see Documentation */ getMessageQuotaConsumption(): Promise; /** * Gets the number of messages sent in the current month.. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getMessageQuotaConsumptionWithHttpInfo(): Promise>; /** * Gets the status of a narrowcast message. * @param requestId The narrowcast message\'s request ID. Each Messaging API request has a request ID. * * @see Documentation */ getNarrowcastProgress(requestId: string): Promise; /** * Gets the status of a narrowcast message.. * This method includes HttpInfo object to return additional information. * @param requestId The narrowcast message\'s request ID. Each Messaging API request has a request ID. * * @see Documentation */ getNarrowcastProgressWithHttpInfo(requestId: string): Promise>; /** * Get number of sent broadcast messages * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentBroadcastMessages(date: string): Promise; /** * Get number of sent broadcast messages. * This method includes HttpInfo object to return additional information. * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentBroadcastMessagesWithHttpInfo(date: string): Promise>; /** * Get number of sent multicast messages * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentMulticastMessages(date: string): Promise; /** * Get number of sent multicast messages. * This method includes HttpInfo object to return additional information. * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentMulticastMessagesWithHttpInfo(date: string): Promise>; /** * Get number of sent push messages * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentPushMessages(date: string): Promise; /** * Get number of sent push messages. * This method includes HttpInfo object to return additional information. * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentPushMessagesWithHttpInfo(date: string): Promise>; /** * Get number of sent reply messages * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentReplyMessages(date: string): Promise; /** * Get number of sent reply messages. * This method includes HttpInfo object to return additional information. * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9 * * @see Documentation */ getNumberOfSentReplyMessagesWithHttpInfo(date: string): Promise>; /** * Get number of sent LINE notification messages * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 * * @see Documentation */ getPNPMessageStatistics(date: string): Promise; /** * Get number of sent LINE notification messages . * This method includes HttpInfo object to return additional information. * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9 * * @see Documentation */ getPNPMessageStatisticsWithHttpInfo(date: string): Promise>; /** * Get profile * @param userId User ID * * @see Documentation */ getProfile(userId: string): Promise; /** * Get profile. * This method includes HttpInfo object to return additional information. * @param userId User ID * * @see Documentation */ getProfileWithHttpInfo(userId: string): Promise>; /** * Gets a rich menu via a rich menu ID. * @param richMenuId ID of a rich menu * * @see Documentation */ getRichMenu(richMenuId: string): Promise; /** * Gets a rich menu via a rich menu ID.. * This method includes HttpInfo object to return additional information. * @param richMenuId ID of a rich menu * * @see Documentation */ getRichMenuWithHttpInfo(richMenuId: string): Promise>; /** * Get rich menu alias information * @param richMenuAliasId The rich menu alias ID whose information you want to obtain. * * @see Documentation */ getRichMenuAlias(richMenuAliasId: string): Promise; /** * Get rich menu alias information. * This method includes HttpInfo object to return additional information. * @param richMenuAliasId The rich menu alias ID whose information you want to obtain. * * @see Documentation */ getRichMenuAliasWithHttpInfo(richMenuAliasId: string): Promise>; /** * Get list of rich menu alias * * @see Documentation */ getRichMenuAliasList(): Promise; /** * Get list of rich menu alias. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getRichMenuAliasListWithHttpInfo(): Promise>; /** * Get the status of Replace or unlink a linked rich menus in batches. * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID. * * @see Documentation */ getRichMenuBatchProgress(requestId: string): Promise; /** * Get the status of Replace or unlink a linked rich menus in batches.. * This method includes HttpInfo object to return additional information. * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID. * * @see Documentation */ getRichMenuBatchProgressWithHttpInfo(requestId: string): Promise>; /** * Get rich menu ID of user * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. * * @see Documentation */ getRichMenuIdOfUser(userId: string): Promise; /** * Get rich menu ID of user. * This method includes HttpInfo object to return additional information. * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. * * @see Documentation */ getRichMenuIdOfUserWithHttpInfo(userId: string): Promise>; /** * Get rich menu list * * @see Documentation */ getRichMenuList(): Promise; /** * Get rich menu list. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getRichMenuListWithHttpInfo(): Promise>; /** * Get number of users in a multi-person chat * @param roomId Room ID * * @see Documentation */ getRoomMemberCount(roomId: string): Promise; /** * Get number of users in a multi-person chat. * This method includes HttpInfo object to return additional information. * @param roomId Room ID * * @see Documentation */ getRoomMemberCountWithHttpInfo(roomId: string): Promise>; /** * Get multi-person chat member profile * @param roomId Room ID * @param userId User ID * * @see Documentation */ getRoomMemberProfile(roomId: string, userId: string): Promise; /** * Get multi-person chat member profile. * This method includes HttpInfo object to return additional information. * @param roomId Room ID * @param userId User ID * * @see Documentation */ getRoomMemberProfileWithHttpInfo(roomId: string, userId: string): Promise>; /** * Get multi-person chat member user IDs * @param roomId Room ID * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. * * @see Documentation */ getRoomMembersIds(roomId: string, start?: string): Promise; /** * Get multi-person chat member user IDs. * This method includes HttpInfo object to return additional information. * @param roomId Room ID * @param start Value of the continuation token found in the `next` property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group. * * @see Documentation */ getRoomMembersIdsWithHttpInfo(roomId: string, start?: string): Promise>; /** * Get webhook endpoint information * * @see Documentation */ getWebhookEndpoint(): Promise; /** * Get webhook endpoint information. * This method includes HttpInfo object to return additional information. * * @see Documentation */ getWebhookEndpointWithHttpInfo(): Promise>; /** * Issue link token * @param userId User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. * * @see Documentation */ issueLinkToken(userId: string): Promise; /** * Issue link token. * This method includes HttpInfo object to return additional information. * @param userId User ID for the LINE account to be linked. Found in the `source` object of account link event objects. Do not use the LINE ID used in LINE. * * @see Documentation */ issueLinkTokenWithHttpInfo(userId: string): Promise>; /** * Leave group chat * @param groupId Group ID * * @see Documentation */ leaveGroup(groupId: string): Promise; /** * Leave group chat. * This method includes HttpInfo object to return additional information. * @param groupId Group ID * * @see Documentation */ leaveGroupWithHttpInfo(groupId: string): Promise>; /** * Leave multi-person chat * @param roomId Room ID * * @see Documentation */ leaveRoom(roomId: string): Promise; /** * Leave multi-person chat. * This method includes HttpInfo object to return additional information. * @param roomId Room ID * * @see Documentation */ leaveRoomWithHttpInfo(roomId: string): Promise>; /** * Link rich menu to user. * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. * @param richMenuId ID of a rich menu * * @see Documentation */ linkRichMenuIdToUser(userId: string, richMenuId: string): Promise; /** * Link rich menu to user.. * This method includes HttpInfo object to return additional information. * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. * @param richMenuId ID of a rich menu * * @see Documentation */ linkRichMenuIdToUserWithHttpInfo(userId: string, richMenuId: string): Promise>; /** * Link rich menu to multiple users * @param richMenuBulkLinkRequest * * @see Documentation */ linkRichMenuIdToUsers(richMenuBulkLinkRequest: RichMenuBulkLinkRequest): Promise; /** * Link rich menu to multiple users. * This method includes HttpInfo object to return additional information. * @param richMenuBulkLinkRequest * * @see Documentation */ linkRichMenuIdToUsersWithHttpInfo(richMenuBulkLinkRequest: RichMenuBulkLinkRequest): Promise>; /** * Mark messages from users as read * @param markMessagesAsReadRequest * * @see Documentation */ markMessagesAsRead(markMessagesAsReadRequest: MarkMessagesAsReadRequest): Promise; /** * Mark messages from users as read. * This method includes HttpInfo object to return additional information. * @param markMessagesAsReadRequest * * @see Documentation */ markMessagesAsReadWithHttpInfo(markMessagesAsReadRequest: MarkMessagesAsReadRequest): Promise>; /** * An API that efficiently sends the same message to multiple user IDs. You can\'t send messages to group chats or multi-person chats. * @param multicastRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ multicast(multicastRequest: MulticastRequest, xLineRetryKey?: string): Promise; /** * An API that efficiently sends the same message to multiple user IDs. You can\'t send messages to group chats or multi-person chats.. * This method includes HttpInfo object to return additional information. * @param multicastRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ multicastWithHttpInfo(multicastRequest: MulticastRequest, xLineRetryKey?: string): Promise>; /** * Send narrowcast message * @param narrowcastRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ narrowcast(narrowcastRequest: NarrowcastRequest, xLineRetryKey?: string): Promise; /** * Send narrowcast message. * This method includes HttpInfo object to return additional information. * @param narrowcastRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ narrowcastWithHttpInfo(narrowcastRequest: NarrowcastRequest, xLineRetryKey?: string): Promise>; /** * Sends a message to a user, group chat, or multi-person chat at any time. * @param pushMessageRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ pushMessage(pushMessageRequest: PushMessageRequest, xLineRetryKey?: string): Promise; /** * Sends a message to a user, group chat, or multi-person chat at any time.. * This method includes HttpInfo object to return additional information. * @param pushMessageRequest * @param xLineRetryKey Retry key. Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method. The retry key isn\'t generated by LINE. Each developer must generate their own retry key. * * @see Documentation */ pushMessageWithHttpInfo(pushMessageRequest: PushMessageRequest, xLineRetryKey?: string): Promise>; /** * Send LINE notification message * @param pnpMessagesRequest * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook. * * @see Documentation */ pushMessagesByPhone(pnpMessagesRequest: PnpMessagesRequest, xLineDeliveryTag?: string): Promise; /** * Send LINE notification message. * This method includes HttpInfo object to return additional information. * @param pnpMessagesRequest * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook. * * @see Documentation */ pushMessagesByPhoneWithHttpInfo(pnpMessagesRequest: PnpMessagesRequest, xLineDeliveryTag?: string): Promise>; /** * Send reply message * @param replyMessageRequest * * @see Documentation */ replyMessage(replyMessageRequest: ReplyMessageRequest): Promise; /** * Send reply message. * This method includes HttpInfo object to return additional information. * @param replyMessageRequest * * @see Documentation */ replyMessageWithHttpInfo(replyMessageRequest: ReplyMessageRequest): Promise>; /** * 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 * @param richMenuBatchRequest * * @see Documentation */ richMenuBatch(richMenuBatchRequest: RichMenuBatchRequest): Promise; /** * 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 method includes HttpInfo object to return additional information. * @param richMenuBatchRequest * * @see Documentation */ richMenuBatchWithHttpInfo(richMenuBatchRequest: RichMenuBatchRequest): Promise>; /** * Set default rich menu * @param richMenuId ID of a rich menu * * @see Documentation */ setDefaultRichMenu(richMenuId: string): Promise; /** * Set default rich menu. * This method includes HttpInfo object to return additional information. * @param richMenuId ID of a rich menu * * @see Documentation */ setDefaultRichMenuWithHttpInfo(richMenuId: string): Promise>; /** * Set webhook endpoint URL * @param setWebhookEndpointRequest * * @see Documentation */ setWebhookEndpoint(setWebhookEndpointRequest: SetWebhookEndpointRequest): Promise; /** * Set webhook endpoint URL. * This method includes HttpInfo object to return additional information. * @param setWebhookEndpointRequest * * @see Documentation */ setWebhookEndpointWithHttpInfo(setWebhookEndpointRequest: SetWebhookEndpointRequest): Promise>; /** * Display a loading animation in one-on-one chats between users and LINE Official Accounts. * @param showLoadingAnimationRequest * * @see Documentation */ showLoadingAnimation(showLoadingAnimationRequest: ShowLoadingAnimationRequest): Promise; /** * Display a loading animation in one-on-one chats between users and LINE Official Accounts.. * This method includes HttpInfo object to return additional information. * @param showLoadingAnimationRequest * * @see Documentation */ showLoadingAnimationWithHttpInfo(showLoadingAnimationRequest: ShowLoadingAnimationRequest): Promise>; /** * Test webhook endpoint * @param testWebhookEndpointRequest * * @see Documentation */ testWebhookEndpoint(testWebhookEndpointRequest?: TestWebhookEndpointRequest): Promise; /** * Test webhook endpoint. * This method includes HttpInfo object to return additional information. * @param testWebhookEndpointRequest * * @see Documentation */ testWebhookEndpointWithHttpInfo(testWebhookEndpointRequest?: TestWebhookEndpointRequest): Promise>; /** * Unlink rich menu from user * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. * * @see Documentation */ unlinkRichMenuIdFromUser(userId: string): Promise; /** * Unlink rich menu from user. * This method includes HttpInfo object to return additional information. * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. * * @see Documentation */ unlinkRichMenuIdFromUserWithHttpInfo(userId: string): Promise>; /** * Unlink rich menus from multiple users * @param richMenuBulkUnlinkRequest * * @see Documentation */ unlinkRichMenuIdFromUsers(richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest): Promise; /** * Unlink rich menus from multiple users. * This method includes HttpInfo object to return additional information. * @param richMenuBulkUnlinkRequest * * @see Documentation */ unlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest): Promise>; /** * Update rich menu alias * @param richMenuAliasId The rich menu alias ID you want to update. * @param updateRichMenuAliasRequest * * @see Documentation */ updateRichMenuAlias(richMenuAliasId: string, updateRichMenuAliasRequest: UpdateRichMenuAliasRequest): Promise; /** * Update rich menu alias. * This method includes HttpInfo object to return additional information. * @param richMenuAliasId The rich menu alias ID you want to update. * @param updateRichMenuAliasRequest * * @see Documentation */ updateRichMenuAliasWithHttpInfo(richMenuAliasId: string, updateRichMenuAliasRequest: UpdateRichMenuAliasRequest): Promise>; /** * Validate message objects of a broadcast message * @param validateMessageRequest * * @see Documentation */ validateBroadcast(validateMessageRequest: ValidateMessageRequest): Promise; /** * Validate message objects of a broadcast message. * This method includes HttpInfo object to return additional information. * @param validateMessageRequest * * @see Documentation */ validateBroadcastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise>; /** * Validate message objects of a multicast message * @param validateMessageRequest * * @see Documentation */ validateMulticast(validateMessageRequest: ValidateMessageRequest): Promise; /** * Validate message objects of a multicast message. * This method includes HttpInfo object to return additional information. * @param validateMessageRequest * * @see Documentation */ validateMulticastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise>; /** * Validate message objects of a narrowcast message * @param validateMessageRequest * * @see Documentation */ validateNarrowcast(validateMessageRequest: ValidateMessageRequest): Promise; /** * Validate message objects of a narrowcast message. * This method includes HttpInfo object to return additional information. * @param validateMessageRequest * * @see Documentation */ validateNarrowcastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise>; /** * Validate message objects of a push message * @param validateMessageRequest * * @see Documentation */ validatePush(validateMessageRequest: ValidateMessageRequest): Promise; /** * Validate message objects of a push message. * This method includes HttpInfo object to return additional information. * @param validateMessageRequest * * @see Documentation */ validatePushWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise>; /** * Validate message objects of a reply message * @param validateMessageRequest * * @see Documentation */ validateReply(validateMessageRequest: ValidateMessageRequest): Promise; /** * Validate message objects of a reply message. * This method includes HttpInfo object to return additional information. * @param validateMessageRequest * * @see Documentation */ validateReplyWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise>; /** * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint. * @param richMenuBatchRequest * * @see Documentation */ validateRichMenuBatchRequest(richMenuBatchRequest: RichMenuBatchRequest): Promise; /** * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.. * This method includes HttpInfo object to return additional information. * @param richMenuBatchRequest * * @see Documentation */ validateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest: RichMenuBatchRequest): Promise>; /** * Validate rich menu object * @param richMenuRequest * * @see Documentation */ validateRichMenuObject(richMenuRequest: RichMenuRequest): Promise; /** * Validate rich menu object. * This method includes HttpInfo object to return additional information. * @param richMenuRequest * * @see Documentation */ validateRichMenuObjectWithHttpInfo(richMenuRequest: RichMenuRequest): Promise>; } export {}; //# sourceMappingURL=messagingApiClient.d.ts.map