@openclaw/line 2026.7.1-beta.1 → 2026.7.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.js +1 -1
- package/dist/{card-command-BaaE1SfK.js → card-command--jtkAqp8.js} +7 -6
- package/dist/{channel-DwbohZPO.js → channel-C_8hLniz.js} +89 -42
- package/dist/channel-plugin-api.js +1 -1
- package/dist/channel.runtime-Bh_AQM0k.js +4 -0
- package/dist/{flex-templates-DPBtqQ8R.js → flex-templates-DEIXn69v.js} +6 -2
- package/dist/index.js +7 -7
- package/dist/{markdown-to-line-BBM3V8-S.js → markdown-to-line-DmpZY78n.js} +7 -6
- package/dist/{monitor-BEsUjORi.js → monitor-0eXlx_Pe.js} +56 -16
- package/dist/monitor.runtime-BGIpxzfB.js +2 -0
- package/dist/{outbound.runtime-BKmUJlZB.js → outbound.runtime-BwC7Y2U9.js} +1 -1
- package/dist/{reply-payload-transform-BwF-zq0G.js → reply-payload-transform-C7r5npxP.js} +3 -2
- package/dist/runtime-api.js +17 -6
- package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.d.ts +109 -60
- package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.js +116 -100
- package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/channel-access-token/model/errorResponse.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/channel-access-token/model/errorResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/channel-access-token/model/issueChannelAccessTokenResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/channel-access-token/model/issueShortLivedChannelAccessTokenResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/channel-access-token/model/issueStatelessChannelAccessTokenResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.d.ts +109 -60
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.js +150 -101
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/errorResponse.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/errorResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/issueChannelAccessTokenResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/issueShortLivedChannelAccessTokenResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/issueStatelessChannelAccessTokenResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/model/verifyChannelAccessTokenResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/exceptions.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/exceptions.js +4 -1
- package/node_modules/@line/bot-sdk/dist/cjs/exceptions.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/index.js +36 -11
- package/node_modules/@line/bot-sdk/dist/cjs/index.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.d.ts +119 -30
- package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.js +172 -51
- package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/ageTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/ageTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/appTypeTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/appTypeTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/areaTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/areaTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/errorDetail.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/errorDetail.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/genderTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/genderTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseClick.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseClick.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseMessage.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseMessage.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseOverview.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getMessageEventResponseOverview.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.d.ts +38 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponse.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.d.ts +33 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseBounds.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.d.ts +24 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseClick.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts +30 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.d.ts +22 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightDailyResponseImpression.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.d.ts +38 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponse.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts +33 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseBounds.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.d.ts +21 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseClick.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts +19 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseImpression.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts +25 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.js +14 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/getRichMenuInsightSummaryResponseMetrics.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.d.ts +10 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.js +10 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/models.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/subscriptionPeriodTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/insight/model/subscriptionPeriodTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.d.ts +60 -24
- package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.js +83 -25
- package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/addLiffAppResponse.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/addLiffAppResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/getAllLiffAppsResponse.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/getAllLiffAppsResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffApp.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffApp.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffFeatures.d.ts +4 -1
- package/node_modules/@line/bot-sdk/dist/cjs/liff/model/liffFeatures.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.factory.generated.js +40 -7
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.factory.generated.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.d.ts +948 -600
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.js +956 -600
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.js +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.d.ts +42 -12
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.js +65 -13
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.d.ts +114 -60
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.js +167 -71
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/addAudienceToAudienceGroupRequest.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createAudienceGroupRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createClickBasedAudienceGroupRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createClickBasedAudienceGroupResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/createImpBasedAudienceGroupRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/getAudienceDataResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/getSharedAudienceDataResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/model/updateAudienceGroupDescriptionRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.d.ts +69 -30
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.js +92 -31
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.d.ts +636 -408
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.js +693 -475
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/altUri.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/broadcastRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/cashBackPercentagePriceInfoRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/clipboardAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/clipboardImagemapAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/couponCreateRequest.d.ts +7 -7
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/couponMessage.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/createRichMenuAliasRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/datetimePickerAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/discountPercentagePriceInfoRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/errorResponse.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/flexImage.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/getFollowersResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/getJoinedMembershipUsersResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/getMembershipSubscriptionResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/limit.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/lotteryAcquisitionConditionRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/membersIdsResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/membership.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/membershipListResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/multicastRequest.d.ts +6 -6
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/narrowcastRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/pnpMessagesRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/postbackAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/pushMessageRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/pushMessageResponse.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/quickReply.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/quickReplyItem.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/replyMessageRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/replyMessageResponse.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBatchRequest.d.ts +4 -4
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBounds.d.ts +8 -8
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBulkLinkRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuBulkUnlinkRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuResponse.d.ts +6 -3
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuSize.d.ts +4 -4
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/richMenuSwitchAction.d.ts +4 -4
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/sender.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/setWebhookEndpointRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/showLoadingAnimationRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/subscribedMembershipPlan.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/testWebhookEndpointRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/model/validateMessageRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/middleware.js +39 -3
- package/node_modules/@line/bot-sdk/dist/cjs/middleware.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.d.ts +60 -24
- package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.js +89 -30
- package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/module/model/acquireChatControlRequest.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.d.ts +33 -6
- package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.js +77 -12
- package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/module-attach/model/attachModuleResponse.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/module-attach/model/attachModuleResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.d.ts +33 -6
- package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.js +56 -7
- package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/version.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/version.js +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/accountLinkEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/accountLinkEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/activatedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/activatedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/attachedModuleContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/attachedModuleContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/audioMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/audioMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/beaconEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botResumedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botResumedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botSuspendedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/botSuspendedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/callbackRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/chatControl.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/chatControl.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/deactivatedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/deactivatedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/detachedModuleContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/detachedModuleContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/fileMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/fileMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followDetail.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followDetail.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/followEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/imageMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/imageMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinedMembers.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/joinedMembers.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leaveEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leaveEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leftMembers.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/leftMembers.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/linkContent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/linkContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/locationMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/locationMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberJoinedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberJoinedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberLeftEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/memberLeftEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipContent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/membershipEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/messageEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/messageEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/moduleEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDelivery.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDelivery.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDeliveryCompletionEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/pnpDeliveryCompletionEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/postbackEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/stickerMessageContent.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/textMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/textMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unfollowEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unfollowEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendDetail.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendDetail.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/unsendEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayComplete.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayComplete.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayCompleteEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/cjs/webhook/model/videoPlayCompleteEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/exceptions.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/exceptions.js +4 -1
- package/node_modules/@line/bot-sdk/dist/exceptions.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/http-fetch.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/http-fetch.js +3 -0
- package/node_modules/@line/bot-sdk/dist/http-fetch.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.d.ts +119 -30
- package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.js +138 -50
- package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/ageTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/ageTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/appTypeTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/appTypeTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/areaTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/areaTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/errorDetail.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/errorDetail.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/genderTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/genderTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseClick.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseClick.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseMessage.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseMessage.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseOverview.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getMessageEventResponseOverview.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.d.ts +38 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponse.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.d.ts +33 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseBounds.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.d.ts +24 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseClick.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts +30 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseDailyMetrics.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.d.ts +22 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightDailyResponseImpression.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.d.ts +38 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponse.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts +33 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseBounds.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.d.ts +21 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseClick.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts +19 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseImpression.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts +25 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.d.ts.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.js +13 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/getRichMenuInsightSummaryResponseMetrics.js.map +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/models.d.ts +10 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/models.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/models.js +10 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/models.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/insight/model/subscriptionPeriodTile.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/insight/model/subscriptionPeriodTile.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.d.ts +60 -24
- package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.js +49 -24
- package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/liff/model/addLiffAppResponse.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/liff/model/addLiffAppResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/liff/model/getAllLiffAppsResponse.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/liff/model/getAllLiffAppsResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/liff/model/liffApp.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/liff/model/liffApp.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/liff/model/liffFeatures.d.ts +4 -1
- package/node_modules/@line/bot-sdk/dist/liff/model/liffFeatures.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/line-bot-client.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.d.ts +948 -600
- package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.js +956 -600
- package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/line-bot-client.js +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.d.ts +42 -12
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.js +31 -12
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.d.ts +114 -60
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.js +133 -70
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/addAudienceToAudienceGroupRequest.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/createAudienceGroupRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/createClickBasedAudienceGroupRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/createClickBasedAudienceGroupResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/createImpBasedAudienceGroupRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/getAudienceDataResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/getSharedAudienceDataResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/manage-audience/model/updateAudienceGroupDescriptionRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.d.ts +69 -30
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.js +58 -30
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.d.ts +636 -408
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.js +659 -474
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/altUri.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/broadcastRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/cashBackPercentagePriceInfoRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/clipboardAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/clipboardImagemapAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/couponCreateRequest.d.ts +7 -7
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/couponMessage.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/createRichMenuAliasRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/datetimePickerAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/discountPercentagePriceInfoRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/errorResponse.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/flexImage.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/getFollowersResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/getJoinedMembershipUsersResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/getMembershipSubscriptionResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/limit.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/lotteryAcquisitionConditionRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/membersIdsResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/membership.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/membershipListResponse.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/multicastRequest.d.ts +6 -6
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/narrowcastRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/pnpMessagesRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/postbackAction.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/pushMessageRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/pushMessageResponse.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/quickReply.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/quickReplyItem.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/replyMessageRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/replyMessageResponse.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBatchRequest.d.ts +4 -4
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBounds.d.ts +8 -8
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBulkLinkRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuBulkUnlinkRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuResponse.d.ts +6 -3
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuSize.d.ts +4 -4
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/richMenuSwitchAction.d.ts +4 -4
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/sender.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/setWebhookEndpointRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/showLoadingAnimationRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/subscribedMembershipPlan.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/testWebhookEndpointRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/messaging-api/model/validateMessageRequest.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/middleware.js +1 -1
- package/node_modules/@line/bot-sdk/dist/middleware.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.d.ts +60 -24
- package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.js +55 -29
- package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/module/model/acquireChatControlRequest.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.d.ts +33 -6
- package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.js +43 -11
- package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/module-attach/model/attachModuleResponse.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/module-attach/model/attachModuleResponse.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.d.ts +33 -6
- package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.js +22 -6
- package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.js.map +1 -1
- package/node_modules/@line/bot-sdk/dist/version.d.ts +1 -1
- package/node_modules/@line/bot-sdk/dist/version.js +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/accountLinkEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/accountLinkEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/activatedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/activatedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/attachedModuleContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/attachedModuleContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/audioMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/audioMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/beaconContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/beaconContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/beaconEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/beaconEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/botResumedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/botResumedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/botSuspendedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/botSuspendedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/callbackRequest.d.ts +3 -3
- package/node_modules/@line/bot-sdk/dist/webhook/model/chatControl.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/chatControl.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/deactivatedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/deactivatedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/detachedModuleContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/detachedModuleContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/fileMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/fileMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/followDetail.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/followDetail.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/followEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/followEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/imageMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/imageMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/joinEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/joinEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/joinedMembers.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/joinedMembers.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/leaveEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/leaveEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/leftMembers.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/leftMembers.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/linkContent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/linkContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/locationMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/locationMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/memberJoinedEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/memberJoinedEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/memberLeftEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/memberLeftEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/membershipContent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/membershipContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/membershipEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/membershipEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/messageEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/messageEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/moduleContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/moduleContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/moduleEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/moduleEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDelivery.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDelivery.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDeliveryCompletionEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/pnpDeliveryCompletionEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/postbackContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/postbackContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/postbackEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/postbackEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/stickerMessageContent.d.ts +2 -2
- package/node_modules/@line/bot-sdk/dist/webhook/model/textMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/textMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/unfollowEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/unfollowEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/unsendDetail.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/unsendDetail.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/unsendEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/unsendEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/videoMessageContent.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/videoMessageContent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayComplete.d.ts +3 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayComplete.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayCompleteEvent.d.ts +1 -0
- package/node_modules/@line/bot-sdk/dist/webhook/model/videoPlayCompleteEvent.d.ts.map +1 -1
- package/node_modules/@line/bot-sdk/lib/channel-access-token/.openapi-generator/FILES +0 -1
- package/node_modules/@line/bot-sdk/lib/channel-access-token/api/channelAccessTokenClient.ts +129 -100
- package/node_modules/@line/bot-sdk/lib/channel-access-token/model/errorResponse.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/channel-access-token/model/issueChannelAccessTokenResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/channel-access-token/model/issueShortLivedChannelAccessTokenResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/channel-access-token/model/issueStatelessChannelAccessTokenResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/channel-access-token/model/verifyChannelAccessTokenResponse.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/exceptions.ts +4 -1
- package/node_modules/@line/bot-sdk/lib/http-fetch.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/.openapi-generator/FILES +10 -1
- package/node_modules/@line/bot-sdk/lib/insight/api/insightClient.ts +184 -50
- package/node_modules/@line/bot-sdk/lib/insight/model/ageTile.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/appTypeTile.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/areaTile.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/errorDetail.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/genderTile.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getMessageEventResponseClick.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getMessageEventResponseMessage.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getMessageEventResponseOverview.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponse.ts +39 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseBounds.ts +33 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseClick.ts +25 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseDailyMetrics.ts +30 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightDailyResponseImpression.ts +23 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponse.ts +39 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseBounds.ts +33 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseClick.ts +22 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseImpression.ts +20 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/getRichMenuInsightSummaryResponseMetrics.ts +25 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/models.ts +10 -0
- package/node_modules/@line/bot-sdk/lib/insight/model/subscriptionPeriodTile.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/liff/.openapi-generator/FILES +0 -1
- package/node_modules/@line/bot-sdk/lib/liff/api/liffClient.ts +60 -24
- package/node_modules/@line/bot-sdk/lib/liff/model/addLiffAppResponse.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/liff/model/getAllLiffAppsResponse.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/liff/model/liffApp.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/liff/model/liffFeatures.ts +4 -1
- package/node_modules/@line/bot-sdk/lib/line-bot-client.generated.ts +984 -600
- package/node_modules/@line/bot-sdk/lib/line-bot-client.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/manage-audience/.openapi-generator/FILES +0 -2
- package/node_modules/@line/bot-sdk/lib/manage-audience/api/manageAudienceBlobClient.ts +42 -12
- package/node_modules/@line/bot-sdk/lib/manage-audience/api/manageAudienceClient.ts +154 -70
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/addAudienceToAudienceGroupRequest.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/createAudienceGroupRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/createClickBasedAudienceGroupRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/createClickBasedAudienceGroupResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/createImpBasedAudienceGroupRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/getAudienceDataResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/getSharedAudienceDataResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/manage-audience/model/updateAudienceGroupDescriptionRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/.openapi-generator/FILES +0 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/api/messagingApiBlobClient.ts +69 -30
- package/node_modules/@line/bot-sdk/lib/messaging-api/api/messagingApiClient.ts +681 -474
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/altUri.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/broadcastRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/cashBackPercentagePriceInfoRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/clipboardAction.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/clipboardImagemapAction.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/couponCreateRequest.ts +7 -7
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/couponMessage.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/createRichMenuAliasRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/datetimePickerAction.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/discountPercentagePriceInfoRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/errorResponse.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/flexImage.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/getFollowersResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/getJoinedMembershipUsersResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/getMembershipSubscriptionResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/limit.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/lotteryAcquisitionConditionRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/membersIdsResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/membership.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/membershipListResponse.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/multicastRequest.ts +6 -6
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/narrowcastRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/pnpMessagesRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/postbackAction.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/pushMessageRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/pushMessageResponse.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/quickReply.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/quickReplyItem.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/replyMessageRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/replyMessageResponse.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBatchRequest.ts +4 -4
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBounds.ts +8 -8
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBulkLinkRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuBulkUnlinkRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuResponse.ts +6 -3
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuSize.ts +4 -4
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/richMenuSwitchAction.ts +4 -4
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/sender.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/setWebhookEndpointRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/showLoadingAnimationRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/subscribedMembershipPlan.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/testWebhookEndpointRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/messaging-api/model/validateMessageRequest.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/middleware.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/module/.openapi-generator/FILES +0 -1
- package/node_modules/@line/bot-sdk/lib/module/api/lineModuleClient.ts +68 -29
- package/node_modules/@line/bot-sdk/lib/module/model/acquireChatControlRequest.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/module-attach/.openapi-generator/FILES +0 -1
- package/node_modules/@line/bot-sdk/lib/module-attach/api/lineModuleAttachClient.ts +61 -11
- package/node_modules/@line/bot-sdk/lib/module-attach/model/attachModuleResponse.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/shop/.openapi-generator/FILES +0 -1
- package/node_modules/@line/bot-sdk/lib/shop/api/shopClient.ts +33 -6
- package/node_modules/@line/bot-sdk/lib/version.ts +1 -1
- package/node_modules/@line/bot-sdk/lib/webhook/.openapi-generator/FILES +0 -1
- package/node_modules/@line/bot-sdk/lib/webhook/model/accountLinkEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/activatedEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/attachedModuleContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/audioMessageContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/beaconContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/beaconEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/botResumedEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/botSuspendedEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/callbackRequest.ts +3 -3
- package/node_modules/@line/bot-sdk/lib/webhook/model/chatControl.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/deactivatedEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/detachedModuleContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/fileMessageContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/followDetail.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/followEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/imageMessageContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/joinEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/joinedMembers.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/leaveEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/leftMembers.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/linkContent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/locationMessageContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/memberJoinedEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/memberLeftEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/membershipContent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/membershipEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/messageEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/moduleContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/moduleEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/pnpDelivery.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/pnpDeliveryCompletionEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/postbackContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/postbackEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/stickerMessageContent.ts +2 -2
- package/node_modules/@line/bot-sdk/lib/webhook/model/textMessageContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/unfollowEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/unsendDetail.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/unsendEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/videoMessageContent.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/videoPlayComplete.ts +3 -0
- package/node_modules/@line/bot-sdk/lib/webhook/model/videoPlayCompleteEvent.ts +1 -0
- package/node_modules/@line/bot-sdk/package.json +8 -9
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/http2.d.ts +1 -0
- package/node_modules/@types/node/package.json +2 -2
- package/npm-shrinkwrap.json +10 -10
- package/package.json +5 -5
- package/dist/channel.runtime-Cs_zbikE.js +0 -4
- package/dist/monitor.runtime-DX5NxULi.js +0 -2
|
@@ -10,1936 +10,2288 @@ exports.LineBotClientBase = void 0;
|
|
|
10
10
|
class LineBotClientBase {
|
|
11
11
|
/**
|
|
12
12
|
* Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID).
|
|
13
|
-
*
|
|
14
|
-
* @
|
|
13
|
+
* Calls `GET https://api.line.me/v2/bot/insight/demographic`.
|
|
14
|
+
* To inspect the HTTP status code or response headers, use {@link getFriendsDemographicsWithHttpInfo}.
|
|
15
|
+
* @returns A promise resolving to the response body.
|
|
16
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-demographic">LINE Developers documentation</a>
|
|
15
17
|
*/
|
|
16
18
|
async getFriendsDemographics() {
|
|
17
19
|
return this.clients.insight.getFriendsDemographics();
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
|
-
* Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID).
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @
|
|
22
|
+
* Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID).
|
|
23
|
+
* Calls `GET https://api.line.me/v2/bot/insight/demographic`.
|
|
24
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
25
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
26
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-demographic">LINE Developers documentation</a>
|
|
24
27
|
*/
|
|
25
28
|
async getFriendsDemographicsWithHttpInfo() {
|
|
26
29
|
return this.clients.insight.getFriendsDemographicsWithHttpInfo();
|
|
27
30
|
}
|
|
28
31
|
/**
|
|
29
32
|
* Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.
|
|
33
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event`.
|
|
34
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageEventWithHttpInfo}.
|
|
30
35
|
* @summary Get user interaction statistics
|
|
31
36
|
* @param requestId Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID.
|
|
32
|
-
*
|
|
33
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">
|
|
37
|
+
* @returns A promise resolving to the response body.
|
|
38
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">LINE Developers documentation</a>
|
|
34
39
|
*/
|
|
35
40
|
async getMessageEvent(requestId) {
|
|
36
41
|
return this.clients.insight.getMessageEvent(requestId);
|
|
37
42
|
}
|
|
38
43
|
/**
|
|
39
|
-
* Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.
|
|
40
|
-
*
|
|
44
|
+
* Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.
|
|
45
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event`.
|
|
46
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
41
47
|
* @summary Get user interaction statistics
|
|
42
48
|
* @param requestId Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID.
|
|
43
|
-
*
|
|
44
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">
|
|
49
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
50
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">LINE Developers documentation</a>
|
|
45
51
|
*/
|
|
46
52
|
async getMessageEventWithHttpInfo(requestId) {
|
|
47
53
|
return this.clients.insight.getMessageEventWithHttpInfo(requestId);
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* Returns the number of users who have added the LINE Official Account on or before a specified date.
|
|
57
|
+
* Calls `GET https://api.line.me/v2/bot/insight/followers`.
|
|
58
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfFollowersWithHttpInfo}.
|
|
51
59
|
* @summary Get number of followers
|
|
52
60
|
* @param date Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
53
|
-
*
|
|
54
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">
|
|
61
|
+
* @returns A promise resolving to the response body.
|
|
62
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">LINE Developers documentation</a>
|
|
55
63
|
*/
|
|
56
64
|
async getNumberOfFollowers(date) {
|
|
57
65
|
return this.clients.insight.getNumberOfFollowers(date);
|
|
58
66
|
}
|
|
59
67
|
/**
|
|
60
|
-
* Returns the number of users who have added the LINE Official Account on or before a specified date.
|
|
61
|
-
*
|
|
68
|
+
* Returns the number of users who have added the LINE Official Account on or before a specified date.
|
|
69
|
+
* Calls `GET https://api.line.me/v2/bot/insight/followers`.
|
|
70
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
62
71
|
* @summary Get number of followers
|
|
63
72
|
* @param date Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
64
|
-
*
|
|
65
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">
|
|
73
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
74
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">LINE Developers documentation</a>
|
|
66
75
|
*/
|
|
67
76
|
async getNumberOfFollowersWithHttpInfo(date) {
|
|
68
77
|
return this.clients.insight.getNumberOfFollowersWithHttpInfo(date);
|
|
69
78
|
}
|
|
70
79
|
/**
|
|
71
80
|
* Returns the number of messages sent from LINE Official Account on a specified day.
|
|
81
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/delivery`.
|
|
82
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfMessageDeliveriesWithHttpInfo}.
|
|
72
83
|
* @summary Get number of message deliveries
|
|
73
84
|
* @param date Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9
|
|
74
|
-
*
|
|
75
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">
|
|
85
|
+
* @returns A promise resolving to the response body.
|
|
86
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">LINE Developers documentation</a>
|
|
76
87
|
*/
|
|
77
88
|
async getNumberOfMessageDeliveries(date) {
|
|
78
89
|
return this.clients.insight.getNumberOfMessageDeliveries(date);
|
|
79
90
|
}
|
|
80
91
|
/**
|
|
81
|
-
* Returns the number of messages sent from LINE Official Account on a specified day.
|
|
82
|
-
*
|
|
92
|
+
* Returns the number of messages sent from LINE Official Account on a specified day.
|
|
93
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/delivery`.
|
|
94
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
83
95
|
* @summary Get number of message deliveries
|
|
84
96
|
* @param date Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9
|
|
85
|
-
*
|
|
86
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">
|
|
97
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
98
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">LINE Developers documentation</a>
|
|
87
99
|
*/
|
|
88
100
|
async getNumberOfMessageDeliveriesWithHttpInfo(date) {
|
|
89
101
|
return this.clients.insight.getNumberOfMessageDeliveriesWithHttpInfo(date);
|
|
90
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Gets rich menu statistics broken down by day for the specified period, for a rich menu created via the Messaging API. Returns the daily impression count for the whole rich menu and the daily click count for each tappable area. When the total number of unique clicks during the period is below the privacy threshold, only `richMenuId` is returned and the other fields are omitted.
|
|
105
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/daily`.
|
|
106
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuInsightDailyWithHttpInfo}.
|
|
107
|
+
* @summary Get rich menu insight daily
|
|
108
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
109
|
+
* @param from Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9
|
|
110
|
+
* @param to End date of the aggregation period (inclusive). The end date can be specified for up to 99 days after the start date. Format: yyyyMMdd (e.g. 20260215) Time zone: UTC+9
|
|
111
|
+
* @returns A promise resolving to the response body.
|
|
112
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-daily">LINE Developers documentation</a>
|
|
113
|
+
*/
|
|
114
|
+
async getRichMenuInsightDaily(richMenuId, from, to) {
|
|
115
|
+
return this.clients.insight.getRichMenuInsightDaily(richMenuId, from, to);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Gets rich menu statistics broken down by day for the specified period, for a rich menu created via the Messaging API. Returns the daily impression count for the whole rich menu and the daily click count for each tappable area. When the total number of unique clicks during the period is below the privacy threshold, only `richMenuId` is returned and the other fields are omitted.
|
|
119
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/daily`.
|
|
120
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
121
|
+
* @summary Get rich menu insight daily
|
|
122
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
123
|
+
* @param from Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9
|
|
124
|
+
* @param to End date of the aggregation period (inclusive). The end date can be specified for up to 99 days after the start date. Format: yyyyMMdd (e.g. 20260215) Time zone: UTC+9
|
|
125
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
126
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-daily">LINE Developers documentation</a>
|
|
127
|
+
*/
|
|
128
|
+
async getRichMenuInsightDailyWithHttpInfo(richMenuId, from, to) {
|
|
129
|
+
return this.clients.insight.getRichMenuInsightDailyWithHttpInfo(richMenuId, from, to);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Gets a summary of rich menu statistics for the specified period, for a rich menu created via the Messaging API. Returns the total impression count for the whole rich menu and the click count for each tappable area, aggregated over the entire period as a single result. When the total number of unique clicks during the period is below the privacy threshold, only `richMenuId` is returned and the other fields are omitted.
|
|
133
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/summary`.
|
|
134
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuInsightSummaryWithHttpInfo}.
|
|
135
|
+
* @summary Get rich menu insight summary
|
|
136
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
137
|
+
* @param from Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9
|
|
138
|
+
* @param to End date of the aggregation period (inclusive). The end date can be specified for up to 396 days after the start date. Format: yyyyMMdd (e.g. 20260215) Time zone: UTC+9
|
|
139
|
+
* @returns A promise resolving to the response body.
|
|
140
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-summary">LINE Developers documentation</a>
|
|
141
|
+
*/
|
|
142
|
+
async getRichMenuInsightSummary(richMenuId, from, to) {
|
|
143
|
+
return this.clients.insight.getRichMenuInsightSummary(richMenuId, from, to);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Gets a summary of rich menu statistics for the specified period, for a rich menu created via the Messaging API. Returns the total impression count for the whole rich menu and the click count for each tappable area, aggregated over the entire period as a single result. When the total number of unique clicks during the period is below the privacy threshold, only `richMenuId` is returned and the other fields are omitted.
|
|
147
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/summary`.
|
|
148
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
149
|
+
* @summary Get rich menu insight summary
|
|
150
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
151
|
+
* @param from Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9
|
|
152
|
+
* @param to End date of the aggregation period (inclusive). The end date can be specified for up to 396 days after the start date. Format: yyyyMMdd (e.g. 20260215) Time zone: UTC+9
|
|
153
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
154
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-summary">LINE Developers documentation</a>
|
|
155
|
+
*/
|
|
156
|
+
async getRichMenuInsightSummaryWithHttpInfo(richMenuId, from, to) {
|
|
157
|
+
return this.clients.insight.getRichMenuInsightSummaryWithHttpInfo(richMenuId, from, to);
|
|
158
|
+
}
|
|
91
159
|
/**
|
|
92
160
|
* You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account.
|
|
161
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event/aggregation`.
|
|
162
|
+
* To inspect the HTTP status code or response headers, use {@link getStatisticsPerUnitWithHttpInfo}.
|
|
93
163
|
* @param customAggregationUnit Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names.
|
|
94
164
|
* @param from Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9
|
|
95
165
|
* @param to End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9
|
|
96
|
-
*
|
|
97
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">
|
|
166
|
+
* @returns A promise resolving to the response body.
|
|
167
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">LINE Developers documentation</a>
|
|
98
168
|
*/
|
|
99
169
|
async getStatisticsPerUnit(customAggregationUnit, from, to) {
|
|
100
170
|
return this.clients.insight.getStatisticsPerUnit(customAggregationUnit, from, to);
|
|
101
171
|
}
|
|
102
172
|
/**
|
|
103
|
-
* You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account.
|
|
104
|
-
*
|
|
173
|
+
* You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account.
|
|
174
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event/aggregation`.
|
|
175
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
105
176
|
* @param customAggregationUnit Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as different unit names.
|
|
106
177
|
* @param from Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9
|
|
107
178
|
* @param to End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9
|
|
108
|
-
*
|
|
109
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">
|
|
179
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
180
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">LINE Developers documentation</a>
|
|
110
181
|
*/
|
|
111
182
|
async getStatisticsPerUnitWithHttpInfo(customAggregationUnit, from, to) {
|
|
112
183
|
return this.clients.insight.getStatisticsPerUnitWithHttpInfo(customAggregationUnit, from, to);
|
|
113
184
|
}
|
|
114
185
|
/**
|
|
115
186
|
* Adding the LIFF app to a channel
|
|
187
|
+
* Calls `POST https://api.line.me/liff/v1/apps`.
|
|
188
|
+
* To inspect the HTTP status code or response headers, use {@link addLIFFAppWithHttpInfo}.
|
|
116
189
|
* @summary Create LIFF app
|
|
117
190
|
* @param addLiffAppRequest
|
|
118
|
-
*
|
|
119
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">
|
|
191
|
+
* @returns A promise resolving to the response body.
|
|
192
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">LINE Developers documentation</a>
|
|
120
193
|
*/
|
|
121
194
|
async addLIFFApp(addLiffAppRequest) {
|
|
122
195
|
return this.clients.liff.addLIFFApp(addLiffAppRequest);
|
|
123
196
|
}
|
|
124
197
|
/**
|
|
125
|
-
* Adding the LIFF app to a channel
|
|
126
|
-
*
|
|
198
|
+
* Adding the LIFF app to a channel
|
|
199
|
+
* Calls `POST https://api.line.me/liff/v1/apps`.
|
|
200
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
127
201
|
* @summary Create LIFF app
|
|
128
202
|
* @param addLiffAppRequest
|
|
129
|
-
*
|
|
130
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">
|
|
203
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
204
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">LINE Developers documentation</a>
|
|
131
205
|
*/
|
|
132
206
|
async addLIFFAppWithHttpInfo(addLiffAppRequest) {
|
|
133
207
|
return this.clients.liff.addLIFFAppWithHttpInfo(addLiffAppRequest);
|
|
134
208
|
}
|
|
135
209
|
/**
|
|
136
210
|
* Deletes a LIFF app from a channel.
|
|
211
|
+
* Calls `DELETE https://api.line.me/liff/v1/apps/{liffId}`.
|
|
212
|
+
* To inspect the HTTP status code or response headers, use {@link deleteLIFFAppWithHttpInfo}.
|
|
137
213
|
* @summary Delete LIFF app from a channel
|
|
138
214
|
* @param liffId ID of the LIFF app to be updated
|
|
139
|
-
*
|
|
140
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">
|
|
215
|
+
* @returns A promise resolving to the response body.
|
|
216
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">LINE Developers documentation</a>
|
|
141
217
|
*/
|
|
142
218
|
async deleteLIFFApp(liffId) {
|
|
143
219
|
return this.clients.liff.deleteLIFFApp(liffId);
|
|
144
220
|
}
|
|
145
221
|
/**
|
|
146
|
-
* Deletes a LIFF app from a channel.
|
|
147
|
-
*
|
|
222
|
+
* Deletes a LIFF app from a channel.
|
|
223
|
+
* Calls `DELETE https://api.line.me/liff/v1/apps/{liffId}`.
|
|
224
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
148
225
|
* @summary Delete LIFF app from a channel
|
|
149
226
|
* @param liffId ID of the LIFF app to be updated
|
|
150
|
-
*
|
|
151
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">
|
|
227
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
228
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">LINE Developers documentation</a>
|
|
152
229
|
*/
|
|
153
230
|
async deleteLIFFAppWithHttpInfo(liffId) {
|
|
154
231
|
return this.clients.liff.deleteLIFFAppWithHttpInfo(liffId);
|
|
155
232
|
}
|
|
156
233
|
/**
|
|
157
234
|
* Gets information on all the LIFF apps added to the channel.
|
|
235
|
+
* Calls `GET https://api.line.me/liff/v1/apps`.
|
|
236
|
+
* To inspect the HTTP status code or response headers, use {@link getAllLIFFAppsWithHttpInfo}.
|
|
158
237
|
* @summary Get all LIFF apps
|
|
159
|
-
*
|
|
160
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">
|
|
238
|
+
* @returns A promise resolving to the response body.
|
|
239
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">LINE Developers documentation</a>
|
|
161
240
|
*/
|
|
162
241
|
async getAllLIFFApps() {
|
|
163
242
|
return this.clients.liff.getAllLIFFApps();
|
|
164
243
|
}
|
|
165
244
|
/**
|
|
166
|
-
* Gets information on all the LIFF apps added to the channel
|
|
167
|
-
*
|
|
245
|
+
* Gets information on all the LIFF apps added to the channel.
|
|
246
|
+
* Calls `GET https://api.line.me/liff/v1/apps`.
|
|
247
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
168
248
|
* @summary Get all LIFF apps
|
|
169
|
-
*
|
|
170
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">
|
|
249
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
250
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">LINE Developers documentation</a>
|
|
171
251
|
*/
|
|
172
252
|
async getAllLIFFAppsWithHttpInfo() {
|
|
173
253
|
return this.clients.liff.getAllLIFFAppsWithHttpInfo();
|
|
174
254
|
}
|
|
175
255
|
/**
|
|
176
256
|
* Update LIFF app settings
|
|
257
|
+
* Calls `PUT https://api.line.me/liff/v1/apps/{liffId}`.
|
|
258
|
+
* To inspect the HTTP status code or response headers, use {@link updateLIFFAppWithHttpInfo}.
|
|
177
259
|
* @summary Update LIFF app from a channel
|
|
178
260
|
* @param liffId ID of the LIFF app to be updated
|
|
179
261
|
* @param updateLiffAppRequest
|
|
180
|
-
*
|
|
181
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">
|
|
262
|
+
* @returns A promise resolving to the response body.
|
|
263
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">LINE Developers documentation</a>
|
|
182
264
|
*/
|
|
183
265
|
async updateLIFFApp(liffId, updateLiffAppRequest) {
|
|
184
266
|
return this.clients.liff.updateLIFFApp(liffId, updateLiffAppRequest);
|
|
185
267
|
}
|
|
186
268
|
/**
|
|
187
|
-
* Update LIFF app settings
|
|
188
|
-
*
|
|
269
|
+
* Update LIFF app settings
|
|
270
|
+
* Calls `PUT https://api.line.me/liff/v1/apps/{liffId}`.
|
|
271
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
189
272
|
* @summary Update LIFF app from a channel
|
|
190
273
|
* @param liffId ID of the LIFF app to be updated
|
|
191
274
|
* @param updateLiffAppRequest
|
|
192
|
-
*
|
|
193
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">
|
|
275
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
276
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">LINE Developers documentation</a>
|
|
194
277
|
*/
|
|
195
278
|
async updateLIFFAppWithHttpInfo(liffId, updateLiffAppRequest) {
|
|
196
279
|
return this.clients.liff.updateLIFFAppWithHttpInfo(liffId, updateLiffAppRequest);
|
|
197
280
|
}
|
|
198
281
|
/**
|
|
199
282
|
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
|
|
283
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
284
|
+
* To inspect the HTTP status code or response headers, use {@link addAudienceToAudienceGroupWithHttpInfo}.
|
|
200
285
|
* @param addAudienceToAudienceGroupRequest
|
|
201
|
-
*
|
|
202
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">
|
|
286
|
+
* @returns A promise resolving to the response body.
|
|
287
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">LINE Developers documentation</a>
|
|
203
288
|
*/
|
|
204
289
|
async addAudienceToAudienceGroup(addAudienceToAudienceGroupRequest) {
|
|
205
290
|
return this.clients.manageAudience.addAudienceToAudienceGroup(addAudienceToAudienceGroupRequest);
|
|
206
291
|
}
|
|
207
292
|
/**
|
|
208
|
-
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
|
|
209
|
-
*
|
|
293
|
+
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
|
|
294
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
295
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
210
296
|
* @param addAudienceToAudienceGroupRequest
|
|
211
|
-
*
|
|
212
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">
|
|
297
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
298
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">LINE Developers documentation</a>
|
|
213
299
|
*/
|
|
214
300
|
async addAudienceToAudienceGroupWithHttpInfo(addAudienceToAudienceGroupRequest) {
|
|
215
301
|
return this.clients.manageAudience.addAudienceToAudienceGroupWithHttpInfo(addAudienceToAudienceGroupRequest);
|
|
216
302
|
}
|
|
217
303
|
/**
|
|
218
304
|
* Create audience for uploading user IDs (by JSON)
|
|
305
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
306
|
+
* To inspect the HTTP status code or response headers, use {@link createAudienceGroupWithHttpInfo}.
|
|
219
307
|
* @param createAudienceGroupRequest
|
|
220
|
-
*
|
|
221
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">
|
|
308
|
+
* @returns A promise resolving to the response body.
|
|
309
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">LINE Developers documentation</a>
|
|
222
310
|
*/
|
|
223
311
|
async createAudienceGroup(createAudienceGroupRequest) {
|
|
224
312
|
return this.clients.manageAudience.createAudienceGroup(createAudienceGroupRequest);
|
|
225
313
|
}
|
|
226
314
|
/**
|
|
227
|
-
* Create audience for uploading user IDs (by JSON)
|
|
228
|
-
*
|
|
315
|
+
* Create audience for uploading user IDs (by JSON)
|
|
316
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
317
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
229
318
|
* @param createAudienceGroupRequest
|
|
230
|
-
*
|
|
231
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">
|
|
319
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
320
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">LINE Developers documentation</a>
|
|
232
321
|
*/
|
|
233
322
|
async createAudienceGroupWithHttpInfo(createAudienceGroupRequest) {
|
|
234
323
|
return this.clients.manageAudience.createAudienceGroupWithHttpInfo(createAudienceGroupRequest);
|
|
235
324
|
}
|
|
236
325
|
/**
|
|
237
326
|
* Create audience for click-based retargeting
|
|
327
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/click`.
|
|
328
|
+
* To inspect the HTTP status code or response headers, use {@link createClickBasedAudienceGroupWithHttpInfo}.
|
|
238
329
|
* @param createClickBasedAudienceGroupRequest
|
|
239
|
-
*
|
|
240
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">
|
|
330
|
+
* @returns A promise resolving to the response body.
|
|
331
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">LINE Developers documentation</a>
|
|
241
332
|
*/
|
|
242
333
|
async createClickBasedAudienceGroup(createClickBasedAudienceGroupRequest) {
|
|
243
334
|
return this.clients.manageAudience.createClickBasedAudienceGroup(createClickBasedAudienceGroupRequest);
|
|
244
335
|
}
|
|
245
336
|
/**
|
|
246
|
-
* Create audience for click-based retargeting
|
|
247
|
-
*
|
|
337
|
+
* Create audience for click-based retargeting
|
|
338
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/click`.
|
|
339
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
248
340
|
* @param createClickBasedAudienceGroupRequest
|
|
249
|
-
*
|
|
250
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">
|
|
341
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
342
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">LINE Developers documentation</a>
|
|
251
343
|
*/
|
|
252
344
|
async createClickBasedAudienceGroupWithHttpInfo(createClickBasedAudienceGroupRequest) {
|
|
253
345
|
return this.clients.manageAudience.createClickBasedAudienceGroupWithHttpInfo(createClickBasedAudienceGroupRequest);
|
|
254
346
|
}
|
|
255
347
|
/**
|
|
256
348
|
* Create audience for impression-based retargeting
|
|
349
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/imp`.
|
|
350
|
+
* To inspect the HTTP status code or response headers, use {@link createImpBasedAudienceGroupWithHttpInfo}.
|
|
257
351
|
* @param createImpBasedAudienceGroupRequest
|
|
258
|
-
*
|
|
259
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">
|
|
352
|
+
* @returns A promise resolving to the response body.
|
|
353
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">LINE Developers documentation</a>
|
|
260
354
|
*/
|
|
261
355
|
async createImpBasedAudienceGroup(createImpBasedAudienceGroupRequest) {
|
|
262
356
|
return this.clients.manageAudience.createImpBasedAudienceGroup(createImpBasedAudienceGroupRequest);
|
|
263
357
|
}
|
|
264
358
|
/**
|
|
265
|
-
* Create audience for impression-based retargeting
|
|
266
|
-
*
|
|
359
|
+
* Create audience for impression-based retargeting
|
|
360
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/imp`.
|
|
361
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
267
362
|
* @param createImpBasedAudienceGroupRequest
|
|
268
|
-
*
|
|
269
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">
|
|
363
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
364
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">LINE Developers documentation</a>
|
|
270
365
|
*/
|
|
271
366
|
async createImpBasedAudienceGroupWithHttpInfo(createImpBasedAudienceGroupRequest) {
|
|
272
367
|
return this.clients.manageAudience.createImpBasedAudienceGroupWithHttpInfo(createImpBasedAudienceGroupRequest);
|
|
273
368
|
}
|
|
274
369
|
/**
|
|
275
370
|
* Delete audience
|
|
371
|
+
* Calls `DELETE https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
372
|
+
* To inspect the HTTP status code or response headers, use {@link deleteAudienceGroupWithHttpInfo}.
|
|
276
373
|
* @param audienceGroupId The audience ID.
|
|
277
|
-
*
|
|
278
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">
|
|
374
|
+
* @returns A promise resolving to the response body.
|
|
375
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">LINE Developers documentation</a>
|
|
279
376
|
*/
|
|
280
377
|
async deleteAudienceGroup(audienceGroupId) {
|
|
281
378
|
return this.clients.manageAudience.deleteAudienceGroup(audienceGroupId);
|
|
282
379
|
}
|
|
283
380
|
/**
|
|
284
|
-
* Delete audience
|
|
285
|
-
*
|
|
381
|
+
* Delete audience
|
|
382
|
+
* Calls `DELETE https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
383
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
286
384
|
* @param audienceGroupId The audience ID.
|
|
287
|
-
*
|
|
288
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">
|
|
385
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
386
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">LINE Developers documentation</a>
|
|
289
387
|
*/
|
|
290
388
|
async deleteAudienceGroupWithHttpInfo(audienceGroupId) {
|
|
291
389
|
return this.clients.manageAudience.deleteAudienceGroupWithHttpInfo(audienceGroupId);
|
|
292
390
|
}
|
|
293
391
|
/**
|
|
294
392
|
* Gets audience data.
|
|
393
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
394
|
+
* To inspect the HTTP status code or response headers, use {@link getAudienceDataWithHttpInfo}.
|
|
295
395
|
* @param audienceGroupId The audience ID.
|
|
296
|
-
*
|
|
297
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">
|
|
396
|
+
* @returns A promise resolving to the response body.
|
|
397
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">LINE Developers documentation</a>
|
|
298
398
|
*/
|
|
299
399
|
async getAudienceData(audienceGroupId) {
|
|
300
400
|
return this.clients.manageAudience.getAudienceData(audienceGroupId);
|
|
301
401
|
}
|
|
302
402
|
/**
|
|
303
|
-
* Gets audience data
|
|
304
|
-
*
|
|
403
|
+
* Gets audience data.
|
|
404
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
405
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
305
406
|
* @param audienceGroupId The audience ID.
|
|
306
|
-
*
|
|
307
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">
|
|
407
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
408
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">LINE Developers documentation</a>
|
|
308
409
|
*/
|
|
309
410
|
async getAudienceDataWithHttpInfo(audienceGroupId) {
|
|
310
411
|
return this.clients.manageAudience.getAudienceDataWithHttpInfo(audienceGroupId);
|
|
311
412
|
}
|
|
312
413
|
/**
|
|
313
414
|
* Gets data for more than one audience.
|
|
415
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/list`.
|
|
416
|
+
* To inspect the HTTP status code or response headers, use {@link getAudienceGroupsWithHttpInfo}.
|
|
314
417
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
315
418
|
* @param description The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.
|
|
316
419
|
* @param status The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
|
|
317
420
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
318
421
|
* @param includesExternalPublicGroups true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel.
|
|
319
422
|
* @param createRoute How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
|
|
320
|
-
*
|
|
321
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">
|
|
423
|
+
* @returns A promise resolving to the response body.
|
|
424
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">LINE Developers documentation</a>
|
|
322
425
|
*/
|
|
323
426
|
async getAudienceGroups(page, description, status, size, includesExternalPublicGroups, createRoute) {
|
|
324
427
|
return this.clients.manageAudience.getAudienceGroups(page, description, status, size, includesExternalPublicGroups, createRoute);
|
|
325
428
|
}
|
|
326
429
|
/**
|
|
327
|
-
* Gets data for more than one audience
|
|
328
|
-
*
|
|
430
|
+
* Gets data for more than one audience.
|
|
431
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/list`.
|
|
432
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
329
433
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
330
434
|
* @param description The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.
|
|
331
435
|
* @param status The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
|
|
332
436
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
333
437
|
* @param includesExternalPublicGroups true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel.
|
|
334
438
|
* @param createRoute How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
|
|
335
|
-
*
|
|
336
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">
|
|
439
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
440
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">LINE Developers documentation</a>
|
|
337
441
|
*/
|
|
338
442
|
async getAudienceGroupsWithHttpInfo(page, description, status, size, includesExternalPublicGroups, createRoute) {
|
|
339
443
|
return this.clients.manageAudience.getAudienceGroupsWithHttpInfo(page, description, status, size, includesExternalPublicGroups, createRoute);
|
|
340
444
|
}
|
|
341
445
|
/**
|
|
342
446
|
* Gets audience data.
|
|
447
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/{audienceGroupId}`.
|
|
448
|
+
* To inspect the HTTP status code or response headers, use {@link getSharedAudienceDataWithHttpInfo}.
|
|
343
449
|
* @param audienceGroupId The audience ID.
|
|
344
|
-
*
|
|
345
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">
|
|
450
|
+
* @returns A promise resolving to the response body.
|
|
451
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">LINE Developers documentation</a>
|
|
346
452
|
*/
|
|
347
453
|
async getSharedAudienceData(audienceGroupId) {
|
|
348
454
|
return this.clients.manageAudience.getSharedAudienceData(audienceGroupId);
|
|
349
455
|
}
|
|
350
456
|
/**
|
|
351
|
-
* Gets audience data
|
|
352
|
-
*
|
|
457
|
+
* Gets audience data.
|
|
458
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/{audienceGroupId}`.
|
|
459
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
353
460
|
* @param audienceGroupId The audience ID.
|
|
354
|
-
*
|
|
355
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">
|
|
461
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
462
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">LINE Developers documentation</a>
|
|
356
463
|
*/
|
|
357
464
|
async getSharedAudienceDataWithHttpInfo(audienceGroupId) {
|
|
358
465
|
return this.clients.manageAudience.getSharedAudienceDataWithHttpInfo(audienceGroupId);
|
|
359
466
|
}
|
|
360
467
|
/**
|
|
361
468
|
* Gets data for more than one audience, including those shared by the Business Manager.
|
|
469
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/list`.
|
|
470
|
+
* To inspect the HTTP status code or response headers, use {@link getSharedAudienceGroupsWithHttpInfo}.
|
|
362
471
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
363
472
|
* @param description The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.
|
|
364
473
|
* @param status The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
|
|
365
474
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
366
475
|
* @param createRoute How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
|
|
367
476
|
* @param includesOwnedAudienceGroups true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
|
|
368
|
-
*
|
|
369
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">
|
|
477
|
+
* @returns A promise resolving to the response body.
|
|
478
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">LINE Developers documentation</a>
|
|
370
479
|
*/
|
|
371
480
|
async getSharedAudienceGroups(page, description, status, size, createRoute, includesOwnedAudienceGroups) {
|
|
372
481
|
return this.clients.manageAudience.getSharedAudienceGroups(page, description, status, size, createRoute, includesOwnedAudienceGroups);
|
|
373
482
|
}
|
|
374
483
|
/**
|
|
375
|
-
* Gets data for more than one audience, including those shared by the Business Manager
|
|
376
|
-
*
|
|
484
|
+
* Gets data for more than one audience, including those shared by the Business Manager.
|
|
485
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/list`.
|
|
486
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
377
487
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
378
488
|
* @param description The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.
|
|
379
489
|
* @param status The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
|
|
380
490
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
381
491
|
* @param createRoute How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API.
|
|
382
492
|
* @param includesOwnedAudienceGroups true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
|
|
383
|
-
*
|
|
384
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">
|
|
493
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
494
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">LINE Developers documentation</a>
|
|
385
495
|
*/
|
|
386
496
|
async getSharedAudienceGroupsWithHttpInfo(page, description, status, size, createRoute, includesOwnedAudienceGroups) {
|
|
387
497
|
return this.clients.manageAudience.getSharedAudienceGroupsWithHttpInfo(page, description, status, size, createRoute, includesOwnedAudienceGroups);
|
|
388
498
|
}
|
|
389
499
|
/**
|
|
390
500
|
* Renames an existing audience.
|
|
501
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}/updateDescription`.
|
|
502
|
+
* To inspect the HTTP status code or response headers, use {@link updateAudienceGroupDescriptionWithHttpInfo}.
|
|
391
503
|
* @param audienceGroupId The audience ID.
|
|
392
504
|
* @param updateAudienceGroupDescriptionRequest
|
|
393
|
-
*
|
|
394
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">
|
|
505
|
+
* @returns A promise resolving to the response body.
|
|
506
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">LINE Developers documentation</a>
|
|
395
507
|
*/
|
|
396
508
|
async updateAudienceGroupDescription(audienceGroupId, updateAudienceGroupDescriptionRequest) {
|
|
397
509
|
return this.clients.manageAudience.updateAudienceGroupDescription(audienceGroupId, updateAudienceGroupDescriptionRequest);
|
|
398
510
|
}
|
|
399
511
|
/**
|
|
400
|
-
* Renames an existing audience
|
|
401
|
-
*
|
|
512
|
+
* Renames an existing audience.
|
|
513
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}/updateDescription`.
|
|
514
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
402
515
|
* @param audienceGroupId The audience ID.
|
|
403
516
|
* @param updateAudienceGroupDescriptionRequest
|
|
404
|
-
*
|
|
405
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">
|
|
517
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
518
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">LINE Developers documentation</a>
|
|
406
519
|
*/
|
|
407
520
|
async updateAudienceGroupDescriptionWithHttpInfo(audienceGroupId, updateAudienceGroupDescriptionRequest) {
|
|
408
521
|
return this.clients.manageAudience.updateAudienceGroupDescriptionWithHttpInfo(audienceGroupId, updateAudienceGroupDescriptionRequest);
|
|
409
522
|
}
|
|
410
523
|
/**
|
|
411
524
|
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).
|
|
525
|
+
* Calls `PUT https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
526
|
+
* To inspect the HTTP status code or response headers, use {@link addUserIdsToAudienceWithHttpInfo}.
|
|
412
527
|
* @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
|
|
413
528
|
* @param audienceGroupId The audience ID.
|
|
414
529
|
* @param uploadDescription The description to register with the job
|
|
415
|
-
*
|
|
416
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">
|
|
530
|
+
* @returns A promise resolving to the response body.
|
|
531
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
417
532
|
*/
|
|
418
533
|
async addUserIdsToAudience(file, audienceGroupId, uploadDescription) {
|
|
419
534
|
return this.clients.manageAudienceBlob.addUserIdsToAudience(file, audienceGroupId, uploadDescription);
|
|
420
535
|
}
|
|
421
536
|
/**
|
|
422
|
-
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file)
|
|
423
|
-
*
|
|
537
|
+
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).
|
|
538
|
+
* Calls `PUT https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
539
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
424
540
|
* @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
|
|
425
541
|
* @param audienceGroupId The audience ID.
|
|
426
542
|
* @param uploadDescription The description to register with the job
|
|
427
|
-
*
|
|
428
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">
|
|
543
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
544
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
429
545
|
*/
|
|
430
546
|
async addUserIdsToAudienceWithHttpInfo(file, audienceGroupId, uploadDescription) {
|
|
431
547
|
return this.clients.manageAudienceBlob.addUserIdsToAudienceWithHttpInfo(file, audienceGroupId, uploadDescription);
|
|
432
548
|
}
|
|
433
549
|
/**
|
|
434
550
|
* Create audience for uploading user IDs (by file).
|
|
551
|
+
* Calls `POST https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
552
|
+
* To inspect the HTTP status code or response headers, use {@link createAudienceForUploadingUserIdsWithHttpInfo}.
|
|
435
553
|
* @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
|
|
436
554
|
* @param description The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
|
|
437
555
|
* @param isIfaAudience To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property.
|
|
438
556
|
* @param uploadDescription The description to register for the job (in `jobs[].description`).
|
|
439
|
-
*
|
|
440
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">
|
|
557
|
+
* @returns A promise resolving to the response body.
|
|
558
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
441
559
|
*/
|
|
442
560
|
async createAudienceForUploadingUserIds(file, description, isIfaAudience, uploadDescription) {
|
|
443
561
|
return this.clients.manageAudienceBlob.createAudienceForUploadingUserIds(file, description, isIfaAudience, uploadDescription);
|
|
444
562
|
}
|
|
445
563
|
/**
|
|
446
|
-
* Create audience for uploading user IDs (by file)
|
|
447
|
-
*
|
|
564
|
+
* Create audience for uploading user IDs (by file).
|
|
565
|
+
* Calls `POST https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
566
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
448
567
|
* @param file A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000
|
|
449
568
|
* @param description The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
|
|
450
569
|
* @param isIfaAudience To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property.
|
|
451
570
|
* @param uploadDescription The description to register for the job (in `jobs[].description`).
|
|
452
|
-
*
|
|
453
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">
|
|
571
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
572
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
454
573
|
*/
|
|
455
574
|
async createAudienceForUploadingUserIdsWithHttpInfo(file, description, isIfaAudience, uploadDescription) {
|
|
456
575
|
return this.clients.manageAudienceBlob.createAudienceForUploadingUserIdsWithHttpInfo(file, description, isIfaAudience, uploadDescription);
|
|
457
576
|
}
|
|
458
577
|
/**
|
|
459
578
|
* Sends a message to multiple users at any time.
|
|
579
|
+
* Calls `POST https://api.line.me/v2/bot/message/broadcast`.
|
|
580
|
+
* To inspect the HTTP status code or response headers, use {@link broadcastWithHttpInfo}.
|
|
460
581
|
* @param broadcastRequest
|
|
461
582
|
* @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.
|
|
462
|
-
*
|
|
463
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">
|
|
583
|
+
* @returns A promise resolving to the response body.
|
|
584
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
|
|
464
585
|
*/
|
|
465
586
|
async broadcast(broadcastRequest, xLineRetryKey) {
|
|
466
587
|
return this.clients.messagingApi.broadcast(broadcastRequest, xLineRetryKey);
|
|
467
588
|
}
|
|
468
589
|
/**
|
|
469
|
-
* Sends a message to multiple users at any time
|
|
470
|
-
*
|
|
590
|
+
* Sends a message to multiple users at any time.
|
|
591
|
+
* Calls `POST https://api.line.me/v2/bot/message/broadcast`.
|
|
592
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
471
593
|
* @param broadcastRequest
|
|
472
594
|
* @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.
|
|
473
|
-
*
|
|
474
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">
|
|
595
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
596
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
|
|
475
597
|
*/
|
|
476
598
|
async broadcastWithHttpInfo(broadcastRequest, xLineRetryKey) {
|
|
477
599
|
return this.clients.messagingApi.broadcastWithHttpInfo(broadcastRequest, xLineRetryKey);
|
|
478
600
|
}
|
|
479
601
|
/**
|
|
480
602
|
* Cancel default rich menu
|
|
481
|
-
*
|
|
482
|
-
* @
|
|
603
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
|
|
604
|
+
* To inspect the HTTP status code or response headers, use {@link cancelDefaultRichMenuWithHttpInfo}.
|
|
605
|
+
* @returns A promise resolving to the response body.
|
|
606
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
|
|
483
607
|
*/
|
|
484
608
|
async cancelDefaultRichMenu() {
|
|
485
609
|
return this.clients.messagingApi.cancelDefaultRichMenu();
|
|
486
610
|
}
|
|
487
611
|
/**
|
|
488
|
-
* Cancel default rich menu
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
* @
|
|
612
|
+
* Cancel default rich menu
|
|
613
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
|
|
614
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
615
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
616
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
|
|
492
617
|
*/
|
|
493
618
|
async cancelDefaultRichMenuWithHttpInfo() {
|
|
494
619
|
return this.clients.messagingApi.cancelDefaultRichMenuWithHttpInfo();
|
|
495
620
|
}
|
|
496
621
|
/**
|
|
497
622
|
* Close coupon
|
|
623
|
+
* Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
|
|
624
|
+
* To inspect the HTTP status code or response headers, use {@link closeCouponWithHttpInfo}.
|
|
498
625
|
* @param couponId
|
|
499
|
-
*
|
|
500
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">
|
|
626
|
+
* @returns A promise resolving to the response body.
|
|
627
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
|
|
501
628
|
*/
|
|
502
629
|
async closeCoupon(couponId) {
|
|
503
630
|
return this.clients.messagingApi.closeCoupon(couponId);
|
|
504
631
|
}
|
|
505
632
|
/**
|
|
506
|
-
* Close coupon
|
|
507
|
-
*
|
|
633
|
+
* Close coupon
|
|
634
|
+
* Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
|
|
635
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
508
636
|
* @param couponId
|
|
509
|
-
*
|
|
510
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">
|
|
637
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
638
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
|
|
511
639
|
*/
|
|
512
640
|
async closeCouponWithHttpInfo(couponId) {
|
|
513
641
|
return this.clients.messagingApi.closeCouponWithHttpInfo(couponId);
|
|
514
642
|
}
|
|
515
643
|
/**
|
|
516
644
|
* Create a new coupon. Define coupon details such as type, title, and validity period.
|
|
645
|
+
* Calls `POST https://api.line.me/v2/bot/coupon`.
|
|
646
|
+
* To inspect the HTTP status code or response headers, use {@link createCouponWithHttpInfo}.
|
|
517
647
|
* @param couponCreateRequest
|
|
518
|
-
*
|
|
519
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">
|
|
648
|
+
* @returns A promise resolving to the response body.
|
|
649
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
|
|
520
650
|
*/
|
|
521
651
|
async createCoupon(couponCreateRequest) {
|
|
522
652
|
return this.clients.messagingApi.createCoupon(couponCreateRequest);
|
|
523
653
|
}
|
|
524
654
|
/**
|
|
525
|
-
* Create a new coupon. Define coupon details such as type, title, and validity period
|
|
526
|
-
*
|
|
655
|
+
* Create a new coupon. Define coupon details such as type, title, and validity period.
|
|
656
|
+
* Calls `POST https://api.line.me/v2/bot/coupon`.
|
|
657
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
527
658
|
* @param couponCreateRequest
|
|
528
|
-
*
|
|
529
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">
|
|
659
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
660
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
|
|
530
661
|
*/
|
|
531
662
|
async createCouponWithHttpInfo(couponCreateRequest) {
|
|
532
663
|
return this.clients.messagingApi.createCouponWithHttpInfo(couponCreateRequest);
|
|
533
664
|
}
|
|
534
665
|
/**
|
|
535
666
|
* Create rich menu
|
|
667
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu`.
|
|
668
|
+
* To inspect the HTTP status code or response headers, use {@link createRichMenuWithHttpInfo}.
|
|
536
669
|
* @param richMenuRequest
|
|
537
|
-
*
|
|
538
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">
|
|
670
|
+
* @returns A promise resolving to the response body.
|
|
671
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
|
|
539
672
|
*/
|
|
540
673
|
async createRichMenu(richMenuRequest) {
|
|
541
674
|
return this.clients.messagingApi.createRichMenu(richMenuRequest);
|
|
542
675
|
}
|
|
543
676
|
/**
|
|
544
|
-
* Create rich menu
|
|
545
|
-
*
|
|
677
|
+
* Create rich menu
|
|
678
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu`.
|
|
679
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
546
680
|
* @param richMenuRequest
|
|
547
|
-
*
|
|
548
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">
|
|
681
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
682
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
|
|
549
683
|
*/
|
|
550
684
|
async createRichMenuWithHttpInfo(richMenuRequest) {
|
|
551
685
|
return this.clients.messagingApi.createRichMenuWithHttpInfo(richMenuRequest);
|
|
552
686
|
}
|
|
553
687
|
/**
|
|
554
688
|
* Create rich menu alias
|
|
689
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
|
|
690
|
+
* To inspect the HTTP status code or response headers, use {@link createRichMenuAliasWithHttpInfo}.
|
|
555
691
|
* @param createRichMenuAliasRequest
|
|
556
|
-
*
|
|
557
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">
|
|
692
|
+
* @returns A promise resolving to the response body.
|
|
693
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
|
|
558
694
|
*/
|
|
559
695
|
async createRichMenuAlias(createRichMenuAliasRequest) {
|
|
560
696
|
return this.clients.messagingApi.createRichMenuAlias(createRichMenuAliasRequest);
|
|
561
697
|
}
|
|
562
698
|
/**
|
|
563
|
-
* Create rich menu alias
|
|
564
|
-
*
|
|
699
|
+
* Create rich menu alias
|
|
700
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
|
|
701
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
565
702
|
* @param createRichMenuAliasRequest
|
|
566
|
-
*
|
|
567
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">
|
|
703
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
704
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
|
|
568
705
|
*/
|
|
569
706
|
async createRichMenuAliasWithHttpInfo(createRichMenuAliasRequest) {
|
|
570
707
|
return this.clients.messagingApi.createRichMenuAliasWithHttpInfo(createRichMenuAliasRequest);
|
|
571
708
|
}
|
|
572
709
|
/**
|
|
573
710
|
* Deletes a rich menu.
|
|
711
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
712
|
+
* To inspect the HTTP status code or response headers, use {@link deleteRichMenuWithHttpInfo}.
|
|
574
713
|
* @param richMenuId ID of a rich menu
|
|
575
|
-
*
|
|
576
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">
|
|
714
|
+
* @returns A promise resolving to the response body.
|
|
715
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">LINE Developers documentation</a>
|
|
577
716
|
*/
|
|
578
717
|
async deleteRichMenu(richMenuId) {
|
|
579
718
|
return this.clients.messagingApi.deleteRichMenu(richMenuId);
|
|
580
719
|
}
|
|
581
720
|
/**
|
|
582
|
-
* Deletes a rich menu
|
|
583
|
-
*
|
|
721
|
+
* Deletes a rich menu.
|
|
722
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
723
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
584
724
|
* @param richMenuId ID of a rich menu
|
|
585
|
-
*
|
|
586
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">
|
|
725
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
726
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">LINE Developers documentation</a>
|
|
587
727
|
*/
|
|
588
728
|
async deleteRichMenuWithHttpInfo(richMenuId) {
|
|
589
729
|
return this.clients.messagingApi.deleteRichMenuWithHttpInfo(richMenuId);
|
|
590
730
|
}
|
|
591
731
|
/**
|
|
592
732
|
* Delete rich menu alias
|
|
733
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
734
|
+
* To inspect the HTTP status code or response headers, use {@link deleteRichMenuAliasWithHttpInfo}.
|
|
593
735
|
* @param richMenuAliasId Rich menu alias ID that you want to delete.
|
|
594
|
-
*
|
|
595
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">
|
|
736
|
+
* @returns A promise resolving to the response body.
|
|
737
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
|
|
596
738
|
*/
|
|
597
739
|
async deleteRichMenuAlias(richMenuAliasId) {
|
|
598
740
|
return this.clients.messagingApi.deleteRichMenuAlias(richMenuAliasId);
|
|
599
741
|
}
|
|
600
742
|
/**
|
|
601
|
-
* Delete rich menu alias
|
|
602
|
-
*
|
|
743
|
+
* Delete rich menu alias
|
|
744
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
745
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
603
746
|
* @param richMenuAliasId Rich menu alias ID that you want to delete.
|
|
604
|
-
*
|
|
605
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">
|
|
747
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
748
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
|
|
606
749
|
*/
|
|
607
750
|
async deleteRichMenuAliasWithHttpInfo(richMenuAliasId) {
|
|
608
751
|
return this.clients.messagingApi.deleteRichMenuAliasWithHttpInfo(richMenuAliasId);
|
|
609
752
|
}
|
|
610
753
|
/**
|
|
611
754
|
* Get name list of units used this month
|
|
755
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
|
|
756
|
+
* To inspect the HTTP status code or response headers, use {@link getAggregationUnitNameListWithHttpInfo}.
|
|
612
757
|
* @param limit The maximum number of aggregation units you can get per request.
|
|
613
758
|
* @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.
|
|
614
|
-
*
|
|
615
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">
|
|
759
|
+
* @returns A promise resolving to the response body.
|
|
760
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
|
|
616
761
|
*/
|
|
617
762
|
async getAggregationUnitNameList(limit, start) {
|
|
618
763
|
return this.clients.messagingApi.getAggregationUnitNameList(limit, start);
|
|
619
764
|
}
|
|
620
765
|
/**
|
|
621
|
-
* Get name list of units used this month
|
|
622
|
-
*
|
|
766
|
+
* Get name list of units used this month
|
|
767
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
|
|
768
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
623
769
|
* @param limit The maximum number of aggregation units you can get per request.
|
|
624
770
|
* @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.
|
|
625
|
-
*
|
|
626
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">
|
|
771
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
772
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
|
|
627
773
|
*/
|
|
628
774
|
async getAggregationUnitNameListWithHttpInfo(limit, start) {
|
|
629
775
|
return this.clients.messagingApi.getAggregationUnitNameListWithHttpInfo(limit, start);
|
|
630
776
|
}
|
|
631
777
|
/**
|
|
632
778
|
* Get number of units used this month
|
|
633
|
-
*
|
|
634
|
-
* @
|
|
779
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
|
|
780
|
+
* To inspect the HTTP status code or response headers, use {@link getAggregationUnitUsageWithHttpInfo}.
|
|
781
|
+
* @returns A promise resolving to the response body.
|
|
782
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
|
|
635
783
|
*/
|
|
636
784
|
async getAggregationUnitUsage() {
|
|
637
785
|
return this.clients.messagingApi.getAggregationUnitUsage();
|
|
638
786
|
}
|
|
639
787
|
/**
|
|
640
|
-
* Get number of units used this month
|
|
641
|
-
*
|
|
642
|
-
*
|
|
643
|
-
* @
|
|
788
|
+
* Get number of units used this month
|
|
789
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
|
|
790
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
791
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
792
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
|
|
644
793
|
*/
|
|
645
794
|
async getAggregationUnitUsageWithHttpInfo() {
|
|
646
795
|
return this.clients.messagingApi.getAggregationUnitUsageWithHttpInfo();
|
|
647
796
|
}
|
|
648
797
|
/**
|
|
649
798
|
* Get bot info
|
|
650
|
-
*
|
|
651
|
-
* @
|
|
799
|
+
* Calls `GET https://api.line.me/v2/bot/info`.
|
|
800
|
+
* To inspect the HTTP status code or response headers, use {@link getBotInfoWithHttpInfo}.
|
|
801
|
+
* @returns A promise resolving to the response body.
|
|
802
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
|
|
652
803
|
*/
|
|
653
804
|
async getBotInfo() {
|
|
654
805
|
return this.clients.messagingApi.getBotInfo();
|
|
655
806
|
}
|
|
656
807
|
/**
|
|
657
|
-
* Get bot info
|
|
658
|
-
*
|
|
659
|
-
*
|
|
660
|
-
* @
|
|
808
|
+
* Get bot info
|
|
809
|
+
* Calls `GET https://api.line.me/v2/bot/info`.
|
|
810
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
811
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
812
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
|
|
661
813
|
*/
|
|
662
814
|
async getBotInfoWithHttpInfo() {
|
|
663
815
|
return this.clients.messagingApi.getBotInfoWithHttpInfo();
|
|
664
816
|
}
|
|
665
817
|
/**
|
|
666
818
|
* Get coupon detail
|
|
819
|
+
* Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
|
|
820
|
+
* To inspect the HTTP status code or response headers, use {@link getCouponDetailWithHttpInfo}.
|
|
667
821
|
* @param couponId
|
|
668
|
-
*
|
|
669
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">
|
|
822
|
+
* @returns A promise resolving to the response body.
|
|
823
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
|
|
670
824
|
*/
|
|
671
825
|
async getCouponDetail(couponId) {
|
|
672
826
|
return this.clients.messagingApi.getCouponDetail(couponId);
|
|
673
827
|
}
|
|
674
828
|
/**
|
|
675
|
-
* Get coupon detail
|
|
676
|
-
*
|
|
829
|
+
* Get coupon detail
|
|
830
|
+
* Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
|
|
831
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
677
832
|
* @param couponId
|
|
678
|
-
*
|
|
679
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">
|
|
833
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
834
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
|
|
680
835
|
*/
|
|
681
836
|
async getCouponDetailWithHttpInfo(couponId) {
|
|
682
837
|
return this.clients.messagingApi.getCouponDetailWithHttpInfo(couponId);
|
|
683
838
|
}
|
|
684
839
|
/**
|
|
685
840
|
* Gets the ID of the default rich menu set with the Messaging API.
|
|
686
|
-
*
|
|
687
|
-
* @
|
|
841
|
+
* Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
|
|
842
|
+
* To inspect the HTTP status code or response headers, use {@link getDefaultRichMenuIdWithHttpInfo}.
|
|
843
|
+
* @returns A promise resolving to the response body.
|
|
844
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
|
|
688
845
|
*/
|
|
689
846
|
async getDefaultRichMenuId() {
|
|
690
847
|
return this.clients.messagingApi.getDefaultRichMenuId();
|
|
691
848
|
}
|
|
692
849
|
/**
|
|
693
|
-
* Gets the ID of the default rich menu set with the Messaging API
|
|
694
|
-
*
|
|
695
|
-
*
|
|
696
|
-
* @
|
|
850
|
+
* Gets the ID of the default rich menu set with the Messaging API.
|
|
851
|
+
* Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
|
|
852
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
853
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
854
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
|
|
697
855
|
*/
|
|
698
856
|
async getDefaultRichMenuIdWithHttpInfo() {
|
|
699
857
|
return this.clients.messagingApi.getDefaultRichMenuIdWithHttpInfo();
|
|
700
858
|
}
|
|
701
859
|
/**
|
|
702
860
|
* Get a list of users who added your LINE Official Account as a friend
|
|
861
|
+
* Calls `GET https://api.line.me/v2/bot/followers/ids`.
|
|
862
|
+
* To inspect the HTTP status code or response headers, use {@link getFollowersWithHttpInfo}.
|
|
703
863
|
* @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.
|
|
704
864
|
* @param limit The maximum number of user IDs to retrieve in a single request.
|
|
705
|
-
*
|
|
706
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">
|
|
865
|
+
* @returns A promise resolving to the response body.
|
|
866
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
|
|
707
867
|
*/
|
|
708
868
|
async getFollowers(start, limit) {
|
|
709
869
|
return this.clients.messagingApi.getFollowers(start, limit);
|
|
710
870
|
}
|
|
711
871
|
/**
|
|
712
|
-
* Get a list of users who added your LINE Official Account as a friend
|
|
713
|
-
*
|
|
872
|
+
* Get a list of users who added your LINE Official Account as a friend
|
|
873
|
+
* Calls `GET https://api.line.me/v2/bot/followers/ids`.
|
|
874
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
714
875
|
* @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.
|
|
715
876
|
* @param limit The maximum number of user IDs to retrieve in a single request.
|
|
716
|
-
*
|
|
717
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">
|
|
877
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
878
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
|
|
718
879
|
*/
|
|
719
880
|
async getFollowersWithHttpInfo(start, limit) {
|
|
720
881
|
return this.clients.messagingApi.getFollowersWithHttpInfo(start, limit);
|
|
721
882
|
}
|
|
722
883
|
/**
|
|
723
884
|
* Get number of users in a group chat
|
|
885
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
|
|
886
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupMemberCountWithHttpInfo}.
|
|
724
887
|
* @param groupId Group ID
|
|
725
|
-
*
|
|
726
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">
|
|
888
|
+
* @returns A promise resolving to the response body.
|
|
889
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
|
|
727
890
|
*/
|
|
728
891
|
async getGroupMemberCount(groupId) {
|
|
729
892
|
return this.clients.messagingApi.getGroupMemberCount(groupId);
|
|
730
893
|
}
|
|
731
894
|
/**
|
|
732
|
-
* Get number of users in a group chat
|
|
733
|
-
*
|
|
895
|
+
* Get number of users in a group chat
|
|
896
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
|
|
897
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
734
898
|
* @param groupId Group ID
|
|
735
|
-
*
|
|
736
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">
|
|
899
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
900
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
|
|
737
901
|
*/
|
|
738
902
|
async getGroupMemberCountWithHttpInfo(groupId) {
|
|
739
903
|
return this.clients.messagingApi.getGroupMemberCountWithHttpInfo(groupId);
|
|
740
904
|
}
|
|
741
905
|
/**
|
|
742
906
|
* Get group chat member profile
|
|
907
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
|
|
908
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupMemberProfileWithHttpInfo}.
|
|
743
909
|
* @param groupId Group ID
|
|
744
910
|
* @param userId User ID
|
|
745
|
-
*
|
|
746
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">
|
|
911
|
+
* @returns A promise resolving to the response body.
|
|
912
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
|
|
747
913
|
*/
|
|
748
914
|
async getGroupMemberProfile(groupId, userId) {
|
|
749
915
|
return this.clients.messagingApi.getGroupMemberProfile(groupId, userId);
|
|
750
916
|
}
|
|
751
917
|
/**
|
|
752
|
-
* Get group chat member profile
|
|
753
|
-
*
|
|
918
|
+
* Get group chat member profile
|
|
919
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
|
|
920
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
754
921
|
* @param groupId Group ID
|
|
755
922
|
* @param userId User ID
|
|
756
|
-
*
|
|
757
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">
|
|
923
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
924
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
|
|
758
925
|
*/
|
|
759
926
|
async getGroupMemberProfileWithHttpInfo(groupId, userId) {
|
|
760
927
|
return this.clients.messagingApi.getGroupMemberProfileWithHttpInfo(groupId, userId);
|
|
761
928
|
}
|
|
762
929
|
/**
|
|
763
930
|
* Get group chat member user IDs
|
|
931
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
|
|
932
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupMembersIdsWithHttpInfo}.
|
|
764
933
|
* @param groupId Group ID
|
|
765
934
|
* @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.
|
|
766
|
-
*
|
|
767
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">
|
|
935
|
+
* @returns A promise resolving to the response body.
|
|
936
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
|
|
768
937
|
*/
|
|
769
938
|
async getGroupMembersIds(groupId, start) {
|
|
770
939
|
return this.clients.messagingApi.getGroupMembersIds(groupId, start);
|
|
771
940
|
}
|
|
772
941
|
/**
|
|
773
|
-
* Get group chat member user IDs
|
|
774
|
-
*
|
|
942
|
+
* Get group chat member user IDs
|
|
943
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
|
|
944
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
775
945
|
* @param groupId Group ID
|
|
776
946
|
* @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.
|
|
777
|
-
*
|
|
778
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">
|
|
947
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
948
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
|
|
779
949
|
*/
|
|
780
950
|
async getGroupMembersIdsWithHttpInfo(groupId, start) {
|
|
781
951
|
return this.clients.messagingApi.getGroupMembersIdsWithHttpInfo(groupId, start);
|
|
782
952
|
}
|
|
783
953
|
/**
|
|
784
954
|
* Get group chat summary
|
|
955
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
|
|
956
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupSummaryWithHttpInfo}.
|
|
785
957
|
* @param groupId Group ID
|
|
786
|
-
*
|
|
787
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">
|
|
958
|
+
* @returns A promise resolving to the response body.
|
|
959
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
|
|
788
960
|
*/
|
|
789
961
|
async getGroupSummary(groupId) {
|
|
790
962
|
return this.clients.messagingApi.getGroupSummary(groupId);
|
|
791
963
|
}
|
|
792
964
|
/**
|
|
793
|
-
* Get group chat summary
|
|
794
|
-
*
|
|
965
|
+
* Get group chat summary
|
|
966
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
|
|
967
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
795
968
|
* @param groupId Group ID
|
|
796
|
-
*
|
|
797
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">
|
|
969
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
970
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
|
|
798
971
|
*/
|
|
799
972
|
async getGroupSummaryWithHttpInfo(groupId) {
|
|
800
973
|
return this.clients.messagingApi.getGroupSummaryWithHttpInfo(groupId);
|
|
801
974
|
}
|
|
802
975
|
/**
|
|
803
976
|
* Get a list of user IDs who joined the membership.
|
|
977
|
+
* Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
|
|
978
|
+
* To inspect the HTTP status code or response headers, use {@link getJoinedMembershipUsersWithHttpInfo}.
|
|
804
979
|
* @param membershipId Membership plan ID.
|
|
805
980
|
* @param start A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).
|
|
806
981
|
* @param limit The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.
|
|
807
|
-
*
|
|
808
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">
|
|
982
|
+
* @returns A promise resolving to the response body.
|
|
983
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
|
|
809
984
|
*/
|
|
810
985
|
async getJoinedMembershipUsers(membershipId, start, limit) {
|
|
811
986
|
return this.clients.messagingApi.getJoinedMembershipUsers(membershipId, start, limit);
|
|
812
987
|
}
|
|
813
988
|
/**
|
|
814
|
-
* Get a list of user IDs who joined the membership
|
|
815
|
-
*
|
|
989
|
+
* Get a list of user IDs who joined the membership.
|
|
990
|
+
* Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
|
|
991
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
816
992
|
* @param membershipId Membership plan ID.
|
|
817
993
|
* @param start A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).
|
|
818
994
|
* @param limit The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.
|
|
819
|
-
*
|
|
820
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">
|
|
995
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
996
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
|
|
821
997
|
*/
|
|
822
998
|
async getJoinedMembershipUsersWithHttpInfo(membershipId, start, limit) {
|
|
823
999
|
return this.clients.messagingApi.getJoinedMembershipUsersWithHttpInfo(membershipId, start, limit);
|
|
824
1000
|
}
|
|
825
1001
|
/**
|
|
826
1002
|
* Get a list of memberships.
|
|
827
|
-
*
|
|
828
|
-
* @
|
|
1003
|
+
* Calls `GET https://api.line.me/v2/bot/membership/list`.
|
|
1004
|
+
* To inspect the HTTP status code or response headers, use {@link getMembershipListWithHttpInfo}.
|
|
1005
|
+
* @returns A promise resolving to the response body.
|
|
1006
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
|
|
829
1007
|
*/
|
|
830
1008
|
async getMembershipList() {
|
|
831
1009
|
return this.clients.messagingApi.getMembershipList();
|
|
832
1010
|
}
|
|
833
1011
|
/**
|
|
834
|
-
* Get a list of memberships
|
|
835
|
-
*
|
|
836
|
-
*
|
|
837
|
-
* @
|
|
1012
|
+
* Get a list of memberships.
|
|
1013
|
+
* Calls `GET https://api.line.me/v2/bot/membership/list`.
|
|
1014
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1015
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1016
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
|
|
838
1017
|
*/
|
|
839
1018
|
async getMembershipListWithHttpInfo() {
|
|
840
1019
|
return this.clients.messagingApi.getMembershipListWithHttpInfo();
|
|
841
1020
|
}
|
|
842
1021
|
/**
|
|
843
1022
|
* Get a user's membership subscription.
|
|
1023
|
+
* Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
|
|
1024
|
+
* To inspect the HTTP status code or response headers, use {@link getMembershipSubscriptionWithHttpInfo}.
|
|
844
1025
|
* @param userId User ID
|
|
845
|
-
*
|
|
846
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">
|
|
1026
|
+
* @returns A promise resolving to the response body.
|
|
1027
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
|
|
847
1028
|
*/
|
|
848
1029
|
async getMembershipSubscription(userId) {
|
|
849
1030
|
return this.clients.messagingApi.getMembershipSubscription(userId);
|
|
850
1031
|
}
|
|
851
1032
|
/**
|
|
852
|
-
* Get a user's membership subscription
|
|
853
|
-
*
|
|
1033
|
+
* Get a user's membership subscription.
|
|
1034
|
+
* Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
|
|
1035
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
854
1036
|
* @param userId User ID
|
|
855
|
-
*
|
|
856
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">
|
|
1037
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1038
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
|
|
857
1039
|
*/
|
|
858
1040
|
async getMembershipSubscriptionWithHttpInfo(userId) {
|
|
859
1041
|
return this.clients.messagingApi.getMembershipSubscriptionWithHttpInfo(userId);
|
|
860
1042
|
}
|
|
861
1043
|
/**
|
|
862
1044
|
* Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
|
|
863
|
-
*
|
|
864
|
-
* @
|
|
1045
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota`.
|
|
1046
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageQuotaWithHttpInfo}.
|
|
1047
|
+
* @returns A promise resolving to the response body.
|
|
1048
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
|
|
865
1049
|
*/
|
|
866
1050
|
async getMessageQuota() {
|
|
867
1051
|
return this.clients.messagingApi.getMessageQuota();
|
|
868
1052
|
}
|
|
869
1053
|
/**
|
|
870
|
-
* Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned
|
|
871
|
-
*
|
|
872
|
-
*
|
|
873
|
-
* @
|
|
1054
|
+
* Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
|
|
1055
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota`.
|
|
1056
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1057
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1058
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
|
|
874
1059
|
*/
|
|
875
1060
|
async getMessageQuotaWithHttpInfo() {
|
|
876
1061
|
return this.clients.messagingApi.getMessageQuotaWithHttpInfo();
|
|
877
1062
|
}
|
|
878
1063
|
/**
|
|
879
1064
|
* Gets the number of messages sent in the current month.
|
|
880
|
-
*
|
|
881
|
-
* @
|
|
1065
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
|
|
1066
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageQuotaConsumptionWithHttpInfo}.
|
|
1067
|
+
* @returns A promise resolving to the response body.
|
|
1068
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
|
|
882
1069
|
*/
|
|
883
1070
|
async getMessageQuotaConsumption() {
|
|
884
1071
|
return this.clients.messagingApi.getMessageQuotaConsumption();
|
|
885
1072
|
}
|
|
886
1073
|
/**
|
|
887
|
-
* Gets the number of messages sent in the current month
|
|
888
|
-
*
|
|
889
|
-
*
|
|
890
|
-
* @
|
|
1074
|
+
* Gets the number of messages sent in the current month.
|
|
1075
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
|
|
1076
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1077
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1078
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
|
|
891
1079
|
*/
|
|
892
1080
|
async getMessageQuotaConsumptionWithHttpInfo() {
|
|
893
1081
|
return this.clients.messagingApi.getMessageQuotaConsumptionWithHttpInfo();
|
|
894
1082
|
}
|
|
895
1083
|
/**
|
|
896
1084
|
* Gets the status of a narrowcast message.
|
|
1085
|
+
* Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
|
|
1086
|
+
* To inspect the HTTP status code or response headers, use {@link getNarrowcastProgressWithHttpInfo}.
|
|
897
1087
|
* @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
|
|
898
|
-
*
|
|
899
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">
|
|
1088
|
+
* @returns A promise resolving to the response body.
|
|
1089
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
|
|
900
1090
|
*/
|
|
901
1091
|
async getNarrowcastProgress(requestId) {
|
|
902
1092
|
return this.clients.messagingApi.getNarrowcastProgress(requestId);
|
|
903
1093
|
}
|
|
904
1094
|
/**
|
|
905
|
-
* Gets the status of a narrowcast message
|
|
906
|
-
*
|
|
1095
|
+
* Gets the status of a narrowcast message.
|
|
1096
|
+
* Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
|
|
1097
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
907
1098
|
* @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
|
|
908
|
-
*
|
|
909
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">
|
|
1099
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1100
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
|
|
910
1101
|
*/
|
|
911
1102
|
async getNarrowcastProgressWithHttpInfo(requestId) {
|
|
912
1103
|
return this.clients.messagingApi.getNarrowcastProgressWithHttpInfo(requestId);
|
|
913
1104
|
}
|
|
914
1105
|
/**
|
|
915
1106
|
* Get number of sent broadcast messages
|
|
1107
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
|
|
1108
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentBroadcastMessagesWithHttpInfo}.
|
|
916
1109
|
* @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
917
|
-
*
|
|
918
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">
|
|
1110
|
+
* @returns A promise resolving to the response body.
|
|
1111
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
|
|
919
1112
|
*/
|
|
920
1113
|
async getNumberOfSentBroadcastMessages(date) {
|
|
921
1114
|
return this.clients.messagingApi.getNumberOfSentBroadcastMessages(date);
|
|
922
1115
|
}
|
|
923
1116
|
/**
|
|
924
|
-
* Get number of sent broadcast messages
|
|
925
|
-
*
|
|
1117
|
+
* Get number of sent broadcast messages
|
|
1118
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
|
|
1119
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
926
1120
|
* @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
927
|
-
*
|
|
928
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">
|
|
1121
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1122
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
|
|
929
1123
|
*/
|
|
930
1124
|
async getNumberOfSentBroadcastMessagesWithHttpInfo(date) {
|
|
931
1125
|
return this.clients.messagingApi.getNumberOfSentBroadcastMessagesWithHttpInfo(date);
|
|
932
1126
|
}
|
|
933
1127
|
/**
|
|
934
1128
|
* Get number of sent multicast messages
|
|
1129
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
|
|
1130
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentMulticastMessagesWithHttpInfo}.
|
|
935
1131
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
936
|
-
*
|
|
937
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">
|
|
1132
|
+
* @returns A promise resolving to the response body.
|
|
1133
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">LINE Developers documentation</a>
|
|
938
1134
|
*/
|
|
939
1135
|
async getNumberOfSentMulticastMessages(date) {
|
|
940
1136
|
return this.clients.messagingApi.getNumberOfSentMulticastMessages(date);
|
|
941
1137
|
}
|
|
942
1138
|
/**
|
|
943
|
-
* Get number of sent multicast messages
|
|
944
|
-
*
|
|
1139
|
+
* Get number of sent multicast messages
|
|
1140
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
|
|
1141
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
945
1142
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
946
|
-
*
|
|
947
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">
|
|
1143
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1144
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">LINE Developers documentation</a>
|
|
948
1145
|
*/
|
|
949
1146
|
async getNumberOfSentMulticastMessagesWithHttpInfo(date) {
|
|
950
1147
|
return this.clients.messagingApi.getNumberOfSentMulticastMessagesWithHttpInfo(date);
|
|
951
1148
|
}
|
|
952
1149
|
/**
|
|
953
1150
|
* Get number of sent push messages
|
|
1151
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
|
|
1152
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentPushMessagesWithHttpInfo}.
|
|
954
1153
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
955
|
-
*
|
|
956
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">
|
|
1154
|
+
* @returns A promise resolving to the response body.
|
|
1155
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
|
|
957
1156
|
*/
|
|
958
1157
|
async getNumberOfSentPushMessages(date) {
|
|
959
1158
|
return this.clients.messagingApi.getNumberOfSentPushMessages(date);
|
|
960
1159
|
}
|
|
961
1160
|
/**
|
|
962
|
-
* Get number of sent push messages
|
|
963
|
-
*
|
|
1161
|
+
* Get number of sent push messages
|
|
1162
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
|
|
1163
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
964
1164
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
965
|
-
*
|
|
966
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">
|
|
1165
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1166
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
|
|
967
1167
|
*/
|
|
968
1168
|
async getNumberOfSentPushMessagesWithHttpInfo(date) {
|
|
969
1169
|
return this.clients.messagingApi.getNumberOfSentPushMessagesWithHttpInfo(date);
|
|
970
1170
|
}
|
|
971
1171
|
/**
|
|
972
1172
|
* Get number of sent reply messages
|
|
1173
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
|
|
1174
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentReplyMessagesWithHttpInfo}.
|
|
973
1175
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
974
|
-
*
|
|
975
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">
|
|
1176
|
+
* @returns A promise resolving to the response body.
|
|
1177
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
|
|
976
1178
|
*/
|
|
977
1179
|
async getNumberOfSentReplyMessages(date) {
|
|
978
1180
|
return this.clients.messagingApi.getNumberOfSentReplyMessages(date);
|
|
979
1181
|
}
|
|
980
1182
|
/**
|
|
981
|
-
* Get number of sent reply messages
|
|
982
|
-
*
|
|
1183
|
+
* Get number of sent reply messages
|
|
1184
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
|
|
1185
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
983
1186
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
984
|
-
*
|
|
985
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">
|
|
1187
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1188
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
|
|
986
1189
|
*/
|
|
987
1190
|
async getNumberOfSentReplyMessagesWithHttpInfo(date) {
|
|
988
1191
|
return this.clients.messagingApi.getNumberOfSentReplyMessagesWithHttpInfo(date);
|
|
989
1192
|
}
|
|
990
1193
|
/**
|
|
991
1194
|
* Get number of sent LINE notification messages
|
|
1195
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
|
|
1196
|
+
* To inspect the HTTP status code or response headers, use {@link getPNPMessageStatisticsWithHttpInfo}.
|
|
992
1197
|
* @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
|
|
993
|
-
*
|
|
994
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">
|
|
1198
|
+
* @returns A promise resolving to the response body.
|
|
1199
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
|
|
995
1200
|
*/
|
|
996
1201
|
async getPNPMessageStatistics(date) {
|
|
997
1202
|
return this.clients.messagingApi.getPNPMessageStatistics(date);
|
|
998
1203
|
}
|
|
999
1204
|
/**
|
|
1000
|
-
* Get number of sent LINE notification messages
|
|
1001
|
-
*
|
|
1205
|
+
* Get number of sent LINE notification messages
|
|
1206
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
|
|
1207
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1002
1208
|
* @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
|
|
1003
|
-
*
|
|
1004
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">
|
|
1209
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1210
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
|
|
1005
1211
|
*/
|
|
1006
1212
|
async getPNPMessageStatisticsWithHttpInfo(date) {
|
|
1007
1213
|
return this.clients.messagingApi.getPNPMessageStatisticsWithHttpInfo(date);
|
|
1008
1214
|
}
|
|
1009
1215
|
/**
|
|
1010
1216
|
* Get profile
|
|
1217
|
+
* Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
|
|
1218
|
+
* To inspect the HTTP status code or response headers, use {@link getProfileWithHttpInfo}.
|
|
1011
1219
|
* @param userId User ID
|
|
1012
|
-
*
|
|
1013
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">
|
|
1220
|
+
* @returns A promise resolving to the response body.
|
|
1221
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
|
|
1014
1222
|
*/
|
|
1015
1223
|
async getProfile(userId) {
|
|
1016
1224
|
return this.clients.messagingApi.getProfile(userId);
|
|
1017
1225
|
}
|
|
1018
1226
|
/**
|
|
1019
|
-
* Get profile
|
|
1020
|
-
*
|
|
1227
|
+
* Get profile
|
|
1228
|
+
* Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
|
|
1229
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1021
1230
|
* @param userId User ID
|
|
1022
|
-
*
|
|
1023
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">
|
|
1231
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1232
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
|
|
1024
1233
|
*/
|
|
1025
1234
|
async getProfileWithHttpInfo(userId) {
|
|
1026
1235
|
return this.clients.messagingApi.getProfileWithHttpInfo(userId);
|
|
1027
1236
|
}
|
|
1028
1237
|
/**
|
|
1029
1238
|
* Gets a rich menu via a rich menu ID.
|
|
1239
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
1240
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuWithHttpInfo}.
|
|
1030
1241
|
* @param richMenuId ID of a rich menu
|
|
1031
|
-
*
|
|
1032
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">
|
|
1242
|
+
* @returns A promise resolving to the response body.
|
|
1243
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
|
|
1033
1244
|
*/
|
|
1034
1245
|
async getRichMenu(richMenuId) {
|
|
1035
1246
|
return this.clients.messagingApi.getRichMenu(richMenuId);
|
|
1036
1247
|
}
|
|
1037
1248
|
/**
|
|
1038
|
-
* Gets a rich menu via a rich menu ID
|
|
1039
|
-
*
|
|
1249
|
+
* Gets a rich menu via a rich menu ID.
|
|
1250
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
1251
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1040
1252
|
* @param richMenuId ID of a rich menu
|
|
1041
|
-
*
|
|
1042
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">
|
|
1253
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1254
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
|
|
1043
1255
|
*/
|
|
1044
1256
|
async getRichMenuWithHttpInfo(richMenuId) {
|
|
1045
1257
|
return this.clients.messagingApi.getRichMenuWithHttpInfo(richMenuId);
|
|
1046
1258
|
}
|
|
1047
1259
|
/**
|
|
1048
1260
|
* Get rich menu alias information
|
|
1261
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1262
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuAliasWithHttpInfo}.
|
|
1049
1263
|
* @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
|
|
1050
|
-
*
|
|
1051
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">
|
|
1264
|
+
* @returns A promise resolving to the response body.
|
|
1265
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
|
|
1052
1266
|
*/
|
|
1053
1267
|
async getRichMenuAlias(richMenuAliasId) {
|
|
1054
1268
|
return this.clients.messagingApi.getRichMenuAlias(richMenuAliasId);
|
|
1055
1269
|
}
|
|
1056
1270
|
/**
|
|
1057
|
-
* Get rich menu alias information
|
|
1058
|
-
*
|
|
1271
|
+
* Get rich menu alias information
|
|
1272
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1273
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1059
1274
|
* @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
|
|
1060
|
-
*
|
|
1061
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">
|
|
1275
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1276
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
|
|
1062
1277
|
*/
|
|
1063
1278
|
async getRichMenuAliasWithHttpInfo(richMenuAliasId) {
|
|
1064
1279
|
return this.clients.messagingApi.getRichMenuAliasWithHttpInfo(richMenuAliasId);
|
|
1065
1280
|
}
|
|
1066
1281
|
/**
|
|
1067
1282
|
* Get list of rich menu alias
|
|
1068
|
-
*
|
|
1069
|
-
* @
|
|
1283
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
|
|
1284
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuAliasListWithHttpInfo}.
|
|
1285
|
+
* @returns A promise resolving to the response body.
|
|
1286
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
|
|
1070
1287
|
*/
|
|
1071
1288
|
async getRichMenuAliasList() {
|
|
1072
1289
|
return this.clients.messagingApi.getRichMenuAliasList();
|
|
1073
1290
|
}
|
|
1074
1291
|
/**
|
|
1075
|
-
* Get list of rich menu alias
|
|
1076
|
-
*
|
|
1077
|
-
*
|
|
1078
|
-
* @
|
|
1292
|
+
* Get list of rich menu alias
|
|
1293
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
|
|
1294
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1295
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1296
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
|
|
1079
1297
|
*/
|
|
1080
1298
|
async getRichMenuAliasListWithHttpInfo() {
|
|
1081
1299
|
return this.clients.messagingApi.getRichMenuAliasListWithHttpInfo();
|
|
1082
1300
|
}
|
|
1083
1301
|
/**
|
|
1084
1302
|
* Get the status of Replace or unlink a linked rich menus in batches.
|
|
1303
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
|
|
1304
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuBatchProgressWithHttpInfo}.
|
|
1085
1305
|
* @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
|
|
1086
|
-
*
|
|
1087
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">
|
|
1306
|
+
* @returns A promise resolving to the response body.
|
|
1307
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
|
|
1088
1308
|
*/
|
|
1089
1309
|
async getRichMenuBatchProgress(requestId) {
|
|
1090
1310
|
return this.clients.messagingApi.getRichMenuBatchProgress(requestId);
|
|
1091
1311
|
}
|
|
1092
1312
|
/**
|
|
1093
|
-
* Get the status of Replace or unlink a linked rich menus in batches
|
|
1094
|
-
*
|
|
1313
|
+
* Get the status of Replace or unlink a linked rich menus in batches.
|
|
1314
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
|
|
1315
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1095
1316
|
* @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
|
|
1096
|
-
*
|
|
1097
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">
|
|
1317
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1318
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
|
|
1098
1319
|
*/
|
|
1099
1320
|
async getRichMenuBatchProgressWithHttpInfo(requestId) {
|
|
1100
1321
|
return this.clients.messagingApi.getRichMenuBatchProgressWithHttpInfo(requestId);
|
|
1101
1322
|
}
|
|
1102
1323
|
/**
|
|
1103
1324
|
* Get rich menu ID of user
|
|
1325
|
+
* Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
1326
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuIdOfUserWithHttpInfo}.
|
|
1104
1327
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1105
|
-
*
|
|
1106
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">
|
|
1328
|
+
* @returns A promise resolving to the response body.
|
|
1329
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
|
|
1107
1330
|
*/
|
|
1108
1331
|
async getRichMenuIdOfUser(userId) {
|
|
1109
1332
|
return this.clients.messagingApi.getRichMenuIdOfUser(userId);
|
|
1110
1333
|
}
|
|
1111
1334
|
/**
|
|
1112
|
-
* Get rich menu ID of user
|
|
1113
|
-
*
|
|
1335
|
+
* Get rich menu ID of user
|
|
1336
|
+
* Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
1337
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1114
1338
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1115
|
-
*
|
|
1116
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">
|
|
1339
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1340
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
|
|
1117
1341
|
*/
|
|
1118
1342
|
async getRichMenuIdOfUserWithHttpInfo(userId) {
|
|
1119
1343
|
return this.clients.messagingApi.getRichMenuIdOfUserWithHttpInfo(userId);
|
|
1120
1344
|
}
|
|
1121
1345
|
/**
|
|
1122
1346
|
* Get rich menu list
|
|
1123
|
-
*
|
|
1124
|
-
* @
|
|
1347
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/list`.
|
|
1348
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuListWithHttpInfo}.
|
|
1349
|
+
* @returns A promise resolving to the response body.
|
|
1350
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
|
|
1125
1351
|
*/
|
|
1126
1352
|
async getRichMenuList() {
|
|
1127
1353
|
return this.clients.messagingApi.getRichMenuList();
|
|
1128
1354
|
}
|
|
1129
1355
|
/**
|
|
1130
|
-
* Get rich menu list
|
|
1131
|
-
*
|
|
1132
|
-
*
|
|
1133
|
-
* @
|
|
1356
|
+
* Get rich menu list
|
|
1357
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/list`.
|
|
1358
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1359
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1360
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
|
|
1134
1361
|
*/
|
|
1135
1362
|
async getRichMenuListWithHttpInfo() {
|
|
1136
1363
|
return this.clients.messagingApi.getRichMenuListWithHttpInfo();
|
|
1137
1364
|
}
|
|
1138
1365
|
/**
|
|
1139
1366
|
* Get number of users in a multi-person chat
|
|
1367
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
|
|
1368
|
+
* To inspect the HTTP status code or response headers, use {@link getRoomMemberCountWithHttpInfo}.
|
|
1140
1369
|
* @param roomId Room ID
|
|
1141
|
-
*
|
|
1142
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">
|
|
1370
|
+
* @returns A promise resolving to the response body.
|
|
1371
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
|
|
1143
1372
|
*/
|
|
1144
1373
|
async getRoomMemberCount(roomId) {
|
|
1145
1374
|
return this.clients.messagingApi.getRoomMemberCount(roomId);
|
|
1146
1375
|
}
|
|
1147
1376
|
/**
|
|
1148
|
-
* Get number of users in a multi-person chat
|
|
1149
|
-
*
|
|
1377
|
+
* Get number of users in a multi-person chat
|
|
1378
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
|
|
1379
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1150
1380
|
* @param roomId Room ID
|
|
1151
|
-
*
|
|
1152
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">
|
|
1381
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1382
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
|
|
1153
1383
|
*/
|
|
1154
1384
|
async getRoomMemberCountWithHttpInfo(roomId) {
|
|
1155
1385
|
return this.clients.messagingApi.getRoomMemberCountWithHttpInfo(roomId);
|
|
1156
1386
|
}
|
|
1157
1387
|
/**
|
|
1158
1388
|
* Get multi-person chat member profile
|
|
1389
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
|
|
1390
|
+
* To inspect the HTTP status code or response headers, use {@link getRoomMemberProfileWithHttpInfo}.
|
|
1159
1391
|
* @param roomId Room ID
|
|
1160
1392
|
* @param userId User ID
|
|
1161
|
-
*
|
|
1162
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">
|
|
1393
|
+
* @returns A promise resolving to the response body.
|
|
1394
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
|
|
1163
1395
|
*/
|
|
1164
1396
|
async getRoomMemberProfile(roomId, userId) {
|
|
1165
1397
|
return this.clients.messagingApi.getRoomMemberProfile(roomId, userId);
|
|
1166
1398
|
}
|
|
1167
1399
|
/**
|
|
1168
|
-
* Get multi-person chat member profile
|
|
1169
|
-
*
|
|
1400
|
+
* Get multi-person chat member profile
|
|
1401
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
|
|
1402
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1170
1403
|
* @param roomId Room ID
|
|
1171
1404
|
* @param userId User ID
|
|
1172
|
-
*
|
|
1173
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">
|
|
1405
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1406
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
|
|
1174
1407
|
*/
|
|
1175
1408
|
async getRoomMemberProfileWithHttpInfo(roomId, userId) {
|
|
1176
1409
|
return this.clients.messagingApi.getRoomMemberProfileWithHttpInfo(roomId, userId);
|
|
1177
1410
|
}
|
|
1178
1411
|
/**
|
|
1179
1412
|
* Get multi-person chat member user IDs
|
|
1413
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
|
|
1414
|
+
* To inspect the HTTP status code or response headers, use {@link getRoomMembersIdsWithHttpInfo}.
|
|
1180
1415
|
* @param roomId Room ID
|
|
1181
1416
|
* @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.
|
|
1182
|
-
*
|
|
1183
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">
|
|
1417
|
+
* @returns A promise resolving to the response body.
|
|
1418
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
|
|
1184
1419
|
*/
|
|
1185
1420
|
async getRoomMembersIds(roomId, start) {
|
|
1186
1421
|
return this.clients.messagingApi.getRoomMembersIds(roomId, start);
|
|
1187
1422
|
}
|
|
1188
1423
|
/**
|
|
1189
|
-
* Get multi-person chat member user IDs
|
|
1190
|
-
*
|
|
1424
|
+
* Get multi-person chat member user IDs
|
|
1425
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
|
|
1426
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1191
1427
|
* @param roomId Room ID
|
|
1192
1428
|
* @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.
|
|
1193
|
-
*
|
|
1194
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">
|
|
1429
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1430
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
|
|
1195
1431
|
*/
|
|
1196
1432
|
async getRoomMembersIdsWithHttpInfo(roomId, start) {
|
|
1197
1433
|
return this.clients.messagingApi.getRoomMembersIdsWithHttpInfo(roomId, start);
|
|
1198
1434
|
}
|
|
1199
1435
|
/**
|
|
1200
1436
|
* Get webhook endpoint information
|
|
1201
|
-
*
|
|
1202
|
-
* @
|
|
1437
|
+
* Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
1438
|
+
* To inspect the HTTP status code or response headers, use {@link getWebhookEndpointWithHttpInfo}.
|
|
1439
|
+
* @returns A promise resolving to the response body.
|
|
1440
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
|
|
1203
1441
|
*/
|
|
1204
1442
|
async getWebhookEndpoint() {
|
|
1205
1443
|
return this.clients.messagingApi.getWebhookEndpoint();
|
|
1206
1444
|
}
|
|
1207
1445
|
/**
|
|
1208
|
-
* Get webhook endpoint information
|
|
1209
|
-
*
|
|
1210
|
-
*
|
|
1211
|
-
* @
|
|
1446
|
+
* Get webhook endpoint information
|
|
1447
|
+
* Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
1448
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1449
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1450
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
|
|
1212
1451
|
*/
|
|
1213
1452
|
async getWebhookEndpointWithHttpInfo() {
|
|
1214
1453
|
return this.clients.messagingApi.getWebhookEndpointWithHttpInfo();
|
|
1215
1454
|
}
|
|
1216
1455
|
/**
|
|
1217
1456
|
* Issue link token
|
|
1457
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
|
|
1458
|
+
* To inspect the HTTP status code or response headers, use {@link issueLinkTokenWithHttpInfo}.
|
|
1218
1459
|
* @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.
|
|
1219
|
-
*
|
|
1220
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">
|
|
1460
|
+
* @returns A promise resolving to the response body.
|
|
1461
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
|
|
1221
1462
|
*/
|
|
1222
1463
|
async issueLinkToken(userId) {
|
|
1223
1464
|
return this.clients.messagingApi.issueLinkToken(userId);
|
|
1224
1465
|
}
|
|
1225
1466
|
/**
|
|
1226
|
-
* Issue link token
|
|
1227
|
-
*
|
|
1467
|
+
* Issue link token
|
|
1468
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
|
|
1469
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1228
1470
|
* @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.
|
|
1229
|
-
*
|
|
1230
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">
|
|
1471
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1472
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
|
|
1231
1473
|
*/
|
|
1232
1474
|
async issueLinkTokenWithHttpInfo(userId) {
|
|
1233
1475
|
return this.clients.messagingApi.issueLinkTokenWithHttpInfo(userId);
|
|
1234
1476
|
}
|
|
1235
1477
|
/**
|
|
1236
1478
|
* Leave group chat
|
|
1479
|
+
* Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
|
|
1480
|
+
* To inspect the HTTP status code or response headers, use {@link leaveGroupWithHttpInfo}.
|
|
1237
1481
|
* @param groupId Group ID
|
|
1238
|
-
*
|
|
1239
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">
|
|
1482
|
+
* @returns A promise resolving to the response body.
|
|
1483
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
|
|
1240
1484
|
*/
|
|
1241
1485
|
async leaveGroup(groupId) {
|
|
1242
1486
|
return this.clients.messagingApi.leaveGroup(groupId);
|
|
1243
1487
|
}
|
|
1244
1488
|
/**
|
|
1245
|
-
* Leave group chat
|
|
1246
|
-
*
|
|
1489
|
+
* Leave group chat
|
|
1490
|
+
* Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
|
|
1491
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1247
1492
|
* @param groupId Group ID
|
|
1248
|
-
*
|
|
1249
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">
|
|
1493
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1494
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
|
|
1250
1495
|
*/
|
|
1251
1496
|
async leaveGroupWithHttpInfo(groupId) {
|
|
1252
1497
|
return this.clients.messagingApi.leaveGroupWithHttpInfo(groupId);
|
|
1253
1498
|
}
|
|
1254
1499
|
/**
|
|
1255
1500
|
* Leave multi-person chat
|
|
1501
|
+
* Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
|
|
1502
|
+
* To inspect the HTTP status code or response headers, use {@link leaveRoomWithHttpInfo}.
|
|
1256
1503
|
* @param roomId Room ID
|
|
1257
|
-
*
|
|
1258
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">
|
|
1504
|
+
* @returns A promise resolving to the response body.
|
|
1505
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
|
|
1259
1506
|
*/
|
|
1260
1507
|
async leaveRoom(roomId) {
|
|
1261
1508
|
return this.clients.messagingApi.leaveRoom(roomId);
|
|
1262
1509
|
}
|
|
1263
1510
|
/**
|
|
1264
|
-
* Leave multi-person chat
|
|
1265
|
-
*
|
|
1511
|
+
* Leave multi-person chat
|
|
1512
|
+
* Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
|
|
1513
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1266
1514
|
* @param roomId Room ID
|
|
1267
|
-
*
|
|
1268
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">
|
|
1515
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1516
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
|
|
1269
1517
|
*/
|
|
1270
1518
|
async leaveRoomWithHttpInfo(roomId) {
|
|
1271
1519
|
return this.clients.messagingApi.leaveRoomWithHttpInfo(roomId);
|
|
1272
1520
|
}
|
|
1273
1521
|
/**
|
|
1274
1522
|
* Link rich menu to user.
|
|
1523
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
|
|
1524
|
+
* To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUserWithHttpInfo}.
|
|
1275
1525
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1276
1526
|
* @param richMenuId ID of a rich menu
|
|
1277
|
-
*
|
|
1278
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">
|
|
1527
|
+
* @returns A promise resolving to the response body.
|
|
1528
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
|
|
1279
1529
|
*/
|
|
1280
1530
|
async linkRichMenuIdToUser(userId, richMenuId) {
|
|
1281
1531
|
return this.clients.messagingApi.linkRichMenuIdToUser(userId, richMenuId);
|
|
1282
1532
|
}
|
|
1283
1533
|
/**
|
|
1284
|
-
* Link rich menu to user
|
|
1285
|
-
*
|
|
1534
|
+
* Link rich menu to user.
|
|
1535
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
|
|
1536
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1286
1537
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1287
1538
|
* @param richMenuId ID of a rich menu
|
|
1288
|
-
*
|
|
1289
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">
|
|
1539
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1540
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
|
|
1290
1541
|
*/
|
|
1291
1542
|
async linkRichMenuIdToUserWithHttpInfo(userId, richMenuId) {
|
|
1292
1543
|
return this.clients.messagingApi.linkRichMenuIdToUserWithHttpInfo(userId, richMenuId);
|
|
1293
1544
|
}
|
|
1294
1545
|
/**
|
|
1295
1546
|
* Link rich menu to multiple users
|
|
1547
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
|
|
1548
|
+
* To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUsersWithHttpInfo}.
|
|
1296
1549
|
* @param richMenuBulkLinkRequest
|
|
1297
|
-
*
|
|
1298
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">
|
|
1550
|
+
* @returns A promise resolving to the response body.
|
|
1551
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
|
|
1299
1552
|
*/
|
|
1300
1553
|
async linkRichMenuIdToUsers(richMenuBulkLinkRequest) {
|
|
1301
1554
|
return this.clients.messagingApi.linkRichMenuIdToUsers(richMenuBulkLinkRequest);
|
|
1302
1555
|
}
|
|
1303
1556
|
/**
|
|
1304
|
-
* Link rich menu to multiple users
|
|
1305
|
-
*
|
|
1557
|
+
* Link rich menu to multiple users
|
|
1558
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
|
|
1559
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1306
1560
|
* @param richMenuBulkLinkRequest
|
|
1307
|
-
*
|
|
1308
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">
|
|
1561
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1562
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
|
|
1309
1563
|
*/
|
|
1310
1564
|
async linkRichMenuIdToUsersWithHttpInfo(richMenuBulkLinkRequest) {
|
|
1311
1565
|
return this.clients.messagingApi.linkRichMenuIdToUsersWithHttpInfo(richMenuBulkLinkRequest);
|
|
1312
1566
|
}
|
|
1313
1567
|
/**
|
|
1314
1568
|
* Get a paginated list of coupons.
|
|
1569
|
+
* Calls `GET https://api.line.me/v2/bot/coupon`.
|
|
1570
|
+
* To inspect the HTTP status code or response headers, use {@link listCouponWithHttpInfo}.
|
|
1315
1571
|
* @param status Filter coupons by their status.
|
|
1316
1572
|
* @param start Pagination token to retrieve the next page of results.
|
|
1317
1573
|
* @param limit Maximum number of coupons to return per request.
|
|
1318
|
-
*
|
|
1319
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">
|
|
1574
|
+
* @returns A promise resolving to the response body.
|
|
1575
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
|
|
1320
1576
|
*/
|
|
1321
1577
|
async listCoupon(status, start, limit) {
|
|
1322
1578
|
return this.clients.messagingApi.listCoupon(status, start, limit);
|
|
1323
1579
|
}
|
|
1324
1580
|
/**
|
|
1325
|
-
* Get a paginated list of coupons
|
|
1326
|
-
*
|
|
1581
|
+
* Get a paginated list of coupons.
|
|
1582
|
+
* Calls `GET https://api.line.me/v2/bot/coupon`.
|
|
1583
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1327
1584
|
* @param status Filter coupons by their status.
|
|
1328
1585
|
* @param start Pagination token to retrieve the next page of results.
|
|
1329
1586
|
* @param limit Maximum number of coupons to return per request.
|
|
1330
|
-
*
|
|
1331
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">
|
|
1587
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1588
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
|
|
1332
1589
|
*/
|
|
1333
1590
|
async listCouponWithHttpInfo(status, start, limit) {
|
|
1334
1591
|
return this.clients.messagingApi.listCouponWithHttpInfo(status, start, limit);
|
|
1335
1592
|
}
|
|
1336
1593
|
/**
|
|
1337
1594
|
* Mark messages from users as read
|
|
1595
|
+
* Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
|
|
1596
|
+
* To inspect the HTTP status code or response headers, use {@link markMessagesAsReadWithHttpInfo}.
|
|
1338
1597
|
* @param markMessagesAsReadRequest
|
|
1339
|
-
*
|
|
1340
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">
|
|
1598
|
+
* @returns A promise resolving to the response body.
|
|
1599
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
|
|
1341
1600
|
*/
|
|
1342
1601
|
async markMessagesAsRead(markMessagesAsReadRequest) {
|
|
1343
1602
|
return this.clients.messagingApi.markMessagesAsRead(markMessagesAsReadRequest);
|
|
1344
1603
|
}
|
|
1345
1604
|
/**
|
|
1346
|
-
* Mark messages from users as read
|
|
1347
|
-
*
|
|
1605
|
+
* Mark messages from users as read
|
|
1606
|
+
* Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
|
|
1607
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1348
1608
|
* @param markMessagesAsReadRequest
|
|
1349
|
-
*
|
|
1350
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">
|
|
1609
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1610
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
|
|
1351
1611
|
*/
|
|
1352
1612
|
async markMessagesAsReadWithHttpInfo(markMessagesAsReadRequest) {
|
|
1353
1613
|
return this.clients.messagingApi.markMessagesAsReadWithHttpInfo(markMessagesAsReadRequest);
|
|
1354
1614
|
}
|
|
1355
1615
|
/**
|
|
1356
1616
|
* Mark messages from users as read by token
|
|
1617
|
+
* Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
|
|
1618
|
+
* To inspect the HTTP status code or response headers, use {@link markMessagesAsReadByTokenWithHttpInfo}.
|
|
1357
1619
|
* @param markMessagesAsReadByTokenRequest
|
|
1358
|
-
*
|
|
1359
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">
|
|
1620
|
+
* @returns A promise resolving to the response body.
|
|
1621
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
|
|
1360
1622
|
*/
|
|
1361
1623
|
async markMessagesAsReadByToken(markMessagesAsReadByTokenRequest) {
|
|
1362
1624
|
return this.clients.messagingApi.markMessagesAsReadByToken(markMessagesAsReadByTokenRequest);
|
|
1363
1625
|
}
|
|
1364
1626
|
/**
|
|
1365
|
-
* Mark messages from users as read by token
|
|
1366
|
-
*
|
|
1627
|
+
* Mark messages from users as read by token
|
|
1628
|
+
* Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
|
|
1629
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1367
1630
|
* @param markMessagesAsReadByTokenRequest
|
|
1368
|
-
*
|
|
1369
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">
|
|
1631
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1632
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
|
|
1370
1633
|
*/
|
|
1371
1634
|
async markMessagesAsReadByTokenWithHttpInfo(markMessagesAsReadByTokenRequest) {
|
|
1372
1635
|
return this.clients.messagingApi.markMessagesAsReadByTokenWithHttpInfo(markMessagesAsReadByTokenRequest);
|
|
1373
1636
|
}
|
|
1374
1637
|
/**
|
|
1375
1638
|
* An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
|
|
1639
|
+
* Calls `POST https://api.line.me/v2/bot/message/multicast`.
|
|
1640
|
+
* To inspect the HTTP status code or response headers, use {@link multicastWithHttpInfo}.
|
|
1376
1641
|
* @param multicastRequest
|
|
1377
1642
|
* @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.
|
|
1378
|
-
*
|
|
1379
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">
|
|
1643
|
+
* @returns A promise resolving to the response body.
|
|
1644
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
|
|
1380
1645
|
*/
|
|
1381
1646
|
async multicast(multicastRequest, xLineRetryKey) {
|
|
1382
1647
|
return this.clients.messagingApi.multicast(multicastRequest, xLineRetryKey);
|
|
1383
1648
|
}
|
|
1384
1649
|
/**
|
|
1385
|
-
* An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats
|
|
1386
|
-
*
|
|
1650
|
+
* An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
|
|
1651
|
+
* Calls `POST https://api.line.me/v2/bot/message/multicast`.
|
|
1652
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1387
1653
|
* @param multicastRequest
|
|
1388
1654
|
* @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.
|
|
1389
|
-
*
|
|
1390
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">
|
|
1655
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1656
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
|
|
1391
1657
|
*/
|
|
1392
1658
|
async multicastWithHttpInfo(multicastRequest, xLineRetryKey) {
|
|
1393
1659
|
return this.clients.messagingApi.multicastWithHttpInfo(multicastRequest, xLineRetryKey);
|
|
1394
1660
|
}
|
|
1395
1661
|
/**
|
|
1396
1662
|
* Send narrowcast message
|
|
1663
|
+
* Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
|
|
1664
|
+
* To inspect the HTTP status code or response headers, use {@link narrowcastWithHttpInfo}.
|
|
1397
1665
|
* @param narrowcastRequest
|
|
1398
1666
|
* @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.
|
|
1399
|
-
*
|
|
1400
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">
|
|
1667
|
+
* @returns A promise resolving to the response body.
|
|
1668
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
|
|
1401
1669
|
*/
|
|
1402
1670
|
async narrowcast(narrowcastRequest, xLineRetryKey) {
|
|
1403
1671
|
return this.clients.messagingApi.narrowcast(narrowcastRequest, xLineRetryKey);
|
|
1404
1672
|
}
|
|
1405
1673
|
/**
|
|
1406
|
-
* Send narrowcast message
|
|
1407
|
-
*
|
|
1674
|
+
* Send narrowcast message
|
|
1675
|
+
* Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
|
|
1676
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1408
1677
|
* @param narrowcastRequest
|
|
1409
1678
|
* @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.
|
|
1410
|
-
*
|
|
1411
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">
|
|
1679
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1680
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
|
|
1412
1681
|
*/
|
|
1413
1682
|
async narrowcastWithHttpInfo(narrowcastRequest, xLineRetryKey) {
|
|
1414
1683
|
return this.clients.messagingApi.narrowcastWithHttpInfo(narrowcastRequest, xLineRetryKey);
|
|
1415
1684
|
}
|
|
1416
1685
|
/**
|
|
1417
1686
|
* Sends a message to a user, group chat, or multi-person chat at any time.
|
|
1687
|
+
* Calls `POST https://api.line.me/v2/bot/message/push`.
|
|
1688
|
+
* To inspect the HTTP status code or response headers, use {@link pushMessageWithHttpInfo}.
|
|
1418
1689
|
* @param pushMessageRequest
|
|
1419
1690
|
* @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.
|
|
1420
|
-
*
|
|
1421
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">
|
|
1691
|
+
* @returns A promise resolving to the response body.
|
|
1692
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
|
|
1422
1693
|
*/
|
|
1423
1694
|
async pushMessage(pushMessageRequest, xLineRetryKey) {
|
|
1424
1695
|
return this.clients.messagingApi.pushMessage(pushMessageRequest, xLineRetryKey);
|
|
1425
1696
|
}
|
|
1426
1697
|
/**
|
|
1427
|
-
* Sends a message to a user, group chat, or multi-person chat at any time
|
|
1428
|
-
*
|
|
1698
|
+
* Sends a message to a user, group chat, or multi-person chat at any time.
|
|
1699
|
+
* Calls `POST https://api.line.me/v2/bot/message/push`.
|
|
1700
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1429
1701
|
* @param pushMessageRequest
|
|
1430
1702
|
* @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.
|
|
1431
|
-
*
|
|
1432
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">
|
|
1703
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1704
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
|
|
1433
1705
|
*/
|
|
1434
1706
|
async pushMessageWithHttpInfo(pushMessageRequest, xLineRetryKey) {
|
|
1435
1707
|
return this.clients.messagingApi.pushMessageWithHttpInfo(pushMessageRequest, xLineRetryKey);
|
|
1436
1708
|
}
|
|
1437
1709
|
/**
|
|
1438
1710
|
* Send LINE notification message
|
|
1711
|
+
* Calls `POST https://api.line.me/bot/pnp/push`.
|
|
1712
|
+
* To inspect the HTTP status code or response headers, use {@link pushMessagesByPhoneWithHttpInfo}.
|
|
1439
1713
|
* @param pnpMessagesRequest
|
|
1440
1714
|
* @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
|
|
1441
|
-
*
|
|
1442
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">
|
|
1715
|
+
* @returns A promise resolving to the response body.
|
|
1716
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
|
|
1443
1717
|
*/
|
|
1444
1718
|
async pushMessagesByPhone(pnpMessagesRequest, xLineDeliveryTag) {
|
|
1445
1719
|
return this.clients.messagingApi.pushMessagesByPhone(pnpMessagesRequest, xLineDeliveryTag);
|
|
1446
1720
|
}
|
|
1447
1721
|
/**
|
|
1448
|
-
* Send LINE notification message
|
|
1449
|
-
*
|
|
1722
|
+
* Send LINE notification message
|
|
1723
|
+
* Calls `POST https://api.line.me/bot/pnp/push`.
|
|
1724
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1450
1725
|
* @param pnpMessagesRequest
|
|
1451
1726
|
* @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
|
|
1452
|
-
*
|
|
1453
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">
|
|
1727
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1728
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
|
|
1454
1729
|
*/
|
|
1455
1730
|
async pushMessagesByPhoneWithHttpInfo(pnpMessagesRequest, xLineDeliveryTag) {
|
|
1456
1731
|
return this.clients.messagingApi.pushMessagesByPhoneWithHttpInfo(pnpMessagesRequest, xLineDeliveryTag);
|
|
1457
1732
|
}
|
|
1458
1733
|
/**
|
|
1459
1734
|
* Send reply message
|
|
1735
|
+
* Calls `POST https://api.line.me/v2/bot/message/reply`.
|
|
1736
|
+
* To inspect the HTTP status code or response headers, use {@link replyMessageWithHttpInfo}.
|
|
1460
1737
|
* @param replyMessageRequest
|
|
1461
|
-
*
|
|
1462
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">
|
|
1738
|
+
* @returns A promise resolving to the response body.
|
|
1739
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
|
|
1463
1740
|
*/
|
|
1464
1741
|
async replyMessage(replyMessageRequest) {
|
|
1465
1742
|
return this.clients.messagingApi.replyMessage(replyMessageRequest);
|
|
1466
1743
|
}
|
|
1467
1744
|
/**
|
|
1468
|
-
* Send reply message
|
|
1469
|
-
*
|
|
1745
|
+
* Send reply message
|
|
1746
|
+
* Calls `POST https://api.line.me/v2/bot/message/reply`.
|
|
1747
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1470
1748
|
* @param replyMessageRequest
|
|
1471
|
-
*
|
|
1472
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">
|
|
1749
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1750
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
|
|
1473
1751
|
*/
|
|
1474
1752
|
async replyMessageWithHttpInfo(replyMessageRequest) {
|
|
1475
1753
|
return this.clients.messagingApi.replyMessageWithHttpInfo(replyMessageRequest);
|
|
1476
1754
|
}
|
|
1477
1755
|
/**
|
|
1478
1756
|
* 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
|
|
1757
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
|
|
1758
|
+
* To inspect the HTTP status code or response headers, use {@link richMenuBatchWithHttpInfo}.
|
|
1479
1759
|
* @param richMenuBatchRequest
|
|
1480
|
-
*
|
|
1481
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">
|
|
1760
|
+
* @returns A promise resolving to the response body.
|
|
1761
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
|
|
1482
1762
|
*/
|
|
1483
1763
|
async richMenuBatch(richMenuBatchRequest) {
|
|
1484
1764
|
return this.clients.messagingApi.richMenuBatch(richMenuBatchRequest);
|
|
1485
1765
|
}
|
|
1486
1766
|
/**
|
|
1487
|
-
* 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
|
|
1488
|
-
*
|
|
1767
|
+
* 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
|
|
1768
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
|
|
1769
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1489
1770
|
* @param richMenuBatchRequest
|
|
1490
|
-
*
|
|
1491
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">
|
|
1771
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1772
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
|
|
1492
1773
|
*/
|
|
1493
1774
|
async richMenuBatchWithHttpInfo(richMenuBatchRequest) {
|
|
1494
1775
|
return this.clients.messagingApi.richMenuBatchWithHttpInfo(richMenuBatchRequest);
|
|
1495
1776
|
}
|
|
1496
1777
|
/**
|
|
1497
1778
|
* Set default rich menu
|
|
1779
|
+
* Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
|
|
1780
|
+
* To inspect the HTTP status code or response headers, use {@link setDefaultRichMenuWithHttpInfo}.
|
|
1498
1781
|
* @param richMenuId ID of a rich menu
|
|
1499
|
-
*
|
|
1500
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">
|
|
1782
|
+
* @returns A promise resolving to the response body.
|
|
1783
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
|
|
1501
1784
|
*/
|
|
1502
1785
|
async setDefaultRichMenu(richMenuId) {
|
|
1503
1786
|
return this.clients.messagingApi.setDefaultRichMenu(richMenuId);
|
|
1504
1787
|
}
|
|
1505
1788
|
/**
|
|
1506
|
-
* Set default rich menu
|
|
1507
|
-
*
|
|
1789
|
+
* Set default rich menu
|
|
1790
|
+
* Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
|
|
1791
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1508
1792
|
* @param richMenuId ID of a rich menu
|
|
1509
|
-
*
|
|
1510
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">
|
|
1793
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1794
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
|
|
1511
1795
|
*/
|
|
1512
1796
|
async setDefaultRichMenuWithHttpInfo(richMenuId) {
|
|
1513
1797
|
return this.clients.messagingApi.setDefaultRichMenuWithHttpInfo(richMenuId);
|
|
1514
1798
|
}
|
|
1515
1799
|
/**
|
|
1516
1800
|
* Set webhook endpoint URL
|
|
1801
|
+
* Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
1802
|
+
* To inspect the HTTP status code or response headers, use {@link setWebhookEndpointWithHttpInfo}.
|
|
1517
1803
|
* @param setWebhookEndpointRequest
|
|
1518
|
-
*
|
|
1519
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">
|
|
1804
|
+
* @returns A promise resolving to the response body.
|
|
1805
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
|
|
1520
1806
|
*/
|
|
1521
1807
|
async setWebhookEndpoint(setWebhookEndpointRequest) {
|
|
1522
1808
|
return this.clients.messagingApi.setWebhookEndpoint(setWebhookEndpointRequest);
|
|
1523
1809
|
}
|
|
1524
1810
|
/**
|
|
1525
|
-
* Set webhook endpoint URL
|
|
1526
|
-
*
|
|
1811
|
+
* Set webhook endpoint URL
|
|
1812
|
+
* Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
1813
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1527
1814
|
* @param setWebhookEndpointRequest
|
|
1528
|
-
*
|
|
1529
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">
|
|
1815
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1816
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
|
|
1530
1817
|
*/
|
|
1531
1818
|
async setWebhookEndpointWithHttpInfo(setWebhookEndpointRequest) {
|
|
1532
1819
|
return this.clients.messagingApi.setWebhookEndpointWithHttpInfo(setWebhookEndpointRequest);
|
|
1533
1820
|
}
|
|
1534
1821
|
/**
|
|
1535
1822
|
* Display a loading animation in one-on-one chats between users and LINE Official Accounts.
|
|
1823
|
+
* Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
|
|
1824
|
+
* To inspect the HTTP status code or response headers, use {@link showLoadingAnimationWithHttpInfo}.
|
|
1536
1825
|
* @param showLoadingAnimationRequest
|
|
1537
|
-
*
|
|
1538
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">
|
|
1826
|
+
* @returns A promise resolving to the response body.
|
|
1827
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
|
|
1539
1828
|
*/
|
|
1540
1829
|
async showLoadingAnimation(showLoadingAnimationRequest) {
|
|
1541
1830
|
return this.clients.messagingApi.showLoadingAnimation(showLoadingAnimationRequest);
|
|
1542
1831
|
}
|
|
1543
1832
|
/**
|
|
1544
|
-
* Display a loading animation in one-on-one chats between users and LINE Official Accounts
|
|
1545
|
-
*
|
|
1833
|
+
* Display a loading animation in one-on-one chats between users and LINE Official Accounts.
|
|
1834
|
+
* Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
|
|
1835
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1546
1836
|
* @param showLoadingAnimationRequest
|
|
1547
|
-
*
|
|
1548
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">
|
|
1837
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1838
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
|
|
1549
1839
|
*/
|
|
1550
1840
|
async showLoadingAnimationWithHttpInfo(showLoadingAnimationRequest) {
|
|
1551
1841
|
return this.clients.messagingApi.showLoadingAnimationWithHttpInfo(showLoadingAnimationRequest);
|
|
1552
1842
|
}
|
|
1553
1843
|
/**
|
|
1554
1844
|
* Test webhook endpoint
|
|
1845
|
+
* Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
|
|
1846
|
+
* To inspect the HTTP status code or response headers, use {@link testWebhookEndpointWithHttpInfo}.
|
|
1555
1847
|
* @param testWebhookEndpointRequest
|
|
1556
|
-
*
|
|
1557
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">
|
|
1848
|
+
* @returns A promise resolving to the response body.
|
|
1849
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
|
|
1558
1850
|
*/
|
|
1559
1851
|
async testWebhookEndpoint(testWebhookEndpointRequest) {
|
|
1560
1852
|
return this.clients.messagingApi.testWebhookEndpoint(testWebhookEndpointRequest);
|
|
1561
1853
|
}
|
|
1562
1854
|
/**
|
|
1563
|
-
* Test webhook endpoint
|
|
1564
|
-
*
|
|
1855
|
+
* Test webhook endpoint
|
|
1856
|
+
* Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
|
|
1857
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1565
1858
|
* @param testWebhookEndpointRequest
|
|
1566
|
-
*
|
|
1567
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">
|
|
1859
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1860
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
|
|
1568
1861
|
*/
|
|
1569
1862
|
async testWebhookEndpointWithHttpInfo(testWebhookEndpointRequest) {
|
|
1570
1863
|
return this.clients.messagingApi.testWebhookEndpointWithHttpInfo(testWebhookEndpointRequest);
|
|
1571
1864
|
}
|
|
1572
1865
|
/**
|
|
1573
1866
|
* Unlink rich menu from user
|
|
1867
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
1868
|
+
* To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUserWithHttpInfo}.
|
|
1574
1869
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1575
|
-
*
|
|
1576
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">
|
|
1870
|
+
* @returns A promise resolving to the response body.
|
|
1871
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
|
|
1577
1872
|
*/
|
|
1578
1873
|
async unlinkRichMenuIdFromUser(userId) {
|
|
1579
1874
|
return this.clients.messagingApi.unlinkRichMenuIdFromUser(userId);
|
|
1580
1875
|
}
|
|
1581
1876
|
/**
|
|
1582
|
-
* Unlink rich menu from user
|
|
1583
|
-
*
|
|
1877
|
+
* Unlink rich menu from user
|
|
1878
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
1879
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1584
1880
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1585
|
-
*
|
|
1586
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">
|
|
1881
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1882
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
|
|
1587
1883
|
*/
|
|
1588
1884
|
async unlinkRichMenuIdFromUserWithHttpInfo(userId) {
|
|
1589
1885
|
return this.clients.messagingApi.unlinkRichMenuIdFromUserWithHttpInfo(userId);
|
|
1590
1886
|
}
|
|
1591
1887
|
/**
|
|
1592
1888
|
* Unlink rich menus from multiple users
|
|
1889
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
|
|
1890
|
+
* To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUsersWithHttpInfo}.
|
|
1593
1891
|
* @param richMenuBulkUnlinkRequest
|
|
1594
|
-
*
|
|
1595
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">
|
|
1892
|
+
* @returns A promise resolving to the response body.
|
|
1893
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
|
|
1596
1894
|
*/
|
|
1597
1895
|
async unlinkRichMenuIdFromUsers(richMenuBulkUnlinkRequest) {
|
|
1598
1896
|
return this.clients.messagingApi.unlinkRichMenuIdFromUsers(richMenuBulkUnlinkRequest);
|
|
1599
1897
|
}
|
|
1600
1898
|
/**
|
|
1601
|
-
* Unlink rich menus from multiple users
|
|
1602
|
-
*
|
|
1899
|
+
* Unlink rich menus from multiple users
|
|
1900
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
|
|
1901
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1603
1902
|
* @param richMenuBulkUnlinkRequest
|
|
1604
|
-
*
|
|
1605
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">
|
|
1903
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1904
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
|
|
1606
1905
|
*/
|
|
1607
1906
|
async unlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest) {
|
|
1608
1907
|
return this.clients.messagingApi.unlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest);
|
|
1609
1908
|
}
|
|
1610
1909
|
/**
|
|
1611
1910
|
* Update rich menu alias
|
|
1911
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1912
|
+
* To inspect the HTTP status code or response headers, use {@link updateRichMenuAliasWithHttpInfo}.
|
|
1612
1913
|
* @param richMenuAliasId The rich menu alias ID you want to update.
|
|
1613
1914
|
* @param updateRichMenuAliasRequest
|
|
1614
|
-
*
|
|
1615
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">
|
|
1915
|
+
* @returns A promise resolving to the response body.
|
|
1916
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
|
|
1616
1917
|
*/
|
|
1617
1918
|
async updateRichMenuAlias(richMenuAliasId, updateRichMenuAliasRequest) {
|
|
1618
1919
|
return this.clients.messagingApi.updateRichMenuAlias(richMenuAliasId, updateRichMenuAliasRequest);
|
|
1619
1920
|
}
|
|
1620
1921
|
/**
|
|
1621
|
-
* Update rich menu alias
|
|
1622
|
-
*
|
|
1922
|
+
* Update rich menu alias
|
|
1923
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1924
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1623
1925
|
* @param richMenuAliasId The rich menu alias ID you want to update.
|
|
1624
1926
|
* @param updateRichMenuAliasRequest
|
|
1625
|
-
*
|
|
1626
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">
|
|
1927
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1928
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
|
|
1627
1929
|
*/
|
|
1628
1930
|
async updateRichMenuAliasWithHttpInfo(richMenuAliasId, updateRichMenuAliasRequest) {
|
|
1629
1931
|
return this.clients.messagingApi.updateRichMenuAliasWithHttpInfo(richMenuAliasId, updateRichMenuAliasRequest);
|
|
1630
1932
|
}
|
|
1631
1933
|
/**
|
|
1632
1934
|
* Validate message objects of a broadcast message
|
|
1935
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
|
|
1936
|
+
* To inspect the HTTP status code or response headers, use {@link validateBroadcastWithHttpInfo}.
|
|
1633
1937
|
* @param validateMessageRequest
|
|
1634
|
-
*
|
|
1635
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">
|
|
1938
|
+
* @returns A promise resolving to the response body.
|
|
1939
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
|
|
1636
1940
|
*/
|
|
1637
1941
|
async validateBroadcast(validateMessageRequest) {
|
|
1638
1942
|
return this.clients.messagingApi.validateBroadcast(validateMessageRequest);
|
|
1639
1943
|
}
|
|
1640
1944
|
/**
|
|
1641
|
-
* Validate message objects of a broadcast message
|
|
1642
|
-
*
|
|
1945
|
+
* Validate message objects of a broadcast message
|
|
1946
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
|
|
1947
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1643
1948
|
* @param validateMessageRequest
|
|
1644
|
-
*
|
|
1645
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">
|
|
1949
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1950
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
|
|
1646
1951
|
*/
|
|
1647
1952
|
async validateBroadcastWithHttpInfo(validateMessageRequest) {
|
|
1648
1953
|
return this.clients.messagingApi.validateBroadcastWithHttpInfo(validateMessageRequest);
|
|
1649
1954
|
}
|
|
1650
1955
|
/**
|
|
1651
1956
|
* Validate message objects of a multicast message
|
|
1957
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
|
|
1958
|
+
* To inspect the HTTP status code or response headers, use {@link validateMulticastWithHttpInfo}.
|
|
1652
1959
|
* @param validateMessageRequest
|
|
1653
|
-
*
|
|
1654
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">
|
|
1960
|
+
* @returns A promise resolving to the response body.
|
|
1961
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
|
|
1655
1962
|
*/
|
|
1656
1963
|
async validateMulticast(validateMessageRequest) {
|
|
1657
1964
|
return this.clients.messagingApi.validateMulticast(validateMessageRequest);
|
|
1658
1965
|
}
|
|
1659
1966
|
/**
|
|
1660
|
-
* Validate message objects of a multicast message
|
|
1661
|
-
*
|
|
1967
|
+
* Validate message objects of a multicast message
|
|
1968
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
|
|
1969
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1662
1970
|
* @param validateMessageRequest
|
|
1663
|
-
*
|
|
1664
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">
|
|
1971
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1972
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
|
|
1665
1973
|
*/
|
|
1666
1974
|
async validateMulticastWithHttpInfo(validateMessageRequest) {
|
|
1667
1975
|
return this.clients.messagingApi.validateMulticastWithHttpInfo(validateMessageRequest);
|
|
1668
1976
|
}
|
|
1669
1977
|
/**
|
|
1670
1978
|
* Validate message objects of a narrowcast message
|
|
1979
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
|
|
1980
|
+
* To inspect the HTTP status code or response headers, use {@link validateNarrowcastWithHttpInfo}.
|
|
1671
1981
|
* @param validateMessageRequest
|
|
1672
|
-
*
|
|
1673
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">
|
|
1982
|
+
* @returns A promise resolving to the response body.
|
|
1983
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
|
|
1674
1984
|
*/
|
|
1675
1985
|
async validateNarrowcast(validateMessageRequest) {
|
|
1676
1986
|
return this.clients.messagingApi.validateNarrowcast(validateMessageRequest);
|
|
1677
1987
|
}
|
|
1678
1988
|
/**
|
|
1679
|
-
* Validate message objects of a narrowcast message
|
|
1680
|
-
*
|
|
1989
|
+
* Validate message objects of a narrowcast message
|
|
1990
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
|
|
1991
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1681
1992
|
* @param validateMessageRequest
|
|
1682
|
-
*
|
|
1683
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">
|
|
1993
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1994
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
|
|
1684
1995
|
*/
|
|
1685
1996
|
async validateNarrowcastWithHttpInfo(validateMessageRequest) {
|
|
1686
1997
|
return this.clients.messagingApi.validateNarrowcastWithHttpInfo(validateMessageRequest);
|
|
1687
1998
|
}
|
|
1688
1999
|
/**
|
|
1689
2000
|
* Validate message objects of a push message
|
|
2001
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/push`.
|
|
2002
|
+
* To inspect the HTTP status code or response headers, use {@link validatePushWithHttpInfo}.
|
|
1690
2003
|
* @param validateMessageRequest
|
|
1691
|
-
*
|
|
1692
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">
|
|
2004
|
+
* @returns A promise resolving to the response body.
|
|
2005
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">LINE Developers documentation</a>
|
|
1693
2006
|
*/
|
|
1694
2007
|
async validatePush(validateMessageRequest) {
|
|
1695
2008
|
return this.clients.messagingApi.validatePush(validateMessageRequest);
|
|
1696
2009
|
}
|
|
1697
2010
|
/**
|
|
1698
|
-
* Validate message objects of a push message
|
|
1699
|
-
*
|
|
2011
|
+
* Validate message objects of a push message
|
|
2012
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/push`.
|
|
2013
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1700
2014
|
* @param validateMessageRequest
|
|
1701
|
-
*
|
|
1702
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">
|
|
2015
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2016
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">LINE Developers documentation</a>
|
|
1703
2017
|
*/
|
|
1704
2018
|
async validatePushWithHttpInfo(validateMessageRequest) {
|
|
1705
2019
|
return this.clients.messagingApi.validatePushWithHttpInfo(validateMessageRequest);
|
|
1706
2020
|
}
|
|
1707
2021
|
/**
|
|
1708
2022
|
* Validate message objects of a reply message
|
|
2023
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
|
|
2024
|
+
* To inspect the HTTP status code or response headers, use {@link validateReplyWithHttpInfo}.
|
|
1709
2025
|
* @param validateMessageRequest
|
|
1710
|
-
*
|
|
1711
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">
|
|
2026
|
+
* @returns A promise resolving to the response body.
|
|
2027
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
|
|
1712
2028
|
*/
|
|
1713
2029
|
async validateReply(validateMessageRequest) {
|
|
1714
2030
|
return this.clients.messagingApi.validateReply(validateMessageRequest);
|
|
1715
2031
|
}
|
|
1716
2032
|
/**
|
|
1717
|
-
* Validate message objects of a reply message
|
|
1718
|
-
*
|
|
2033
|
+
* Validate message objects of a reply message
|
|
2034
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
|
|
2035
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1719
2036
|
* @param validateMessageRequest
|
|
1720
|
-
*
|
|
1721
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">
|
|
2037
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2038
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
|
|
1722
2039
|
*/
|
|
1723
2040
|
async validateReplyWithHttpInfo(validateMessageRequest) {
|
|
1724
2041
|
return this.clients.messagingApi.validateReplyWithHttpInfo(validateMessageRequest);
|
|
1725
2042
|
}
|
|
1726
2043
|
/**
|
|
1727
2044
|
* Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
|
|
2045
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
|
|
2046
|
+
* To inspect the HTTP status code or response headers, use {@link validateRichMenuBatchRequestWithHttpInfo}.
|
|
1728
2047
|
* @param richMenuBatchRequest
|
|
1729
|
-
*
|
|
1730
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">
|
|
2048
|
+
* @returns A promise resolving to the response body.
|
|
2049
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
|
|
1731
2050
|
*/
|
|
1732
2051
|
async validateRichMenuBatchRequest(richMenuBatchRequest) {
|
|
1733
2052
|
return this.clients.messagingApi.validateRichMenuBatchRequest(richMenuBatchRequest);
|
|
1734
2053
|
}
|
|
1735
2054
|
/**
|
|
1736
|
-
* Validate a request body of the Replace or unlink the linked rich menus in batches endpoint
|
|
1737
|
-
*
|
|
2055
|
+
* Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
|
|
2056
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
|
|
2057
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1738
2058
|
* @param richMenuBatchRequest
|
|
1739
|
-
*
|
|
1740
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">
|
|
2059
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2060
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
|
|
1741
2061
|
*/
|
|
1742
2062
|
async validateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest) {
|
|
1743
2063
|
return this.clients.messagingApi.validateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest);
|
|
1744
2064
|
}
|
|
1745
2065
|
/**
|
|
1746
2066
|
* Validate rich menu object
|
|
2067
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
|
|
2068
|
+
* To inspect the HTTP status code or response headers, use {@link validateRichMenuObjectWithHttpInfo}.
|
|
1747
2069
|
* @param richMenuRequest
|
|
1748
|
-
*
|
|
1749
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">
|
|
2070
|
+
* @returns A promise resolving to the response body.
|
|
2071
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
|
|
1750
2072
|
*/
|
|
1751
2073
|
async validateRichMenuObject(richMenuRequest) {
|
|
1752
2074
|
return this.clients.messagingApi.validateRichMenuObject(richMenuRequest);
|
|
1753
2075
|
}
|
|
1754
2076
|
/**
|
|
1755
|
-
* Validate rich menu object
|
|
1756
|
-
*
|
|
2077
|
+
* Validate rich menu object
|
|
2078
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
|
|
2079
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1757
2080
|
* @param richMenuRequest
|
|
1758
|
-
*
|
|
1759
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">
|
|
2081
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2082
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
|
|
1760
2083
|
*/
|
|
1761
2084
|
async validateRichMenuObjectWithHttpInfo(richMenuRequest) {
|
|
1762
2085
|
return this.clients.messagingApi.validateRichMenuObjectWithHttpInfo(richMenuRequest);
|
|
1763
2086
|
}
|
|
1764
2087
|
/**
|
|
1765
2088
|
* Download image, video, and audio data sent from users.
|
|
2089
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content`.
|
|
2090
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageContentWithHttpInfo}.
|
|
1766
2091
|
* @param messageId Message ID of video or audio
|
|
1767
|
-
*
|
|
1768
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">
|
|
2092
|
+
* @returns A promise resolving to the response body.
|
|
2093
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">LINE Developers documentation</a>
|
|
1769
2094
|
*/
|
|
1770
2095
|
async getMessageContent(messageId) {
|
|
1771
2096
|
return this.clients.messagingApiBlob.getMessageContent(messageId);
|
|
1772
2097
|
}
|
|
1773
2098
|
/**
|
|
1774
|
-
* Download image, video, and audio data sent from users
|
|
1775
|
-
*
|
|
2099
|
+
* Download image, video, and audio data sent from users.
|
|
2100
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content`.
|
|
2101
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1776
2102
|
* @param messageId Message ID of video or audio
|
|
1777
|
-
*
|
|
1778
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">
|
|
2103
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2104
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">LINE Developers documentation</a>
|
|
1779
2105
|
*/
|
|
1780
2106
|
async getMessageContentWithHttpInfo(messageId) {
|
|
1781
2107
|
return this.clients.messagingApiBlob.getMessageContentWithHttpInfo(messageId);
|
|
1782
2108
|
}
|
|
1783
2109
|
/**
|
|
1784
2110
|
* Get a preview image of the image or video
|
|
2111
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/preview`.
|
|
2112
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageContentPreviewWithHttpInfo}.
|
|
1785
2113
|
* @param messageId Message ID of image or video
|
|
1786
|
-
*
|
|
1787
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">
|
|
2114
|
+
* @returns A promise resolving to the response body.
|
|
2115
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">LINE Developers documentation</a>
|
|
1788
2116
|
*/
|
|
1789
2117
|
async getMessageContentPreview(messageId) {
|
|
1790
2118
|
return this.clients.messagingApiBlob.getMessageContentPreview(messageId);
|
|
1791
2119
|
}
|
|
1792
2120
|
/**
|
|
1793
|
-
* Get a preview image of the image or video
|
|
1794
|
-
*
|
|
2121
|
+
* Get a preview image of the image or video
|
|
2122
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/preview`.
|
|
2123
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1795
2124
|
* @param messageId Message ID of image or video
|
|
1796
|
-
*
|
|
1797
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">
|
|
2125
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2126
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">LINE Developers documentation</a>
|
|
1798
2127
|
*/
|
|
1799
2128
|
async getMessageContentPreviewWithHttpInfo(messageId) {
|
|
1800
2129
|
return this.clients.messagingApiBlob.getMessageContentPreviewWithHttpInfo(messageId);
|
|
1801
2130
|
}
|
|
1802
2131
|
/**
|
|
1803
2132
|
* Verify the preparation status of a video or audio for getting
|
|
2133
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/transcoding`.
|
|
2134
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageContentTranscodingByMessageIdWithHttpInfo}.
|
|
1804
2135
|
* @param messageId Message ID of video or audio
|
|
1805
|
-
*
|
|
1806
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">
|
|
2136
|
+
* @returns A promise resolving to the response body.
|
|
2137
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">LINE Developers documentation</a>
|
|
1807
2138
|
*/
|
|
1808
2139
|
async getMessageContentTranscodingByMessageId(messageId) {
|
|
1809
2140
|
return this.clients.messagingApiBlob.getMessageContentTranscodingByMessageId(messageId);
|
|
1810
2141
|
}
|
|
1811
2142
|
/**
|
|
1812
|
-
* Verify the preparation status of a video or audio for getting
|
|
1813
|
-
*
|
|
2143
|
+
* Verify the preparation status of a video or audio for getting
|
|
2144
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/transcoding`.
|
|
2145
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1814
2146
|
* @param messageId Message ID of video or audio
|
|
1815
|
-
*
|
|
1816
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">
|
|
2147
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2148
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">LINE Developers documentation</a>
|
|
1817
2149
|
*/
|
|
1818
2150
|
async getMessageContentTranscodingByMessageIdWithHttpInfo(messageId) {
|
|
1819
2151
|
return this.clients.messagingApiBlob.getMessageContentTranscodingByMessageIdWithHttpInfo(messageId);
|
|
1820
2152
|
}
|
|
1821
2153
|
/**
|
|
1822
2154
|
* Download rich menu image.
|
|
2155
|
+
* Calls `GET https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
2156
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuImageWithHttpInfo}.
|
|
1823
2157
|
* @param richMenuId ID of the rich menu with the image to be downloaded
|
|
1824
|
-
*
|
|
1825
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">
|
|
2158
|
+
* @returns A promise resolving to the response body.
|
|
2159
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">LINE Developers documentation</a>
|
|
1826
2160
|
*/
|
|
1827
2161
|
async getRichMenuImage(richMenuId) {
|
|
1828
2162
|
return this.clients.messagingApiBlob.getRichMenuImage(richMenuId);
|
|
1829
2163
|
}
|
|
1830
2164
|
/**
|
|
1831
|
-
* Download rich menu image
|
|
1832
|
-
*
|
|
2165
|
+
* Download rich menu image.
|
|
2166
|
+
* Calls `GET https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
2167
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1833
2168
|
* @param richMenuId ID of the rich menu with the image to be downloaded
|
|
1834
|
-
*
|
|
1835
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">
|
|
2169
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2170
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">LINE Developers documentation</a>
|
|
1836
2171
|
*/
|
|
1837
2172
|
async getRichMenuImageWithHttpInfo(richMenuId) {
|
|
1838
2173
|
return this.clients.messagingApiBlob.getRichMenuImageWithHttpInfo(richMenuId);
|
|
1839
2174
|
}
|
|
1840
2175
|
/**
|
|
1841
2176
|
* Upload rich menu image
|
|
2177
|
+
* Calls `POST https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
2178
|
+
* To inspect the HTTP status code or response headers, use {@link setRichMenuImageWithHttpInfo}.
|
|
1842
2179
|
* @param richMenuId The ID of the rich menu to attach the image to
|
|
1843
2180
|
* @param body
|
|
1844
|
-
*
|
|
1845
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">
|
|
2181
|
+
* @returns A promise resolving to the response body.
|
|
2182
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">LINE Developers documentation</a>
|
|
1846
2183
|
*/
|
|
1847
2184
|
async setRichMenuImage(richMenuId, body) {
|
|
1848
2185
|
return this.clients.messagingApiBlob.setRichMenuImage(richMenuId, body);
|
|
1849
2186
|
}
|
|
1850
2187
|
/**
|
|
1851
|
-
* Upload rich menu image
|
|
1852
|
-
*
|
|
2188
|
+
* Upload rich menu image
|
|
2189
|
+
* Calls `POST https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
2190
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1853
2191
|
* @param richMenuId The ID of the rich menu to attach the image to
|
|
1854
2192
|
* @param body
|
|
1855
|
-
*
|
|
1856
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">
|
|
2193
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2194
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">LINE Developers documentation</a>
|
|
1857
2195
|
*/
|
|
1858
2196
|
async setRichMenuImageWithHttpInfo(richMenuId, body) {
|
|
1859
2197
|
return this.clients.messagingApiBlob.setRichMenuImageWithHttpInfo(richMenuId, body);
|
|
1860
2198
|
}
|
|
1861
2199
|
/**
|
|
1862
2200
|
* If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel.
|
|
2201
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/acquire`.
|
|
2202
|
+
* To inspect the HTTP status code or response headers, use {@link acquireChatControlWithHttpInfo}.
|
|
1863
2203
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
1864
2204
|
* @param acquireChatControlRequest
|
|
1865
|
-
*
|
|
1866
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">
|
|
2205
|
+
* @returns A promise resolving to the response body.
|
|
2206
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">LINE Developers documentation</a>
|
|
1867
2207
|
*/
|
|
1868
2208
|
async acquireChatControl(chatId, acquireChatControlRequest) {
|
|
1869
2209
|
return this.clients.lineModule.acquireChatControl(chatId, acquireChatControlRequest);
|
|
1870
2210
|
}
|
|
1871
2211
|
/**
|
|
1872
|
-
* If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel.
|
|
1873
|
-
*
|
|
2212
|
+
* If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel.
|
|
2213
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/acquire`.
|
|
2214
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1874
2215
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
1875
2216
|
* @param acquireChatControlRequest
|
|
1876
|
-
*
|
|
1877
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">
|
|
2217
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2218
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">LINE Developers documentation</a>
|
|
1878
2219
|
*/
|
|
1879
2220
|
async acquireChatControlWithHttpInfo(chatId, acquireChatControlRequest) {
|
|
1880
2221
|
return this.clients.lineModule.acquireChatControlWithHttpInfo(chatId, acquireChatControlRequest);
|
|
1881
2222
|
}
|
|
1882
2223
|
/**
|
|
1883
2224
|
* The module channel admin calls the Detach API to detach the module channel from a LINE Official Account.
|
|
2225
|
+
* Calls `POST https://api.line.me/v2/bot/channel/detach`.
|
|
2226
|
+
* To inspect the HTTP status code or response headers, use {@link detachModuleWithHttpInfo}.
|
|
1884
2227
|
* @param detachModuleRequest
|
|
1885
|
-
*
|
|
1886
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">
|
|
2228
|
+
* @returns A promise resolving to the response body.
|
|
2229
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">LINE Developers documentation</a>
|
|
1887
2230
|
*/
|
|
1888
2231
|
async detachModule(detachModuleRequest) {
|
|
1889
2232
|
return this.clients.lineModule.detachModule(detachModuleRequest);
|
|
1890
2233
|
}
|
|
1891
2234
|
/**
|
|
1892
|
-
* The module channel admin calls the Detach API to detach the module channel from a LINE Official Account
|
|
1893
|
-
*
|
|
2235
|
+
* The module channel admin calls the Detach API to detach the module channel from a LINE Official Account.
|
|
2236
|
+
* Calls `POST https://api.line.me/v2/bot/channel/detach`.
|
|
2237
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1894
2238
|
* @param detachModuleRequest
|
|
1895
|
-
*
|
|
1896
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">
|
|
2239
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2240
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">LINE Developers documentation</a>
|
|
1897
2241
|
*/
|
|
1898
2242
|
async detachModuleWithHttpInfo(detachModuleRequest) {
|
|
1899
2243
|
return this.clients.lineModule.detachModuleWithHttpInfo(detachModuleRequest);
|
|
1900
2244
|
}
|
|
1901
2245
|
/**
|
|
1902
2246
|
* Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels.
|
|
2247
|
+
* Calls `GET https://api.line.me/v2/bot/list`.
|
|
2248
|
+
* To inspect the HTTP status code or response headers, use {@link getModulesWithHttpInfo}.
|
|
1903
2249
|
* @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 basic information about the bots in one request, include this parameter to get the remaining array.
|
|
1904
2250
|
* @param limit Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100
|
|
1905
|
-
*
|
|
1906
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">
|
|
2251
|
+
* @returns A promise resolving to the response body.
|
|
2252
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">LINE Developers documentation</a>
|
|
1907
2253
|
*/
|
|
1908
2254
|
async getModules(start, limit) {
|
|
1909
2255
|
return this.clients.lineModule.getModules(start, limit);
|
|
1910
2256
|
}
|
|
1911
2257
|
/**
|
|
1912
|
-
* Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels
|
|
1913
|
-
*
|
|
2258
|
+
* Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels.
|
|
2259
|
+
* Calls `GET https://api.line.me/v2/bot/list`.
|
|
2260
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1914
2261
|
* @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 basic information about the bots in one request, include this parameter to get the remaining array.
|
|
1915
2262
|
* @param limit Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100
|
|
1916
|
-
*
|
|
1917
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">
|
|
2263
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2264
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">LINE Developers documentation</a>
|
|
1918
2265
|
*/
|
|
1919
2266
|
async getModulesWithHttpInfo(start, limit) {
|
|
1920
2267
|
return this.clients.lineModule.getModulesWithHttpInfo(start, limit);
|
|
1921
2268
|
}
|
|
1922
2269
|
/**
|
|
1923
2270
|
* To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.
|
|
2271
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/release`.
|
|
2272
|
+
* To inspect the HTTP status code or response headers, use {@link releaseChatControlWithHttpInfo}.
|
|
1924
2273
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
1925
|
-
*
|
|
1926
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">
|
|
2274
|
+
* @returns A promise resolving to the response body.
|
|
2275
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">LINE Developers documentation</a>
|
|
1927
2276
|
*/
|
|
1928
2277
|
async releaseChatControl(chatId) {
|
|
1929
2278
|
return this.clients.lineModule.releaseChatControl(chatId);
|
|
1930
2279
|
}
|
|
1931
2280
|
/**
|
|
1932
|
-
* To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.
|
|
1933
|
-
*
|
|
2281
|
+
* To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.
|
|
2282
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/release`.
|
|
2283
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1934
2284
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
1935
|
-
*
|
|
1936
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">
|
|
2285
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2286
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">LINE Developers documentation</a>
|
|
1937
2287
|
*/
|
|
1938
2288
|
async releaseChatControlWithHttpInfo(chatId) {
|
|
1939
2289
|
return this.clients.lineModule.releaseChatControlWithHttpInfo(chatId);
|
|
1940
2290
|
}
|
|
1941
2291
|
/**
|
|
1942
2292
|
* Attach by operation of the module channel provider
|
|
2293
|
+
* Calls `POST https://manager.line.biz/module/auth/v1/token`.
|
|
2294
|
+
* To inspect the HTTP status code or response headers, use {@link attachModuleWithHttpInfo}.
|
|
1943
2295
|
* @param grantType authorization_code
|
|
1944
2296
|
* @param code Authorization code received from the LINE Platform.
|
|
1945
2297
|
* @param redirectUri Specify the redirect_uri specified in the URL for authentication and authorization.
|
|
@@ -1950,15 +2302,16 @@ class LineBotClientBase {
|
|
|
1950
2302
|
* @param basicSearchId If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.
|
|
1951
2303
|
* @param scope If you specified a value for scope in the URL for authentication and authorization, specify the same value.
|
|
1952
2304
|
* @param brandType If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.
|
|
1953
|
-
*
|
|
1954
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">
|
|
2305
|
+
* @returns A promise resolving to the response body.
|
|
2306
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">LINE Developers documentation</a>
|
|
1955
2307
|
*/
|
|
1956
2308
|
async attachModule(grantType, code, redirectUri, codeVerifier, clientId, clientSecret, region, basicSearchId, scope, brandType) {
|
|
1957
2309
|
return this.clients.lineModuleAttach.attachModule(grantType, code, redirectUri, codeVerifier, clientId, clientSecret, region, basicSearchId, scope, brandType);
|
|
1958
2310
|
}
|
|
1959
2311
|
/**
|
|
1960
|
-
* Attach by operation of the module channel provider
|
|
1961
|
-
*
|
|
2312
|
+
* Attach by operation of the module channel provider
|
|
2313
|
+
* Calls `POST https://manager.line.biz/module/auth/v1/token`.
|
|
2314
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1962
2315
|
* @param grantType authorization_code
|
|
1963
2316
|
* @param code Authorization code received from the LINE Platform.
|
|
1964
2317
|
* @param redirectUri Specify the redirect_uri specified in the URL for authentication and authorization.
|
|
@@ -1969,27 +2322,30 @@ class LineBotClientBase {
|
|
|
1969
2322
|
* @param basicSearchId If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.
|
|
1970
2323
|
* @param scope If you specified a value for scope in the URL for authentication and authorization, specify the same value.
|
|
1971
2324
|
* @param brandType If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.
|
|
1972
|
-
*
|
|
1973
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">
|
|
2325
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2326
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">LINE Developers documentation</a>
|
|
1974
2327
|
*/
|
|
1975
2328
|
async attachModuleWithHttpInfo(grantType, code, redirectUri, codeVerifier, clientId, clientSecret, region, basicSearchId, scope, brandType) {
|
|
1976
2329
|
return this.clients.lineModuleAttach.attachModuleWithHttpInfo(grantType, code, redirectUri, codeVerifier, clientId, clientSecret, region, basicSearchId, scope, brandType);
|
|
1977
2330
|
}
|
|
1978
2331
|
/**
|
|
1979
2332
|
* Sends a mission sticker.
|
|
2333
|
+
* Calls `POST https://api.line.me/shop/v3/mission`.
|
|
2334
|
+
* To inspect the HTTP status code or response headers, use {@link missionStickerV3WithHttpInfo}.
|
|
1980
2335
|
* @param missionStickerRequest
|
|
1981
|
-
*
|
|
1982
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">
|
|
2336
|
+
* @returns A promise resolving to the response body.
|
|
2337
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">LINE Developers documentation</a>
|
|
1983
2338
|
*/
|
|
1984
2339
|
async missionStickerV3(missionStickerRequest) {
|
|
1985
2340
|
return this.clients.shop.missionStickerV3(missionStickerRequest);
|
|
1986
2341
|
}
|
|
1987
2342
|
/**
|
|
1988
|
-
* Sends a mission sticker
|
|
1989
|
-
*
|
|
2343
|
+
* Sends a mission sticker.
|
|
2344
|
+
* Calls `POST https://api.line.me/shop/v3/mission`.
|
|
2345
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1990
2346
|
* @param missionStickerRequest
|
|
1991
|
-
*
|
|
1992
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">
|
|
2347
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2348
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">LINE Developers documentation</a>
|
|
1993
2349
|
*/
|
|
1994
2350
|
async missionStickerV3WithHttpInfo(missionStickerRequest) {
|
|
1995
2351
|
return this.clients.shop.missionStickerV3WithHttpInfo(missionStickerRequest);
|