UNPKG

58.5 kBTypeScriptView Raw
1/**
2 * LINE Messaging API
3 * This document describes LINE Messaging API.
4 *
5 * The version of the OpenAPI document: 0.0.1
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12import { AudienceMatchMessagesRequest } from "../model/audienceMatchMessagesRequest.js";
13import { BotInfoResponse } from "../model/botInfoResponse.js";
14import { BroadcastRequest } from "../model/broadcastRequest.js";
15import { CreateRichMenuAliasRequest } from "../model/createRichMenuAliasRequest.js";
16import { GetAggregationUnitNameListResponse } from "../model/getAggregationUnitNameListResponse.js";
17import { GetAggregationUnitUsageResponse } from "../model/getAggregationUnitUsageResponse.js";
18import { GetFollowersResponse } from "../model/getFollowersResponse.js";
19import { GetMembershipSubscriptionResponse } from "../model/getMembershipSubscriptionResponse.js";
20import { GetWebhookEndpointResponse } from "../model/getWebhookEndpointResponse.js";
21import { GroupMemberCountResponse } from "../model/groupMemberCountResponse.js";
22import { GroupSummaryResponse } from "../model/groupSummaryResponse.js";
23import { GroupUserProfileResponse } from "../model/groupUserProfileResponse.js";
24import { IssueLinkTokenResponse } from "../model/issueLinkTokenResponse.js";
25import { MarkMessagesAsReadRequest } from "../model/markMessagesAsReadRequest.js";
26import { MembersIdsResponse } from "../model/membersIdsResponse.js";
27import { MembershipListResponse } from "../model/membershipListResponse.js";
28import { MessageQuotaResponse } from "../model/messageQuotaResponse.js";
29import { MulticastRequest } from "../model/multicastRequest.js";
30import { NarrowcastProgressResponse } from "../model/narrowcastProgressResponse.js";
31import { NarrowcastRequest } from "../model/narrowcastRequest.js";
32import { NumberOfMessagesResponse } from "../model/numberOfMessagesResponse.js";
33import { PnpMessagesRequest } from "../model/pnpMessagesRequest.js";
34import { PushMessageRequest } from "../model/pushMessageRequest.js";
35import { PushMessageResponse } from "../model/pushMessageResponse.js";
36import { QuotaConsumptionResponse } from "../model/quotaConsumptionResponse.js";
37import { ReplyMessageRequest } from "../model/replyMessageRequest.js";
38import { ReplyMessageResponse } from "../model/replyMessageResponse.js";
39import { RichMenuAliasListResponse } from "../model/richMenuAliasListResponse.js";
40import { RichMenuAliasResponse } from "../model/richMenuAliasResponse.js";
41import { RichMenuBatchProgressResponse } from "../model/richMenuBatchProgressResponse.js";
42import { RichMenuBatchRequest } from "../model/richMenuBatchRequest.js";
43import { RichMenuBulkLinkRequest } from "../model/richMenuBulkLinkRequest.js";
44import { RichMenuBulkUnlinkRequest } from "../model/richMenuBulkUnlinkRequest.js";
45import { RichMenuIdResponse } from "../model/richMenuIdResponse.js";
46import { RichMenuListResponse } from "../model/richMenuListResponse.js";
47import { RichMenuRequest } from "../model/richMenuRequest.js";
48import { RichMenuResponse } from "../model/richMenuResponse.js";
49import { RoomMemberCountResponse } from "../model/roomMemberCountResponse.js";
50import { RoomUserProfileResponse } from "../model/roomUserProfileResponse.js";
51import { SetWebhookEndpointRequest } from "../model/setWebhookEndpointRequest.js";
52import { ShowLoadingAnimationRequest } from "../model/showLoadingAnimationRequest.js";
53import { TestWebhookEndpointRequest } from "../model/testWebhookEndpointRequest.js";
54import { TestWebhookEndpointResponse } from "../model/testWebhookEndpointResponse.js";
55import { UpdateRichMenuAliasRequest } from "../model/updateRichMenuAliasRequest.js";
56import { UserProfileResponse } from "../model/userProfileResponse.js";
57import { ValidateMessageRequest } from "../model/validateMessageRequest.js";
58import * as Types from "../../types.js";
59interface httpClientConfig {
60 baseURL?: string;
61 channelAccessToken: string;
62}
63export declare class MessagingApiClient {
64 private httpClient;
65 constructor(config: httpClientConfig);
66 private parseHTTPResponse;
67 /**
68 * Send a message using phone number
69 * @param audienceMatchMessagesRequest
70 *
71 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#phone-audience-match"> Documentation</a>
72 */
73 audienceMatch(audienceMatchMessagesRequest: AudienceMatchMessagesRequest): Promise<Types.MessageAPIResponseBase>;
74 /**
75 * Send a message using phone number.
76 * This method includes HttpInfo object to return additional information.
77 * @param audienceMatchMessagesRequest
78 *
79 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#phone-audience-match"> Documentation</a>
80 */
81 audienceMatchWithHttpInfo(audienceMatchMessagesRequest: AudienceMatchMessagesRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
82 /**
83 * Sends a message to multiple users at any time.
84 * @param broadcastRequest
85 * @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.
86 *
87 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
88 */
89 broadcast(broadcastRequest: BroadcastRequest, xLineRetryKey?: string): Promise<object>;
90 /**
91 * Sends a message to multiple users at any time..
92 * This method includes HttpInfo object to return additional information.
93 * @param broadcastRequest
94 * @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.
95 *
96 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
97 */
98 broadcastWithHttpInfo(broadcastRequest: BroadcastRequest, xLineRetryKey?: string): Promise<Types.ApiResponseType<object>>;
99 /**
100 * Cancel default rich menu
101 *
102 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
103 */
104 cancelDefaultRichMenu(): Promise<Types.MessageAPIResponseBase>;
105 /**
106 * Cancel default rich menu.
107 * This method includes HttpInfo object to return additional information.
108 *
109 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
110 */
111 cancelDefaultRichMenuWithHttpInfo(): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
112 /**
113 * Create rich menu
114 * @param richMenuRequest
115 *
116 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
117 */
118 createRichMenu(richMenuRequest: RichMenuRequest): Promise<RichMenuIdResponse>;
119 /**
120 * Create rich menu.
121 * This method includes HttpInfo object to return additional information.
122 * @param richMenuRequest
123 *
124 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
125 */
126 createRichMenuWithHttpInfo(richMenuRequest: RichMenuRequest): Promise<Types.ApiResponseType<RichMenuIdResponse>>;
127 /**
128 * Create rich menu alias
129 * @param createRichMenuAliasRequest
130 *
131 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
132 */
133 createRichMenuAlias(createRichMenuAliasRequest: CreateRichMenuAliasRequest): Promise<Types.MessageAPIResponseBase>;
134 /**
135 * Create rich menu alias.
136 * This method includes HttpInfo object to return additional information.
137 * @param createRichMenuAliasRequest
138 *
139 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
140 */
141 createRichMenuAliasWithHttpInfo(createRichMenuAliasRequest: CreateRichMenuAliasRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
142 /**
143 * Deletes a rich menu.
144 * @param richMenuId ID of a rich menu
145 *
146 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> Documentation</a>
147 */
148 deleteRichMenu(richMenuId: string): Promise<Types.MessageAPIResponseBase>;
149 /**
150 * Deletes a rich menu..
151 * This method includes HttpInfo object to return additional information.
152 * @param richMenuId ID of a rich menu
153 *
154 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> Documentation</a>
155 */
156 deleteRichMenuWithHttpInfo(richMenuId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
157 /**
158 * Delete rich menu alias
159 * @param richMenuAliasId Rich menu alias ID that you want to delete.
160 *
161 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
162 */
163 deleteRichMenuAlias(richMenuAliasId: string): Promise<Types.MessageAPIResponseBase>;
164 /**
165 * Delete rich menu alias.
166 * This method includes HttpInfo object to return additional information.
167 * @param richMenuAliasId Rich menu alias ID that you want to delete.
168 *
169 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
170 */
171 deleteRichMenuAliasWithHttpInfo(richMenuAliasId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
172 /**
173 * Get result of message delivery using phone number
174 * @param date Date the message was sent Format: `yyyyMMdd` (e.g. `20190831`) Time Zone: UTC+9
175 *
176 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-phone-audience-match"> Documentation</a>
177 */
178 getAdPhoneMessageStatistics(date: string): Promise<NumberOfMessagesResponse>;
179 /**
180 * Get result of message delivery using phone number.
181 * This method includes HttpInfo object to return additional information.
182 * @param date Date the message was sent Format: `yyyyMMdd` (e.g. `20190831`) Time Zone: UTC+9
183 *
184 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-phone-audience-match"> Documentation</a>
185 */
186 getAdPhoneMessageStatisticsWithHttpInfo(date: string): Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
187 /**
188 * Get name list of units used this month
189 * @param limit The maximum number of aggregation units you can get per request.
190 * @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.
191 *
192 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
193 */
194 getAggregationUnitNameList(limit?: string, start?: string): Promise<GetAggregationUnitNameListResponse>;
195 /**
196 * Get name list of units used this month.
197 * This method includes HttpInfo object to return additional information.
198 * @param limit The maximum number of aggregation units you can get per request.
199 * @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.
200 *
201 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
202 */
203 getAggregationUnitNameListWithHttpInfo(limit?: string, start?: string): Promise<Types.ApiResponseType<GetAggregationUnitNameListResponse>>;
204 /**
205 * Get number of units used this month
206 *
207 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
208 */
209 getAggregationUnitUsage(): Promise<GetAggregationUnitUsageResponse>;
210 /**
211 * Get number of units used this month.
212 * This method includes HttpInfo object to return additional information.
213 *
214 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
215 */
216 getAggregationUnitUsageWithHttpInfo(): Promise<Types.ApiResponseType<GetAggregationUnitUsageResponse>>;
217 /**
218 * Get bot info
219 *
220 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
221 */
222 getBotInfo(): Promise<BotInfoResponse>;
223 /**
224 * Get bot info.
225 * This method includes HttpInfo object to return additional information.
226 *
227 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
228 */
229 getBotInfoWithHttpInfo(): Promise<Types.ApiResponseType<BotInfoResponse>>;
230 /**
231 * Gets the ID of the default rich menu set with the Messaging API.
232 *
233 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
234 */
235 getDefaultRichMenuId(): Promise<RichMenuIdResponse>;
236 /**
237 * Gets the ID of the default rich menu set with the Messaging API..
238 * This method includes HttpInfo object to return additional information.
239 *
240 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
241 */
242 getDefaultRichMenuIdWithHttpInfo(): Promise<Types.ApiResponseType<RichMenuIdResponse>>;
243 /**
244 * Get a list of users who added your LINE Official Account as a friend
245 * @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.
246 * @param limit The maximum number of user IDs to retrieve in a single request.
247 *
248 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
249 */
250 getFollowers(start?: string, limit?: number): Promise<GetFollowersResponse>;
251 /**
252 * Get a list of users who added your LINE Official Account as a friend.
253 * This method includes HttpInfo object to return additional information.
254 * @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.
255 * @param limit The maximum number of user IDs to retrieve in a single request.
256 *
257 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
258 */
259 getFollowersWithHttpInfo(start?: string, limit?: number): Promise<Types.ApiResponseType<GetFollowersResponse>>;
260 /**
261 * Get number of users in a group chat
262 * @param groupId Group ID
263 *
264 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
265 */
266 getGroupMemberCount(groupId: string): Promise<GroupMemberCountResponse>;
267 /**
268 * Get number of users in a group chat.
269 * This method includes HttpInfo object to return additional information.
270 * @param groupId Group ID
271 *
272 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
273 */
274 getGroupMemberCountWithHttpInfo(groupId: string): Promise<Types.ApiResponseType<GroupMemberCountResponse>>;
275 /**
276 * Get group chat member profile
277 * @param groupId Group ID
278 * @param userId User ID
279 *
280 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
281 */
282 getGroupMemberProfile(groupId: string, userId: string): Promise<GroupUserProfileResponse>;
283 /**
284 * Get group chat member profile.
285 * This method includes HttpInfo object to return additional information.
286 * @param groupId Group ID
287 * @param userId User ID
288 *
289 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
290 */
291 getGroupMemberProfileWithHttpInfo(groupId: string, userId: string): Promise<Types.ApiResponseType<GroupUserProfileResponse>>;
292 /**
293 * Get group chat member user IDs
294 * @param groupId Group ID
295 * @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.
296 *
297 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
298 */
299 getGroupMembersIds(groupId: string, start?: string): Promise<MembersIdsResponse>;
300 /**
301 * Get group chat member user IDs.
302 * This method includes HttpInfo object to return additional information.
303 * @param groupId Group ID
304 * @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.
305 *
306 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
307 */
308 getGroupMembersIdsWithHttpInfo(groupId: string, start?: string): Promise<Types.ApiResponseType<MembersIdsResponse>>;
309 /**
310 * Get group chat summary
311 * @param groupId Group ID
312 *
313 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
314 */
315 getGroupSummary(groupId: string): Promise<GroupSummaryResponse>;
316 /**
317 * Get group chat summary.
318 * This method includes HttpInfo object to return additional information.
319 * @param groupId Group ID
320 *
321 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
322 */
323 getGroupSummaryWithHttpInfo(groupId: string): Promise<Types.ApiResponseType<GroupSummaryResponse>>;
324 /**
325 * Get a list of memberships.
326 *
327 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans"> Documentation</a>
328 */
329 getMembershipList(): Promise<MembershipListResponse>;
330 /**
331 * Get a list of memberships..
332 * This method includes HttpInfo object to return additional information.
333 *
334 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans"> Documentation</a>
335 */
336 getMembershipListWithHttpInfo(): Promise<Types.ApiResponseType<MembershipListResponse>>;
337 /**
338 * Get a user\'s membership subscription.
339 * @param userId User ID
340 *
341 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status"> Documentation</a>
342 */
343 getMembershipSubscription(userId: string): Promise<GetMembershipSubscriptionResponse>;
344 /**
345 * Get a user\'s membership subscription..
346 * This method includes HttpInfo object to return additional information.
347 * @param userId User ID
348 *
349 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status"> Documentation</a>
350 */
351 getMembershipSubscriptionWithHttpInfo(userId: string): Promise<Types.ApiResponseType<GetMembershipSubscriptionResponse>>;
352 /**
353 * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
354 *
355 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota"> Documentation</a>
356 */
357 getMessageQuota(): Promise<MessageQuotaResponse>;
358 /**
359 * Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned..
360 * This method includes HttpInfo object to return additional information.
361 *
362 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota"> Documentation</a>
363 */
364 getMessageQuotaWithHttpInfo(): Promise<Types.ApiResponseType<MessageQuotaResponse>>;
365 /**
366 * Gets the number of messages sent in the current month.
367 *
368 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption"> Documentation</a>
369 */
370 getMessageQuotaConsumption(): Promise<QuotaConsumptionResponse>;
371 /**
372 * Gets the number of messages sent in the current month..
373 * This method includes HttpInfo object to return additional information.
374 *
375 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption"> Documentation</a>
376 */
377 getMessageQuotaConsumptionWithHttpInfo(): Promise<Types.ApiResponseType<QuotaConsumptionResponse>>;
378 /**
379 * Gets the status of a narrowcast message.
380 * @param requestId The narrowcast message\'s request ID. Each Messaging API request has a request ID.
381 *
382 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status"> Documentation</a>
383 */
384 getNarrowcastProgress(requestId: string): Promise<NarrowcastProgressResponse>;
385 /**
386 * Gets the status of a narrowcast message..
387 * This method includes HttpInfo object to return additional information.
388 * @param requestId The narrowcast message\'s request ID. Each Messaging API request has a request ID.
389 *
390 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status"> Documentation</a>
391 */
392 getNarrowcastProgressWithHttpInfo(requestId: string): Promise<Types.ApiResponseType<NarrowcastProgressResponse>>;
393 /**
394 * Get number of sent broadcast messages
395 * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
396 *
397 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages"> Documentation</a>
398 */
399 getNumberOfSentBroadcastMessages(date: string): Promise<NumberOfMessagesResponse>;
400 /**
401 * Get number of sent broadcast messages.
402 * This method includes HttpInfo object to return additional information.
403 * @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
404 *
405 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages"> Documentation</a>
406 */
407 getNumberOfSentBroadcastMessagesWithHttpInfo(date: string): Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
408 /**
409 * Get number of sent multicast messages
410 * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
411 *
412 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages"> Documentation</a>
413 */
414 getNumberOfSentMulticastMessages(date: string): Promise<NumberOfMessagesResponse>;
415 /**
416 * Get number of sent multicast messages.
417 * This method includes HttpInfo object to return additional information.
418 * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
419 *
420 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages"> Documentation</a>
421 */
422 getNumberOfSentMulticastMessagesWithHttpInfo(date: string): Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
423 /**
424 * Get number of sent push messages
425 * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
426 *
427 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages"> Documentation</a>
428 */
429 getNumberOfSentPushMessages(date: string): Promise<NumberOfMessagesResponse>;
430 /**
431 * Get number of sent push messages.
432 * This method includes HttpInfo object to return additional information.
433 * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
434 *
435 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages"> Documentation</a>
436 */
437 getNumberOfSentPushMessagesWithHttpInfo(date: string): Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
438 /**
439 * Get number of sent reply messages
440 * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
441 *
442 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages"> Documentation</a>
443 */
444 getNumberOfSentReplyMessages(date: string): Promise<NumberOfMessagesResponse>;
445 /**
446 * Get number of sent reply messages.
447 * This method includes HttpInfo object to return additional information.
448 * @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
449 *
450 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages"> Documentation</a>
451 */
452 getNumberOfSentReplyMessagesWithHttpInfo(date: string): Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
453 /**
454 * Get number of sent LINE notification messages
455 * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
456 *
457 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages"> Documentation</a>
458 */
459 getPNPMessageStatistics(date: string): Promise<NumberOfMessagesResponse>;
460 /**
461 * Get number of sent LINE notification messages .
462 * This method includes HttpInfo object to return additional information.
463 * @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
464 *
465 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages"> Documentation</a>
466 */
467 getPNPMessageStatisticsWithHttpInfo(date: string): Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
468 /**
469 * Get profile
470 * @param userId User ID
471 *
472 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile"> Documentation</a>
473 */
474 getProfile(userId: string): Promise<UserProfileResponse>;
475 /**
476 * Get profile.
477 * This method includes HttpInfo object to return additional information.
478 * @param userId User ID
479 *
480 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile"> Documentation</a>
481 */
482 getProfileWithHttpInfo(userId: string): Promise<Types.ApiResponseType<UserProfileResponse>>;
483 /**
484 * Gets a rich menu via a rich menu ID.
485 * @param richMenuId ID of a rich menu
486 *
487 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu"> Documentation</a>
488 */
489 getRichMenu(richMenuId: string): Promise<RichMenuResponse>;
490 /**
491 * Gets a rich menu via a rich menu ID..
492 * This method includes HttpInfo object to return additional information.
493 * @param richMenuId ID of a rich menu
494 *
495 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu"> Documentation</a>
496 */
497 getRichMenuWithHttpInfo(richMenuId: string): Promise<Types.ApiResponseType<RichMenuResponse>>;
498 /**
499 * Get rich menu alias information
500 * @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
501 *
502 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id"> Documentation</a>
503 */
504 getRichMenuAlias(richMenuAliasId: string): Promise<RichMenuAliasResponse>;
505 /**
506 * Get rich menu alias information.
507 * This method includes HttpInfo object to return additional information.
508 * @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
509 *
510 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id"> Documentation</a>
511 */
512 getRichMenuAliasWithHttpInfo(richMenuAliasId: string): Promise<Types.ApiResponseType<RichMenuAliasResponse>>;
513 /**
514 * Get list of rich menu alias
515 *
516 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list"> Documentation</a>
517 */
518 getRichMenuAliasList(): Promise<RichMenuAliasListResponse>;
519 /**
520 * Get list of rich menu alias.
521 * This method includes HttpInfo object to return additional information.
522 *
523 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list"> Documentation</a>
524 */
525 getRichMenuAliasListWithHttpInfo(): Promise<Types.ApiResponseType<RichMenuAliasListResponse>>;
526 /**
527 * Get the status of Replace or unlink a linked rich menus in batches.
528 * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
529 *
530 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status"> Documentation</a>
531 */
532 getRichMenuBatchProgress(requestId: string): Promise<RichMenuBatchProgressResponse>;
533 /**
534 * Get the status of Replace or unlink a linked rich menus in batches..
535 * This method includes HttpInfo object to return additional information.
536 * @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
537 *
538 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status"> Documentation</a>
539 */
540 getRichMenuBatchProgressWithHttpInfo(requestId: string): Promise<Types.ApiResponseType<RichMenuBatchProgressResponse>>;
541 /**
542 * Get rich menu ID of user
543 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
544 *
545 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user"> Documentation</a>
546 */
547 getRichMenuIdOfUser(userId: string): Promise<RichMenuIdResponse>;
548 /**
549 * Get rich menu ID of user.
550 * This method includes HttpInfo object to return additional information.
551 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
552 *
553 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user"> Documentation</a>
554 */
555 getRichMenuIdOfUserWithHttpInfo(userId: string): Promise<Types.ApiResponseType<RichMenuIdResponse>>;
556 /**
557 * Get rich menu list
558 *
559 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list"> Documentation</a>
560 */
561 getRichMenuList(): Promise<RichMenuListResponse>;
562 /**
563 * Get rich menu list.
564 * This method includes HttpInfo object to return additional information.
565 *
566 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list"> Documentation</a>
567 */
568 getRichMenuListWithHttpInfo(): Promise<Types.ApiResponseType<RichMenuListResponse>>;
569 /**
570 * Get number of users in a multi-person chat
571 * @param roomId Room ID
572 *
573 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count"> Documentation</a>
574 */
575 getRoomMemberCount(roomId: string): Promise<RoomMemberCountResponse>;
576 /**
577 * Get number of users in a multi-person chat.
578 * This method includes HttpInfo object to return additional information.
579 * @param roomId Room ID
580 *
581 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count"> Documentation</a>
582 */
583 getRoomMemberCountWithHttpInfo(roomId: string): Promise<Types.ApiResponseType<RoomMemberCountResponse>>;
584 /**
585 * Get multi-person chat member profile
586 * @param roomId Room ID
587 * @param userId User ID
588 *
589 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile"> Documentation</a>
590 */
591 getRoomMemberProfile(roomId: string, userId: string): Promise<RoomUserProfileResponse>;
592 /**
593 * Get multi-person chat member profile.
594 * This method includes HttpInfo object to return additional information.
595 * @param roomId Room ID
596 * @param userId User ID
597 *
598 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile"> Documentation</a>
599 */
600 getRoomMemberProfileWithHttpInfo(roomId: string, userId: string): Promise<Types.ApiResponseType<RoomUserProfileResponse>>;
601 /**
602 * Get multi-person chat member user IDs
603 * @param roomId Room ID
604 * @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.
605 *
606 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids"> Documentation</a>
607 */
608 getRoomMembersIds(roomId: string, start?: string): Promise<MembersIdsResponse>;
609 /**
610 * Get multi-person chat member user IDs.
611 * This method includes HttpInfo object to return additional information.
612 * @param roomId Room ID
613 * @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.
614 *
615 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids"> Documentation</a>
616 */
617 getRoomMembersIdsWithHttpInfo(roomId: string, start?: string): Promise<Types.ApiResponseType<MembersIdsResponse>>;
618 /**
619 * Get webhook endpoint information
620 *
621 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information"> Documentation</a>
622 */
623 getWebhookEndpoint(): Promise<GetWebhookEndpointResponse>;
624 /**
625 * Get webhook endpoint information.
626 * This method includes HttpInfo object to return additional information.
627 *
628 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information"> Documentation</a>
629 */
630 getWebhookEndpointWithHttpInfo(): Promise<Types.ApiResponseType<GetWebhookEndpointResponse>>;
631 /**
632 * Issue link token
633 * @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.
634 *
635 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token"> Documentation</a>
636 */
637 issueLinkToken(userId: string): Promise<IssueLinkTokenResponse>;
638 /**
639 * Issue link token.
640 * This method includes HttpInfo object to return additional information.
641 * @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.
642 *
643 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token"> Documentation</a>
644 */
645 issueLinkTokenWithHttpInfo(userId: string): Promise<Types.ApiResponseType<IssueLinkTokenResponse>>;
646 /**
647 * Leave group chat
648 * @param groupId Group ID
649 *
650 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group"> Documentation</a>
651 */
652 leaveGroup(groupId: string): Promise<Types.MessageAPIResponseBase>;
653 /**
654 * Leave group chat.
655 * This method includes HttpInfo object to return additional information.
656 * @param groupId Group ID
657 *
658 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group"> Documentation</a>
659 */
660 leaveGroupWithHttpInfo(groupId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
661 /**
662 * Leave multi-person chat
663 * @param roomId Room ID
664 *
665 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room"> Documentation</a>
666 */
667 leaveRoom(roomId: string): Promise<Types.MessageAPIResponseBase>;
668 /**
669 * Leave multi-person chat.
670 * This method includes HttpInfo object to return additional information.
671 * @param roomId Room ID
672 *
673 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room"> Documentation</a>
674 */
675 leaveRoomWithHttpInfo(roomId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
676 /**
677 * Link rich menu to user.
678 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
679 * @param richMenuId ID of a rich menu
680 *
681 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user"> Documentation</a>
682 */
683 linkRichMenuIdToUser(userId: string, richMenuId: string): Promise<Types.MessageAPIResponseBase>;
684 /**
685 * Link rich menu to user..
686 * This method includes HttpInfo object to return additional information.
687 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
688 * @param richMenuId ID of a rich menu
689 *
690 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user"> Documentation</a>
691 */
692 linkRichMenuIdToUserWithHttpInfo(userId: string, richMenuId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
693 /**
694 * Link rich menu to multiple users
695 * @param richMenuBulkLinkRequest
696 *
697 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users"> Documentation</a>
698 */
699 linkRichMenuIdToUsers(richMenuBulkLinkRequest: RichMenuBulkLinkRequest): Promise<Types.MessageAPIResponseBase>;
700 /**
701 * Link rich menu to multiple users.
702 * This method includes HttpInfo object to return additional information.
703 * @param richMenuBulkLinkRequest
704 *
705 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users"> Documentation</a>
706 */
707 linkRichMenuIdToUsersWithHttpInfo(richMenuBulkLinkRequest: RichMenuBulkLinkRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
708 /**
709 * Mark messages from users as read
710 * @param markMessagesAsReadRequest
711 *
712 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read"> Documentation</a>
713 */
714 markMessagesAsRead(markMessagesAsReadRequest: MarkMessagesAsReadRequest): Promise<Types.MessageAPIResponseBase>;
715 /**
716 * Mark messages from users as read.
717 * This method includes HttpInfo object to return additional information.
718 * @param markMessagesAsReadRequest
719 *
720 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read"> Documentation</a>
721 */
722 markMessagesAsReadWithHttpInfo(markMessagesAsReadRequest: MarkMessagesAsReadRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
723 /**
724 * An API that efficiently sends the same message to multiple user IDs. You can\'t send messages to group chats or multi-person chats.
725 * @param multicastRequest
726 * @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.
727 *
728 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message"> Documentation</a>
729 */
730 multicast(multicastRequest: MulticastRequest, xLineRetryKey?: string): Promise<object>;
731 /**
732 * An API that efficiently sends the same message to multiple user IDs. You can\'t send messages to group chats or multi-person chats..
733 * This method includes HttpInfo object to return additional information.
734 * @param multicastRequest
735 * @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.
736 *
737 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message"> Documentation</a>
738 */
739 multicastWithHttpInfo(multicastRequest: MulticastRequest, xLineRetryKey?: string): Promise<Types.ApiResponseType<object>>;
740 /**
741 * Send narrowcast message
742 * @param narrowcastRequest
743 * @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.
744 *
745 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message"> Documentation</a>
746 */
747 narrowcast(narrowcastRequest: NarrowcastRequest, xLineRetryKey?: string): Promise<object>;
748 /**
749 * Send narrowcast message.
750 * This method includes HttpInfo object to return additional information.
751 * @param narrowcastRequest
752 * @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.
753 *
754 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message"> Documentation</a>
755 */
756 narrowcastWithHttpInfo(narrowcastRequest: NarrowcastRequest, xLineRetryKey?: string): Promise<Types.ApiResponseType<object>>;
757 /**
758 * Sends a message to a user, group chat, or multi-person chat at any time.
759 * @param pushMessageRequest
760 * @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.
761 *
762 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message"> Documentation</a>
763 */
764 pushMessage(pushMessageRequest: PushMessageRequest, xLineRetryKey?: string): Promise<PushMessageResponse>;
765 /**
766 * Sends a message to a user, group chat, or multi-person chat at any time..
767 * This method includes HttpInfo object to return additional information.
768 * @param pushMessageRequest
769 * @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.
770 *
771 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message"> Documentation</a>
772 */
773 pushMessageWithHttpInfo(pushMessageRequest: PushMessageRequest, xLineRetryKey?: string): Promise<Types.ApiResponseType<PushMessageResponse>>;
774 /**
775 * Send LINE notification message
776 * @param pnpMessagesRequest
777 * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
778 *
779 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message"> Documentation</a>
780 */
781 pushMessagesByPhone(pnpMessagesRequest: PnpMessagesRequest, xLineDeliveryTag?: string): Promise<Types.MessageAPIResponseBase>;
782 /**
783 * Send LINE notification message.
784 * This method includes HttpInfo object to return additional information.
785 * @param pnpMessagesRequest
786 * @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
787 *
788 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message"> Documentation</a>
789 */
790 pushMessagesByPhoneWithHttpInfo(pnpMessagesRequest: PnpMessagesRequest, xLineDeliveryTag?: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
791 /**
792 * Send reply message
793 * @param replyMessageRequest
794 *
795 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message"> Documentation</a>
796 */
797 replyMessage(replyMessageRequest: ReplyMessageRequest): Promise<ReplyMessageResponse>;
798 /**
799 * Send reply message.
800 * This method includes HttpInfo object to return additional information.
801 * @param replyMessageRequest
802 *
803 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message"> Documentation</a>
804 */
805 replyMessageWithHttpInfo(replyMessageRequest: ReplyMessageRequest): Promise<Types.ApiResponseType<ReplyMessageResponse>>;
806 /**
807 * 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
808 * @param richMenuBatchRequest
809 *
810 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users"> Documentation</a>
811 */
812 richMenuBatch(richMenuBatchRequest: RichMenuBatchRequest): Promise<Types.MessageAPIResponseBase>;
813 /**
814 * 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 .
815 * This method includes HttpInfo object to return additional information.
816 * @param richMenuBatchRequest
817 *
818 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users"> Documentation</a>
819 */
820 richMenuBatchWithHttpInfo(richMenuBatchRequest: RichMenuBatchRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
821 /**
822 * Set default rich menu
823 * @param richMenuId ID of a rich menu
824 *
825 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu"> Documentation</a>
826 */
827 setDefaultRichMenu(richMenuId: string): Promise<Types.MessageAPIResponseBase>;
828 /**
829 * Set default rich menu.
830 * This method includes HttpInfo object to return additional information.
831 * @param richMenuId ID of a rich menu
832 *
833 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu"> Documentation</a>
834 */
835 setDefaultRichMenuWithHttpInfo(richMenuId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
836 /**
837 * Set webhook endpoint URL
838 * @param setWebhookEndpointRequest
839 *
840 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url"> Documentation</a>
841 */
842 setWebhookEndpoint(setWebhookEndpointRequest: SetWebhookEndpointRequest): Promise<Types.MessageAPIResponseBase>;
843 /**
844 * Set webhook endpoint URL.
845 * This method includes HttpInfo object to return additional information.
846 * @param setWebhookEndpointRequest
847 *
848 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url"> Documentation</a>
849 */
850 setWebhookEndpointWithHttpInfo(setWebhookEndpointRequest: SetWebhookEndpointRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
851 /**
852 * Display a loading animation in one-on-one chats between users and LINE Official Accounts.
853 * @param showLoadingAnimationRequest
854 *
855 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator"> Documentation</a>
856 */
857 showLoadingAnimation(showLoadingAnimationRequest: ShowLoadingAnimationRequest): Promise<object>;
858 /**
859 * Display a loading animation in one-on-one chats between users and LINE Official Accounts..
860 * This method includes HttpInfo object to return additional information.
861 * @param showLoadingAnimationRequest
862 *
863 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator"> Documentation</a>
864 */
865 showLoadingAnimationWithHttpInfo(showLoadingAnimationRequest: ShowLoadingAnimationRequest): Promise<Types.ApiResponseType<object>>;
866 /**
867 * Test webhook endpoint
868 * @param testWebhookEndpointRequest
869 *
870 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
871 */
872 testWebhookEndpoint(testWebhookEndpointRequest?: TestWebhookEndpointRequest): Promise<TestWebhookEndpointResponse>;
873 /**
874 * Test webhook endpoint.
875 * This method includes HttpInfo object to return additional information.
876 * @param testWebhookEndpointRequest
877 *
878 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
879 */
880 testWebhookEndpointWithHttpInfo(testWebhookEndpointRequest?: TestWebhookEndpointRequest): Promise<Types.ApiResponseType<TestWebhookEndpointResponse>>;
881 /**
882 * Unlink rich menu from user
883 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
884 *
885 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
886 */
887 unlinkRichMenuIdFromUser(userId: string): Promise<Types.MessageAPIResponseBase>;
888 /**
889 * Unlink rich menu from user.
890 * This method includes HttpInfo object to return additional information.
891 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
892 *
893 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
894 */
895 unlinkRichMenuIdFromUserWithHttpInfo(userId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
896 /**
897 * Unlink rich menus from multiple users
898 * @param richMenuBulkUnlinkRequest
899 *
900 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
901 */
902 unlinkRichMenuIdFromUsers(richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest): Promise<Types.MessageAPIResponseBase>;
903 /**
904 * Unlink rich menus from multiple users.
905 * This method includes HttpInfo object to return additional information.
906 * @param richMenuBulkUnlinkRequest
907 *
908 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
909 */
910 unlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
911 /**
912 * Update rich menu alias
913 * @param richMenuAliasId The rich menu alias ID you want to update.
914 * @param updateRichMenuAliasRequest
915 *
916 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
917 */
918 updateRichMenuAlias(richMenuAliasId: string, updateRichMenuAliasRequest: UpdateRichMenuAliasRequest): Promise<Types.MessageAPIResponseBase>;
919 /**
920 * Update rich menu alias.
921 * This method includes HttpInfo object to return additional information.
922 * @param richMenuAliasId The rich menu alias ID you want to update.
923 * @param updateRichMenuAliasRequest
924 *
925 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
926 */
927 updateRichMenuAliasWithHttpInfo(richMenuAliasId: string, updateRichMenuAliasRequest: UpdateRichMenuAliasRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
928 /**
929 * Validate message objects of a broadcast message
930 * @param validateMessageRequest
931 *
932 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
933 */
934 validateBroadcast(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
935 /**
936 * Validate message objects of a broadcast message.
937 * This method includes HttpInfo object to return additional information.
938 * @param validateMessageRequest
939 *
940 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
941 */
942 validateBroadcastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
943 /**
944 * Validate message objects of a multicast message
945 * @param validateMessageRequest
946 *
947 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message"> Documentation</a>
948 */
949 validateMulticast(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
950 /**
951 * Validate message objects of a multicast message.
952 * This method includes HttpInfo object to return additional information.
953 * @param validateMessageRequest
954 *
955 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message"> Documentation</a>
956 */
957 validateMulticastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
958 /**
959 * Validate message objects of a narrowcast message
960 * @param validateMessageRequest
961 *
962 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message"> Documentation</a>
963 */
964 validateNarrowcast(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
965 /**
966 * Validate message objects of a narrowcast message.
967 * This method includes HttpInfo object to return additional information.
968 * @param validateMessageRequest
969 *
970 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message"> Documentation</a>
971 */
972 validateNarrowcastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
973 /**
974 * Validate message objects of a push message
975 * @param validateMessageRequest
976 *
977 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message"> Documentation</a>
978 */
979 validatePush(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
980 /**
981 * Validate message objects of a push message.
982 * This method includes HttpInfo object to return additional information.
983 * @param validateMessageRequest
984 *
985 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message"> Documentation</a>
986 */
987 validatePushWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
988 /**
989 * Validate message objects of a reply message
990 * @param validateMessageRequest
991 *
992 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message"> Documentation</a>
993 */
994 validateReply(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
995 /**
996 * Validate message objects of a reply message.
997 * This method includes HttpInfo object to return additional information.
998 * @param validateMessageRequest
999 *
1000 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message"> Documentation</a>
1001 */
1002 validateReplyWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
1003 /**
1004 * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
1005 * @param richMenuBatchRequest
1006 *
1007 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
1008 */
1009 validateRichMenuBatchRequest(richMenuBatchRequest: RichMenuBatchRequest): Promise<Types.MessageAPIResponseBase>;
1010 /**
1011 * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint..
1012 * This method includes HttpInfo object to return additional information.
1013 * @param richMenuBatchRequest
1014 *
1015 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
1016 */
1017 validateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest: RichMenuBatchRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
1018 /**
1019 * Validate rich menu object
1020 * @param richMenuRequest
1021 *
1022 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
1023 */
1024 validateRichMenuObject(richMenuRequest: RichMenuRequest): Promise<Types.MessageAPIResponseBase>;
1025 /**
1026 * Validate rich menu object.
1027 * This method includes HttpInfo object to return additional information.
1028 * @param richMenuRequest
1029 *
1030 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
1031 */
1032 validateRichMenuObjectWithHttpInfo(richMenuRequest: RichMenuRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
1033}
1034export {};
1035//# sourceMappingURL=messagingApiClient.d.ts.map
\No newline at end of file