UNPKG

55.9 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";
13import { BotInfoResponse } from "../model/botInfoResponse";
14import { BroadcastRequest } from "../model/broadcastRequest";
15import { CreateRichMenuAliasRequest } from "../model/createRichMenuAliasRequest";
16import { GetAggregationUnitNameListResponse } from "../model/getAggregationUnitNameListResponse";
17import { GetAggregationUnitUsageResponse } from "../model/getAggregationUnitUsageResponse";
18import { GetFollowersResponse } from "../model/getFollowersResponse";
19import { GetWebhookEndpointResponse } from "../model/getWebhookEndpointResponse";
20import { GroupMemberCountResponse } from "../model/groupMemberCountResponse";
21import { GroupSummaryResponse } from "../model/groupSummaryResponse";
22import { GroupUserProfileResponse } from "../model/groupUserProfileResponse";
23import { IssueLinkTokenResponse } from "../model/issueLinkTokenResponse";
24import { MarkMessagesAsReadRequest } from "../model/markMessagesAsReadRequest";
25import { MembersIdsResponse } from "../model/membersIdsResponse";
26import { MessageQuotaResponse } from "../model/messageQuotaResponse";
27import { MulticastRequest } from "../model/multicastRequest";
28import { NarrowcastProgressResponse } from "../model/narrowcastProgressResponse";
29import { NarrowcastRequest } from "../model/narrowcastRequest";
30import { NumberOfMessagesResponse } from "../model/numberOfMessagesResponse";
31import { PnpMessagesRequest } from "../model/pnpMessagesRequest";
32import { PushMessageRequest } from "../model/pushMessageRequest";
33import { PushMessageResponse } from "../model/pushMessageResponse";
34import { QuotaConsumptionResponse } from "../model/quotaConsumptionResponse";
35import { ReplyMessageRequest } from "../model/replyMessageRequest";
36import { ReplyMessageResponse } from "../model/replyMessageResponse";
37import { RichMenuAliasListResponse } from "../model/richMenuAliasListResponse";
38import { RichMenuAliasResponse } from "../model/richMenuAliasResponse";
39import { RichMenuBatchProgressResponse } from "../model/richMenuBatchProgressResponse";
40import { RichMenuBatchRequest } from "../model/richMenuBatchRequest";
41import { RichMenuBulkLinkRequest } from "../model/richMenuBulkLinkRequest";
42import { RichMenuBulkUnlinkRequest } from "../model/richMenuBulkUnlinkRequest";
43import { RichMenuIdResponse } from "../model/richMenuIdResponse";
44import { RichMenuListResponse } from "../model/richMenuListResponse";
45import { RichMenuRequest } from "../model/richMenuRequest";
46import { RichMenuResponse } from "../model/richMenuResponse";
47import { RoomMemberCountResponse } from "../model/roomMemberCountResponse";
48import { RoomUserProfileResponse } from "../model/roomUserProfileResponse";
49import { SetWebhookEndpointRequest } from "../model/setWebhookEndpointRequest";
50import { TestWebhookEndpointRequest } from "../model/testWebhookEndpointRequest";
51import { TestWebhookEndpointResponse } from "../model/testWebhookEndpointResponse";
52import { UpdateRichMenuAliasRequest } from "../model/updateRichMenuAliasRequest";
53import { UserProfileResponse } from "../model/userProfileResponse";
54import { ValidateMessageRequest } from "../model/validateMessageRequest";
55import * as Types from "../../types";
56interface httpClientConfig {
57 baseURL?: string;
58 channelAccessToken: string;
59}
60export declare class MessagingApiClient {
61 private httpClient;
62 constructor(config: httpClientConfig);
63 private parseHTTPResponse;
64 /**
65 * Send a message using phone number
66 * @param audienceMatchMessagesRequest
67 *
68 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#phone-audience-match"> Documentation</a>
69 */
70 audienceMatch(audienceMatchMessagesRequest: AudienceMatchMessagesRequest): Promise<Types.MessageAPIResponseBase>;
71 /**
72 * Send a message using phone number.
73 * This method includes HttpInfo object to return additional information.
74 * @param audienceMatchMessagesRequest
75 *
76 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#phone-audience-match"> Documentation</a>
77 */
78 audienceMatchWithHttpInfo(audienceMatchMessagesRequest: AudienceMatchMessagesRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
79 /**
80 * Sends a message to multiple users at any time.
81 * @param broadcastRequest
82 * @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.
83 *
84 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
85 */
86 broadcast(broadcastRequest: BroadcastRequest, xLineRetryKey?: string): Promise<object>;
87 /**
88 * Sends a message to multiple users at any time..
89 * This method includes HttpInfo object to return additional information.
90 * @param broadcastRequest
91 * @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.
92 *
93 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message"> Documentation</a>
94 */
95 broadcastWithHttpInfo(broadcastRequest: BroadcastRequest, xLineRetryKey?: string): Promise<Types.ApiResponseType<object>>;
96 /**
97 * Cancel default rich menu
98 *
99 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
100 */
101 cancelDefaultRichMenu(): Promise<Types.MessageAPIResponseBase>;
102 /**
103 * Cancel default rich menu.
104 * This method includes HttpInfo object to return additional information.
105 *
106 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu"> Documentation</a>
107 */
108 cancelDefaultRichMenuWithHttpInfo(): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
109 /**
110 * Create rich menu
111 * @param richMenuRequest
112 *
113 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
114 */
115 createRichMenu(richMenuRequest: RichMenuRequest): Promise<RichMenuIdResponse>;
116 /**
117 * Create rich menu.
118 * This method includes HttpInfo object to return additional information.
119 * @param richMenuRequest
120 *
121 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu"> Documentation</a>
122 */
123 createRichMenuWithHttpInfo(richMenuRequest: RichMenuRequest): Promise<Types.ApiResponseType<RichMenuIdResponse>>;
124 /**
125 * Create rich menu alias
126 * @param createRichMenuAliasRequest
127 *
128 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
129 */
130 createRichMenuAlias(createRichMenuAliasRequest: CreateRichMenuAliasRequest): Promise<Types.MessageAPIResponseBase>;
131 /**
132 * Create rich menu alias.
133 * This method includes HttpInfo object to return additional information.
134 * @param createRichMenuAliasRequest
135 *
136 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias"> Documentation</a>
137 */
138 createRichMenuAliasWithHttpInfo(createRichMenuAliasRequest: CreateRichMenuAliasRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
139 /**
140 * Deletes a rich menu.
141 * @param richMenuId ID of a rich menu
142 *
143 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> Documentation</a>
144 */
145 deleteRichMenu(richMenuId: string): Promise<Types.MessageAPIResponseBase>;
146 /**
147 * Deletes a rich menu..
148 * This method includes HttpInfo object to return additional information.
149 * @param richMenuId ID of a rich menu
150 *
151 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu"> Documentation</a>
152 */
153 deleteRichMenuWithHttpInfo(richMenuId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
154 /**
155 * Delete rich menu alias
156 * @param richMenuAliasId Rich menu alias ID that you want to delete.
157 *
158 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
159 */
160 deleteRichMenuAlias(richMenuAliasId: string): Promise<Types.MessageAPIResponseBase>;
161 /**
162 * Delete rich menu alias.
163 * This method includes HttpInfo object to return additional information.
164 * @param richMenuAliasId Rich menu alias ID that you want to delete.
165 *
166 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias"> Documentation</a>
167 */
168 deleteRichMenuAliasWithHttpInfo(richMenuAliasId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
169 /**
170 * Get result of message delivery using phone number
171 * @param date Date the message was sent Format: `yyyyMMdd` (e.g. `20190831`) Time Zone: UTC+9
172 *
173 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-phone-audience-match"> Documentation</a>
174 */
175 getAdPhoneMessageStatistics(date: string): Promise<NumberOfMessagesResponse>;
176 /**
177 * Get result of message delivery using phone number.
178 * This method includes HttpInfo object to return additional information.
179 * @param date Date the message was sent Format: `yyyyMMdd` (e.g. `20190831`) Time Zone: UTC+9
180 *
181 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-phone-audience-match"> Documentation</a>
182 */
183 getAdPhoneMessageStatisticsWithHttpInfo(date: string): Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
184 /**
185 * Get name list of units used this month
186 * @param limit The maximum number of aggregation units you can get per request.
187 * @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.
188 *
189 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
190 */
191 getAggregationUnitNameList(limit?: string, start?: string): Promise<GetAggregationUnitNameListResponse>;
192 /**
193 * Get name list of units used this month.
194 * This method includes HttpInfo object to return additional information.
195 * @param limit The maximum number of aggregation units you can get per request.
196 * @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.
197 *
198 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month"> Documentation</a>
199 */
200 getAggregationUnitNameListWithHttpInfo(limit?: string, start?: string): Promise<Types.ApiResponseType<GetAggregationUnitNameListResponse>>;
201 /**
202 * Get number of units used this month
203 *
204 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
205 */
206 getAggregationUnitUsage(): Promise<GetAggregationUnitUsageResponse>;
207 /**
208 * Get number of units used this month.
209 * This method includes HttpInfo object to return additional information.
210 *
211 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month"> Documentation</a>
212 */
213 getAggregationUnitUsageWithHttpInfo(): Promise<Types.ApiResponseType<GetAggregationUnitUsageResponse>>;
214 /**
215 * Get bot info
216 *
217 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
218 */
219 getBotInfo(): Promise<BotInfoResponse>;
220 /**
221 * Get bot info.
222 * This method includes HttpInfo object to return additional information.
223 *
224 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info"> Documentation</a>
225 */
226 getBotInfoWithHttpInfo(): Promise<Types.ApiResponseType<BotInfoResponse>>;
227 /**
228 * Gets the ID of the default rich menu set with the Messaging API.
229 *
230 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
231 */
232 getDefaultRichMenuId(): Promise<RichMenuIdResponse>;
233 /**
234 * Gets the ID of the default rich menu set with the Messaging API..
235 * This method includes HttpInfo object to return additional information.
236 *
237 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id"> Documentation</a>
238 */
239 getDefaultRichMenuIdWithHttpInfo(): Promise<Types.ApiResponseType<RichMenuIdResponse>>;
240 /**
241 * Get a list of users who added your LINE Official Account as a friend
242 * @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.
243 * @param limit The maximum number of user IDs to retrieve in a single request.
244 *
245 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
246 */
247 getFollowers(start?: string, limit?: number): Promise<GetFollowersResponse>;
248 /**
249 * Get a list of users who added your LINE Official Account as a friend.
250 * This method includes HttpInfo object to return additional information.
251 * @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.
252 * @param limit The maximum number of user IDs to retrieve in a single request.
253 *
254 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids"> Documentation</a>
255 */
256 getFollowersWithHttpInfo(start?: string, limit?: number): Promise<Types.ApiResponseType<GetFollowersResponse>>;
257 /**
258 * Get number of users in a group chat
259 * @param groupId Group ID
260 *
261 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
262 */
263 getGroupMemberCount(groupId: string): Promise<GroupMemberCountResponse>;
264 /**
265 * Get number of users in a group chat.
266 * This method includes HttpInfo object to return additional information.
267 * @param groupId Group ID
268 *
269 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count"> Documentation</a>
270 */
271 getGroupMemberCountWithHttpInfo(groupId: string): Promise<Types.ApiResponseType<GroupMemberCountResponse>>;
272 /**
273 * Get group chat member profile
274 * @param groupId Group ID
275 * @param userId User ID
276 *
277 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
278 */
279 getGroupMemberProfile(groupId: string, userId: string): Promise<GroupUserProfileResponse>;
280 /**
281 * Get group chat member profile.
282 * This method includes HttpInfo object to return additional information.
283 * @param groupId Group ID
284 * @param userId User ID
285 *
286 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile"> Documentation</a>
287 */
288 getGroupMemberProfileWithHttpInfo(groupId: string, userId: string): Promise<Types.ApiResponseType<GroupUserProfileResponse>>;
289 /**
290 * Get group chat member user IDs
291 * @param groupId Group ID
292 * @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.
293 *
294 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
295 */
296 getGroupMembersIds(groupId: string, start?: string): Promise<MembersIdsResponse>;
297 /**
298 * Get group chat member user IDs.
299 * This method includes HttpInfo object to return additional information.
300 * @param groupId Group ID
301 * @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.
302 *
303 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids"> Documentation</a>
304 */
305 getGroupMembersIdsWithHttpInfo(groupId: string, start?: string): Promise<Types.ApiResponseType<MembersIdsResponse>>;
306 /**
307 * Get group chat summary
308 * @param groupId Group ID
309 *
310 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
311 */
312 getGroupSummary(groupId: string): Promise<GroupSummaryResponse>;
313 /**
314 * Get group chat summary.
315 * This method includes HttpInfo object to return additional information.
316 * @param groupId Group ID
317 *
318 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary"> Documentation</a>
319 */
320 getGroupSummaryWithHttpInfo(groupId: string): Promise<Types.ApiResponseType<GroupSummaryResponse>>;
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 * Test webhook endpoint
822 * @param testWebhookEndpointRequest
823 *
824 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
825 */
826 testWebhookEndpoint(testWebhookEndpointRequest?: TestWebhookEndpointRequest): Promise<TestWebhookEndpointResponse>;
827 /**
828 * Test webhook endpoint.
829 * This method includes HttpInfo object to return additional information.
830 * @param testWebhookEndpointRequest
831 *
832 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint"> Documentation</a>
833 */
834 testWebhookEndpointWithHttpInfo(testWebhookEndpointRequest?: TestWebhookEndpointRequest): Promise<Types.ApiResponseType<TestWebhookEndpointResponse>>;
835 /**
836 * Unlink rich menu from user
837 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
838 *
839 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
840 */
841 unlinkRichMenuIdFromUser(userId: string): Promise<Types.MessageAPIResponseBase>;
842 /**
843 * Unlink rich menu from user.
844 * This method includes HttpInfo object to return additional information.
845 * @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
846 *
847 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user"> Documentation</a>
848 */
849 unlinkRichMenuIdFromUserWithHttpInfo(userId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
850 /**
851 * Unlink rich menus from multiple users
852 * @param richMenuBulkUnlinkRequest
853 *
854 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
855 */
856 unlinkRichMenuIdFromUsers(richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest): Promise<Types.MessageAPIResponseBase>;
857 /**
858 * Unlink rich menus from multiple users.
859 * This method includes HttpInfo object to return additional information.
860 * @param richMenuBulkUnlinkRequest
861 *
862 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users"> Documentation</a>
863 */
864 unlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
865 /**
866 * Update rich menu alias
867 * @param richMenuAliasId The rich menu alias ID you want to update.
868 * @param updateRichMenuAliasRequest
869 *
870 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
871 */
872 updateRichMenuAlias(richMenuAliasId: string, updateRichMenuAliasRequest: UpdateRichMenuAliasRequest): Promise<Types.MessageAPIResponseBase>;
873 /**
874 * Update rich menu alias.
875 * This method includes HttpInfo object to return additional information.
876 * @param richMenuAliasId The rich menu alias ID you want to update.
877 * @param updateRichMenuAliasRequest
878 *
879 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias"> Documentation</a>
880 */
881 updateRichMenuAliasWithHttpInfo(richMenuAliasId: string, updateRichMenuAliasRequest: UpdateRichMenuAliasRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
882 /**
883 * Validate message objects of a broadcast message
884 * @param validateMessageRequest
885 *
886 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
887 */
888 validateBroadcast(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
889 /**
890 * Validate message objects of a broadcast message.
891 * This method includes HttpInfo object to return additional information.
892 * @param validateMessageRequest
893 *
894 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message"> Documentation</a>
895 */
896 validateBroadcastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
897 /**
898 * Validate message objects of a multicast message
899 * @param validateMessageRequest
900 *
901 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message"> Documentation</a>
902 */
903 validateMulticast(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
904 /**
905 * Validate message objects of a multicast 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-multicast-message"> Documentation</a>
910 */
911 validateMulticastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
912 /**
913 * Validate message objects of a narrowcast message
914 * @param validateMessageRequest
915 *
916 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message"> Documentation</a>
917 */
918 validateNarrowcast(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
919 /**
920 * Validate message objects of a narrowcast 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-narrowcast-message"> Documentation</a>
925 */
926 validateNarrowcastWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
927 /**
928 * Validate message objects of a push message
929 * @param validateMessageRequest
930 *
931 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message"> Documentation</a>
932 */
933 validatePush(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
934 /**
935 * Validate message objects of a push 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-push-message"> Documentation</a>
940 */
941 validatePushWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
942 /**
943 * Validate message objects of a reply message
944 * @param validateMessageRequest
945 *
946 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message"> Documentation</a>
947 */
948 validateReply(validateMessageRequest: ValidateMessageRequest): Promise<Types.MessageAPIResponseBase>;
949 /**
950 * Validate message objects of a reply 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-reply-message"> Documentation</a>
955 */
956 validateReplyWithHttpInfo(validateMessageRequest: ValidateMessageRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
957 /**
958 * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
959 * @param richMenuBatchRequest
960 *
961 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
962 */
963 validateRichMenuBatchRequest(richMenuBatchRequest: RichMenuBatchRequest): Promise<Types.MessageAPIResponseBase>;
964 /**
965 * Validate a request body of the Replace or unlink the linked rich menus in batches endpoint..
966 * This method includes HttpInfo object to return additional information.
967 * @param richMenuBatchRequest
968 *
969 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request"> Documentation</a>
970 */
971 validateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest: RichMenuBatchRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
972 /**
973 * Validate rich menu object
974 * @param richMenuRequest
975 *
976 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
977 */
978 validateRichMenuObject(richMenuRequest: RichMenuRequest): Promise<Types.MessageAPIResponseBase>;
979 /**
980 * Validate rich menu object.
981 * This method includes HttpInfo object to return additional information.
982 * @param richMenuRequest
983 *
984 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object"> Documentation</a>
985 */
986 validateRichMenuObjectWithHttpInfo(richMenuRequest: RichMenuRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
987}
988export {};