UNPKG

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