@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
|
@@ -40,18 +40,21 @@ export abstract class LineBotClientBase {
|
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* 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).
|
|
43
|
-
*
|
|
44
|
-
* @
|
|
43
|
+
* Calls `GET https://api.line.me/v2/bot/insight/demographic`.
|
|
44
|
+
* To inspect the HTTP status code or response headers, use {@link getFriendsDemographicsWithHttpInfo}.
|
|
45
|
+
* @returns A promise resolving to the response body.
|
|
46
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-demographic">LINE Developers documentation</a>
|
|
45
47
|
*/
|
|
46
48
|
public async getFriendsDemographics(): Promise<insight.GetFriendsDemographicsResponse> {
|
|
47
49
|
return this.clients.insight.getFriendsDemographics();
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
/**
|
|
51
|
-
* 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).
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* @
|
|
53
|
+
* 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).
|
|
54
|
+
* Calls `GET https://api.line.me/v2/bot/insight/demographic`.
|
|
55
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
56
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
57
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-demographic">LINE Developers documentation</a>
|
|
55
58
|
*/
|
|
56
59
|
public async getFriendsDemographicsWithHttpInfo(): Promise<
|
|
57
60
|
Types.ApiResponseType<insight.GetFriendsDemographicsResponse>
|
|
@@ -61,10 +64,12 @@ export abstract class LineBotClientBase {
|
|
|
61
64
|
|
|
62
65
|
/**
|
|
63
66
|
* Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.
|
|
67
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event`.
|
|
68
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageEventWithHttpInfo}.
|
|
64
69
|
* @summary Get user interaction statistics
|
|
65
70
|
* @param requestId Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID.
|
|
66
|
-
*
|
|
67
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">
|
|
71
|
+
* @returns A promise resolving to the response body.
|
|
72
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">LINE Developers documentation</a>
|
|
68
73
|
*/
|
|
69
74
|
public async getMessageEvent(
|
|
70
75
|
requestId: string,
|
|
@@ -73,12 +78,13 @@ export abstract class LineBotClientBase {
|
|
|
73
78
|
}
|
|
74
79
|
|
|
75
80
|
/**
|
|
76
|
-
* Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.
|
|
77
|
-
*
|
|
81
|
+
* Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.
|
|
82
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event`.
|
|
83
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
78
84
|
* @summary Get user interaction statistics
|
|
79
85
|
* @param requestId Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID.
|
|
80
|
-
*
|
|
81
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">
|
|
86
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
87
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-message-event">LINE Developers documentation</a>
|
|
82
88
|
*/
|
|
83
89
|
public async getMessageEventWithHttpInfo(
|
|
84
90
|
requestId: string,
|
|
@@ -88,10 +94,12 @@ export abstract class LineBotClientBase {
|
|
|
88
94
|
|
|
89
95
|
/**
|
|
90
96
|
* Returns the number of users who have added the LINE Official Account on or before a specified date.
|
|
97
|
+
* Calls `GET https://api.line.me/v2/bot/insight/followers`.
|
|
98
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfFollowersWithHttpInfo}.
|
|
91
99
|
* @summary Get number of followers
|
|
92
100
|
* @param date Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
93
|
-
*
|
|
94
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">
|
|
101
|
+
* @returns A promise resolving to the response body.
|
|
102
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">LINE Developers documentation</a>
|
|
95
103
|
*/
|
|
96
104
|
public async getNumberOfFollowers(
|
|
97
105
|
date?: string,
|
|
@@ -100,12 +108,13 @@ export abstract class LineBotClientBase {
|
|
|
100
108
|
}
|
|
101
109
|
|
|
102
110
|
/**
|
|
103
|
-
* Returns the number of users who have added the LINE Official Account on or before a specified date.
|
|
104
|
-
*
|
|
111
|
+
* Returns the number of users who have added the LINE Official Account on or before a specified date.
|
|
112
|
+
* Calls `GET https://api.line.me/v2/bot/insight/followers`.
|
|
113
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
105
114
|
* @summary Get number of followers
|
|
106
115
|
* @param date Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
107
|
-
*
|
|
108
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">
|
|
116
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
117
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers">LINE Developers documentation</a>
|
|
109
118
|
*/
|
|
110
119
|
public async getNumberOfFollowersWithHttpInfo(
|
|
111
120
|
date?: string,
|
|
@@ -115,10 +124,12 @@ export abstract class LineBotClientBase {
|
|
|
115
124
|
|
|
116
125
|
/**
|
|
117
126
|
* Returns the number of messages sent from LINE Official Account on a specified day.
|
|
127
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/delivery`.
|
|
128
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfMessageDeliveriesWithHttpInfo}.
|
|
118
129
|
* @summary Get number of message deliveries
|
|
119
130
|
* @param date Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9
|
|
120
|
-
*
|
|
121
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">
|
|
131
|
+
* @returns A promise resolving to the response body.
|
|
132
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">LINE Developers documentation</a>
|
|
122
133
|
*/
|
|
123
134
|
public async getNumberOfMessageDeliveries(
|
|
124
135
|
date: string,
|
|
@@ -127,12 +138,13 @@ export abstract class LineBotClientBase {
|
|
|
127
138
|
}
|
|
128
139
|
|
|
129
140
|
/**
|
|
130
|
-
* Returns the number of messages sent from LINE Official Account on a specified day.
|
|
131
|
-
*
|
|
141
|
+
* Returns the number of messages sent from LINE Official Account on a specified day.
|
|
142
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/delivery`.
|
|
143
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
132
144
|
* @summary Get number of message deliveries
|
|
133
145
|
* @param date Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9
|
|
134
|
-
*
|
|
135
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">
|
|
146
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
147
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages">LINE Developers documentation</a>
|
|
136
148
|
*/
|
|
137
149
|
public async getNumberOfMessageDeliveriesWithHttpInfo(
|
|
138
150
|
date: string,
|
|
@@ -142,13 +154,99 @@ export abstract class LineBotClientBase {
|
|
|
142
154
|
return this.clients.insight.getNumberOfMessageDeliveriesWithHttpInfo(date);
|
|
143
155
|
}
|
|
144
156
|
|
|
157
|
+
/**
|
|
158
|
+
* 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.
|
|
159
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/daily`.
|
|
160
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuInsightDailyWithHttpInfo}.
|
|
161
|
+
* @summary Get rich menu insight daily
|
|
162
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
163
|
+
* @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
|
|
164
|
+
* @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
|
|
165
|
+
* @returns A promise resolving to the response body.
|
|
166
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-daily">LINE Developers documentation</a>
|
|
167
|
+
*/
|
|
168
|
+
public async getRichMenuInsightDaily(
|
|
169
|
+
richMenuId: string,
|
|
170
|
+
from: string,
|
|
171
|
+
to: string,
|
|
172
|
+
): Promise<insight.GetRichMenuInsightDailyResponse> {
|
|
173
|
+
return this.clients.insight.getRichMenuInsightDaily(richMenuId, from, to);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* 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.
|
|
178
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/daily`.
|
|
179
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
180
|
+
* @summary Get rich menu insight daily
|
|
181
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
182
|
+
* @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
|
|
183
|
+
* @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
|
|
184
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
185
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-daily">LINE Developers documentation</a>
|
|
186
|
+
*/
|
|
187
|
+
public async getRichMenuInsightDailyWithHttpInfo(
|
|
188
|
+
richMenuId: string,
|
|
189
|
+
from: string,
|
|
190
|
+
to: string,
|
|
191
|
+
): Promise<Types.ApiResponseType<insight.GetRichMenuInsightDailyResponse>> {
|
|
192
|
+
return this.clients.insight.getRichMenuInsightDailyWithHttpInfo(
|
|
193
|
+
richMenuId,
|
|
194
|
+
from,
|
|
195
|
+
to,
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* 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.
|
|
201
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/summary`.
|
|
202
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuInsightSummaryWithHttpInfo}.
|
|
203
|
+
* @summary Get rich menu insight summary
|
|
204
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
205
|
+
* @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
|
|
206
|
+
* @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
|
|
207
|
+
* @returns A promise resolving to the response body.
|
|
208
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-summary">LINE Developers documentation</a>
|
|
209
|
+
*/
|
|
210
|
+
public async getRichMenuInsightSummary(
|
|
211
|
+
richMenuId: string,
|
|
212
|
+
from: string,
|
|
213
|
+
to: string,
|
|
214
|
+
): Promise<insight.GetRichMenuInsightSummaryResponse> {
|
|
215
|
+
return this.clients.insight.getRichMenuInsightSummary(richMenuId, from, to);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* 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.
|
|
220
|
+
* Calls `GET https://api.line.me/v2/bot/insight/richmenu/{richMenuId}/summary`.
|
|
221
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
222
|
+
* @summary Get rich menu insight summary
|
|
223
|
+
* @param richMenuId ID of the rich menu created via the Messaging API.
|
|
224
|
+
* @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
|
|
225
|
+
* @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
|
|
226
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
227
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-insight-summary">LINE Developers documentation</a>
|
|
228
|
+
*/
|
|
229
|
+
public async getRichMenuInsightSummaryWithHttpInfo(
|
|
230
|
+
richMenuId: string,
|
|
231
|
+
from: string,
|
|
232
|
+
to: string,
|
|
233
|
+
): Promise<Types.ApiResponseType<insight.GetRichMenuInsightSummaryResponse>> {
|
|
234
|
+
return this.clients.insight.getRichMenuInsightSummaryWithHttpInfo(
|
|
235
|
+
richMenuId,
|
|
236
|
+
from,
|
|
237
|
+
to,
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
|
|
145
241
|
/**
|
|
146
242
|
* You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account.
|
|
243
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event/aggregation`.
|
|
244
|
+
* To inspect the HTTP status code or response headers, use {@link getStatisticsPerUnitWithHttpInfo}.
|
|
147
245
|
* @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.
|
|
148
246
|
* @param from Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9
|
|
149
247
|
* @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
|
|
150
|
-
*
|
|
151
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">
|
|
248
|
+
* @returns A promise resolving to the response body.
|
|
249
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">LINE Developers documentation</a>
|
|
152
250
|
*/
|
|
153
251
|
public async getStatisticsPerUnit(
|
|
154
252
|
customAggregationUnit: string,
|
|
@@ -163,13 +261,14 @@ export abstract class LineBotClientBase {
|
|
|
163
261
|
}
|
|
164
262
|
|
|
165
263
|
/**
|
|
166
|
-
* You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account.
|
|
167
|
-
*
|
|
264
|
+
* You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account.
|
|
265
|
+
* Calls `GET https://api.line.me/v2/bot/insight/message/event/aggregation`.
|
|
266
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
168
267
|
* @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.
|
|
169
268
|
* @param from Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9
|
|
170
269
|
* @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
|
|
171
|
-
*
|
|
172
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">
|
|
270
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
271
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit">LINE Developers documentation</a>
|
|
173
272
|
*/
|
|
174
273
|
public async getStatisticsPerUnitWithHttpInfo(
|
|
175
274
|
customAggregationUnit: string,
|
|
@@ -185,10 +284,12 @@ export abstract class LineBotClientBase {
|
|
|
185
284
|
|
|
186
285
|
/**
|
|
187
286
|
* Adding the LIFF app to a channel
|
|
287
|
+
* Calls `POST https://api.line.me/liff/v1/apps`.
|
|
288
|
+
* To inspect the HTTP status code or response headers, use {@link addLIFFAppWithHttpInfo}.
|
|
188
289
|
* @summary Create LIFF app
|
|
189
290
|
* @param addLiffAppRequest
|
|
190
|
-
*
|
|
191
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">
|
|
291
|
+
* @returns A promise resolving to the response body.
|
|
292
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">LINE Developers documentation</a>
|
|
192
293
|
*/
|
|
193
294
|
public async addLIFFApp(
|
|
194
295
|
addLiffAppRequest: liff.AddLiffAppRequest,
|
|
@@ -197,12 +298,13 @@ export abstract class LineBotClientBase {
|
|
|
197
298
|
}
|
|
198
299
|
|
|
199
300
|
/**
|
|
200
|
-
* Adding the LIFF app to a channel
|
|
201
|
-
*
|
|
301
|
+
* Adding the LIFF app to a channel
|
|
302
|
+
* Calls `POST https://api.line.me/liff/v1/apps`.
|
|
303
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
202
304
|
* @summary Create LIFF app
|
|
203
305
|
* @param addLiffAppRequest
|
|
204
|
-
*
|
|
205
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">
|
|
306
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
307
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">LINE Developers documentation</a>
|
|
206
308
|
*/
|
|
207
309
|
public async addLIFFAppWithHttpInfo(
|
|
208
310
|
addLiffAppRequest: liff.AddLiffAppRequest,
|
|
@@ -212,10 +314,12 @@ export abstract class LineBotClientBase {
|
|
|
212
314
|
|
|
213
315
|
/**
|
|
214
316
|
* Deletes a LIFF app from a channel.
|
|
317
|
+
* Calls `DELETE https://api.line.me/liff/v1/apps/{liffId}`.
|
|
318
|
+
* To inspect the HTTP status code or response headers, use {@link deleteLIFFAppWithHttpInfo}.
|
|
215
319
|
* @summary Delete LIFF app from a channel
|
|
216
320
|
* @param liffId ID of the LIFF app to be updated
|
|
217
|
-
*
|
|
218
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">
|
|
321
|
+
* @returns A promise resolving to the response body.
|
|
322
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">LINE Developers documentation</a>
|
|
219
323
|
*/
|
|
220
324
|
public async deleteLIFFApp(
|
|
221
325
|
liffId: string,
|
|
@@ -224,12 +328,13 @@ export abstract class LineBotClientBase {
|
|
|
224
328
|
}
|
|
225
329
|
|
|
226
330
|
/**
|
|
227
|
-
* Deletes a LIFF app from a channel.
|
|
228
|
-
*
|
|
331
|
+
* Deletes a LIFF app from a channel.
|
|
332
|
+
* Calls `DELETE https://api.line.me/liff/v1/apps/{liffId}`.
|
|
333
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
229
334
|
* @summary Delete LIFF app from a channel
|
|
230
335
|
* @param liffId ID of the LIFF app to be updated
|
|
231
|
-
*
|
|
232
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">
|
|
336
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
337
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">LINE Developers documentation</a>
|
|
233
338
|
*/
|
|
234
339
|
public async deleteLIFFAppWithHttpInfo(
|
|
235
340
|
liffId: string,
|
|
@@ -239,20 +344,23 @@ export abstract class LineBotClientBase {
|
|
|
239
344
|
|
|
240
345
|
/**
|
|
241
346
|
* Gets information on all the LIFF apps added to the channel.
|
|
347
|
+
* Calls `GET https://api.line.me/liff/v1/apps`.
|
|
348
|
+
* To inspect the HTTP status code or response headers, use {@link getAllLIFFAppsWithHttpInfo}.
|
|
242
349
|
* @summary Get all LIFF apps
|
|
243
|
-
*
|
|
244
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">
|
|
350
|
+
* @returns A promise resolving to the response body.
|
|
351
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">LINE Developers documentation</a>
|
|
245
352
|
*/
|
|
246
353
|
public async getAllLIFFApps(): Promise<liff.GetAllLiffAppsResponse> {
|
|
247
354
|
return this.clients.liff.getAllLIFFApps();
|
|
248
355
|
}
|
|
249
356
|
|
|
250
357
|
/**
|
|
251
|
-
* Gets information on all the LIFF apps added to the channel
|
|
252
|
-
*
|
|
358
|
+
* Gets information on all the LIFF apps added to the channel.
|
|
359
|
+
* Calls `GET https://api.line.me/liff/v1/apps`.
|
|
360
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
253
361
|
* @summary Get all LIFF apps
|
|
254
|
-
*
|
|
255
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">
|
|
362
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
363
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">LINE Developers documentation</a>
|
|
256
364
|
*/
|
|
257
365
|
public async getAllLIFFAppsWithHttpInfo(): Promise<
|
|
258
366
|
Types.ApiResponseType<liff.GetAllLiffAppsResponse>
|
|
@@ -262,11 +370,13 @@ export abstract class LineBotClientBase {
|
|
|
262
370
|
|
|
263
371
|
/**
|
|
264
372
|
* Update LIFF app settings
|
|
373
|
+
* Calls `PUT https://api.line.me/liff/v1/apps/{liffId}`.
|
|
374
|
+
* To inspect the HTTP status code or response headers, use {@link updateLIFFAppWithHttpInfo}.
|
|
265
375
|
* @summary Update LIFF app from a channel
|
|
266
376
|
* @param liffId ID of the LIFF app to be updated
|
|
267
377
|
* @param updateLiffAppRequest
|
|
268
|
-
*
|
|
269
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">
|
|
378
|
+
* @returns A promise resolving to the response body.
|
|
379
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">LINE Developers documentation</a>
|
|
270
380
|
*/
|
|
271
381
|
public async updateLIFFApp(
|
|
272
382
|
liffId: string,
|
|
@@ -276,13 +386,14 @@ export abstract class LineBotClientBase {
|
|
|
276
386
|
}
|
|
277
387
|
|
|
278
388
|
/**
|
|
279
|
-
* Update LIFF app settings
|
|
280
|
-
*
|
|
389
|
+
* Update LIFF app settings
|
|
390
|
+
* Calls `PUT https://api.line.me/liff/v1/apps/{liffId}`.
|
|
391
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
281
392
|
* @summary Update LIFF app from a channel
|
|
282
393
|
* @param liffId ID of the LIFF app to be updated
|
|
283
394
|
* @param updateLiffAppRequest
|
|
284
|
-
*
|
|
285
|
-
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">
|
|
395
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
396
|
+
* @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">LINE Developers documentation</a>
|
|
286
397
|
*/
|
|
287
398
|
public async updateLIFFAppWithHttpInfo(
|
|
288
399
|
liffId: string,
|
|
@@ -296,9 +407,11 @@ export abstract class LineBotClientBase {
|
|
|
296
407
|
|
|
297
408
|
/**
|
|
298
409
|
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
|
|
410
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
411
|
+
* To inspect the HTTP status code or response headers, use {@link addAudienceToAudienceGroupWithHttpInfo}.
|
|
299
412
|
* @param addAudienceToAudienceGroupRequest
|
|
300
|
-
*
|
|
301
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">
|
|
413
|
+
* @returns A promise resolving to the response body.
|
|
414
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">LINE Developers documentation</a>
|
|
302
415
|
*/
|
|
303
416
|
public async addAudienceToAudienceGroup(
|
|
304
417
|
addAudienceToAudienceGroupRequest: manageAudience.AddAudienceToAudienceGroupRequest,
|
|
@@ -309,11 +422,12 @@ export abstract class LineBotClientBase {
|
|
|
309
422
|
}
|
|
310
423
|
|
|
311
424
|
/**
|
|
312
|
-
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
|
|
313
|
-
*
|
|
425
|
+
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
|
|
426
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
427
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
314
428
|
* @param addAudienceToAudienceGroupRequest
|
|
315
|
-
*
|
|
316
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">
|
|
429
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
430
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group">LINE Developers documentation</a>
|
|
317
431
|
*/
|
|
318
432
|
public async addAudienceToAudienceGroupWithHttpInfo(
|
|
319
433
|
addAudienceToAudienceGroupRequest: manageAudience.AddAudienceToAudienceGroupRequest,
|
|
@@ -325,9 +439,11 @@ export abstract class LineBotClientBase {
|
|
|
325
439
|
|
|
326
440
|
/**
|
|
327
441
|
* Create audience for uploading user IDs (by JSON)
|
|
442
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
443
|
+
* To inspect the HTTP status code or response headers, use {@link createAudienceGroupWithHttpInfo}.
|
|
328
444
|
* @param createAudienceGroupRequest
|
|
329
|
-
*
|
|
330
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">
|
|
445
|
+
* @returns A promise resolving to the response body.
|
|
446
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">LINE Developers documentation</a>
|
|
331
447
|
*/
|
|
332
448
|
public async createAudienceGroup(
|
|
333
449
|
createAudienceGroupRequest: manageAudience.CreateAudienceGroupRequest,
|
|
@@ -338,11 +454,12 @@ export abstract class LineBotClientBase {
|
|
|
338
454
|
}
|
|
339
455
|
|
|
340
456
|
/**
|
|
341
|
-
* Create audience for uploading user IDs (by JSON)
|
|
342
|
-
*
|
|
457
|
+
* Create audience for uploading user IDs (by JSON)
|
|
458
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/upload`.
|
|
459
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
343
460
|
* @param createAudienceGroupRequest
|
|
344
|
-
*
|
|
345
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">
|
|
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/#create-upload-audience-group">LINE Developers documentation</a>
|
|
346
463
|
*/
|
|
347
464
|
public async createAudienceGroupWithHttpInfo(
|
|
348
465
|
createAudienceGroupRequest: manageAudience.CreateAudienceGroupRequest,
|
|
@@ -356,9 +473,11 @@ export abstract class LineBotClientBase {
|
|
|
356
473
|
|
|
357
474
|
/**
|
|
358
475
|
* Create audience for click-based retargeting
|
|
476
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/click`.
|
|
477
|
+
* To inspect the HTTP status code or response headers, use {@link createClickBasedAudienceGroupWithHttpInfo}.
|
|
359
478
|
* @param createClickBasedAudienceGroupRequest
|
|
360
|
-
*
|
|
361
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">
|
|
479
|
+
* @returns A promise resolving to the response body.
|
|
480
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">LINE Developers documentation</a>
|
|
362
481
|
*/
|
|
363
482
|
public async createClickBasedAudienceGroup(
|
|
364
483
|
createClickBasedAudienceGroupRequest: manageAudience.CreateClickBasedAudienceGroupRequest,
|
|
@@ -369,11 +488,12 @@ export abstract class LineBotClientBase {
|
|
|
369
488
|
}
|
|
370
489
|
|
|
371
490
|
/**
|
|
372
|
-
* Create audience for click-based retargeting
|
|
373
|
-
*
|
|
491
|
+
* Create audience for click-based retargeting
|
|
492
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/click`.
|
|
493
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
374
494
|
* @param createClickBasedAudienceGroupRequest
|
|
375
|
-
*
|
|
376
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">
|
|
495
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
496
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group">LINE Developers documentation</a>
|
|
377
497
|
*/
|
|
378
498
|
public async createClickBasedAudienceGroupWithHttpInfo(
|
|
379
499
|
createClickBasedAudienceGroupRequest: manageAudience.CreateClickBasedAudienceGroupRequest,
|
|
@@ -387,9 +507,11 @@ export abstract class LineBotClientBase {
|
|
|
387
507
|
|
|
388
508
|
/**
|
|
389
509
|
* Create audience for impression-based retargeting
|
|
510
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/imp`.
|
|
511
|
+
* To inspect the HTTP status code or response headers, use {@link createImpBasedAudienceGroupWithHttpInfo}.
|
|
390
512
|
* @param createImpBasedAudienceGroupRequest
|
|
391
|
-
*
|
|
392
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">
|
|
513
|
+
* @returns A promise resolving to the response body.
|
|
514
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">LINE Developers documentation</a>
|
|
393
515
|
*/
|
|
394
516
|
public async createImpBasedAudienceGroup(
|
|
395
517
|
createImpBasedAudienceGroupRequest: manageAudience.CreateImpBasedAudienceGroupRequest,
|
|
@@ -400,11 +522,12 @@ export abstract class LineBotClientBase {
|
|
|
400
522
|
}
|
|
401
523
|
|
|
402
524
|
/**
|
|
403
|
-
* Create audience for impression-based retargeting
|
|
404
|
-
*
|
|
525
|
+
* Create audience for impression-based retargeting
|
|
526
|
+
* Calls `POST https://api.line.me/v2/bot/audienceGroup/imp`.
|
|
527
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
405
528
|
* @param createImpBasedAudienceGroupRequest
|
|
406
|
-
*
|
|
407
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">
|
|
529
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
530
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group">LINE Developers documentation</a>
|
|
408
531
|
*/
|
|
409
532
|
public async createImpBasedAudienceGroupWithHttpInfo(
|
|
410
533
|
createImpBasedAudienceGroupRequest: manageAudience.CreateImpBasedAudienceGroupRequest,
|
|
@@ -418,9 +541,11 @@ export abstract class LineBotClientBase {
|
|
|
418
541
|
|
|
419
542
|
/**
|
|
420
543
|
* Delete audience
|
|
544
|
+
* Calls `DELETE https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
545
|
+
* To inspect the HTTP status code or response headers, use {@link deleteAudienceGroupWithHttpInfo}.
|
|
421
546
|
* @param audienceGroupId The audience ID.
|
|
422
|
-
*
|
|
423
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">
|
|
547
|
+
* @returns A promise resolving to the response body.
|
|
548
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">LINE Developers documentation</a>
|
|
424
549
|
*/
|
|
425
550
|
public async deleteAudienceGroup(
|
|
426
551
|
audienceGroupId: number,
|
|
@@ -429,11 +554,12 @@ export abstract class LineBotClientBase {
|
|
|
429
554
|
}
|
|
430
555
|
|
|
431
556
|
/**
|
|
432
|
-
* Delete audience
|
|
433
|
-
*
|
|
557
|
+
* Delete audience
|
|
558
|
+
* Calls `DELETE https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
559
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
434
560
|
* @param audienceGroupId The audience ID.
|
|
435
|
-
*
|
|
436
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">
|
|
561
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
562
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-audience-group">LINE Developers documentation</a>
|
|
437
563
|
*/
|
|
438
564
|
public async deleteAudienceGroupWithHttpInfo(
|
|
439
565
|
audienceGroupId: number,
|
|
@@ -445,9 +571,11 @@ export abstract class LineBotClientBase {
|
|
|
445
571
|
|
|
446
572
|
/**
|
|
447
573
|
* Gets audience data.
|
|
574
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
575
|
+
* To inspect the HTTP status code or response headers, use {@link getAudienceDataWithHttpInfo}.
|
|
448
576
|
* @param audienceGroupId The audience ID.
|
|
449
|
-
*
|
|
450
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">
|
|
577
|
+
* @returns A promise resolving to the response body.
|
|
578
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">LINE Developers documentation</a>
|
|
451
579
|
*/
|
|
452
580
|
public async getAudienceData(
|
|
453
581
|
audienceGroupId: number,
|
|
@@ -456,11 +584,12 @@ export abstract class LineBotClientBase {
|
|
|
456
584
|
}
|
|
457
585
|
|
|
458
586
|
/**
|
|
459
|
-
* Gets audience data
|
|
460
|
-
*
|
|
587
|
+
* Gets audience data.
|
|
588
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}`.
|
|
589
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
461
590
|
* @param audienceGroupId The audience ID.
|
|
462
|
-
*
|
|
463
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">
|
|
591
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
592
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-group">LINE Developers documentation</a>
|
|
464
593
|
*/
|
|
465
594
|
public async getAudienceDataWithHttpInfo(
|
|
466
595
|
audienceGroupId: number,
|
|
@@ -472,14 +601,16 @@ export abstract class LineBotClientBase {
|
|
|
472
601
|
|
|
473
602
|
/**
|
|
474
603
|
* Gets data for more than one audience.
|
|
604
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/list`.
|
|
605
|
+
* To inspect the HTTP status code or response headers, use {@link getAudienceGroupsWithHttpInfo}.
|
|
475
606
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
476
607
|
* @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.
|
|
477
608
|
* @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.
|
|
478
609
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
479
610
|
* @param includesExternalPublicGroups true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel.
|
|
480
611
|
* @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.
|
|
481
|
-
*
|
|
482
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">
|
|
612
|
+
* @returns A promise resolving to the response body.
|
|
613
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">LINE Developers documentation</a>
|
|
483
614
|
*/
|
|
484
615
|
public async getAudienceGroups(
|
|
485
616
|
page: number,
|
|
@@ -500,16 +631,17 @@ export abstract class LineBotClientBase {
|
|
|
500
631
|
}
|
|
501
632
|
|
|
502
633
|
/**
|
|
503
|
-
* Gets data for more than one audience
|
|
504
|
-
*
|
|
634
|
+
* Gets data for more than one audience.
|
|
635
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/list`.
|
|
636
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
505
637
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
506
638
|
* @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.
|
|
507
639
|
* @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.
|
|
508
640
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
509
641
|
* @param includesExternalPublicGroups true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel.
|
|
510
642
|
* @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.
|
|
511
|
-
*
|
|
512
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">
|
|
643
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
644
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">LINE Developers documentation</a>
|
|
513
645
|
*/
|
|
514
646
|
public async getAudienceGroupsWithHttpInfo(
|
|
515
647
|
page: number,
|
|
@@ -531,9 +663,11 @@ export abstract class LineBotClientBase {
|
|
|
531
663
|
|
|
532
664
|
/**
|
|
533
665
|
* Gets audience data.
|
|
666
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/{audienceGroupId}`.
|
|
667
|
+
* To inspect the HTTP status code or response headers, use {@link getSharedAudienceDataWithHttpInfo}.
|
|
534
668
|
* @param audienceGroupId The audience ID.
|
|
535
|
-
*
|
|
536
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">
|
|
669
|
+
* @returns A promise resolving to the response body.
|
|
670
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">LINE Developers documentation</a>
|
|
537
671
|
*/
|
|
538
672
|
public async getSharedAudienceData(
|
|
539
673
|
audienceGroupId: number,
|
|
@@ -542,11 +676,12 @@ export abstract class LineBotClientBase {
|
|
|
542
676
|
}
|
|
543
677
|
|
|
544
678
|
/**
|
|
545
|
-
* Gets audience data
|
|
546
|
-
*
|
|
679
|
+
* Gets audience data.
|
|
680
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/{audienceGroupId}`.
|
|
681
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
547
682
|
* @param audienceGroupId The audience ID.
|
|
548
|
-
*
|
|
549
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">
|
|
683
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
684
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience">LINE Developers documentation</a>
|
|
550
685
|
*/
|
|
551
686
|
public async getSharedAudienceDataWithHttpInfo(
|
|
552
687
|
audienceGroupId: number,
|
|
@@ -560,14 +695,16 @@ export abstract class LineBotClientBase {
|
|
|
560
695
|
|
|
561
696
|
/**
|
|
562
697
|
* Gets data for more than one audience, including those shared by the Business Manager.
|
|
698
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/list`.
|
|
699
|
+
* To inspect the HTTP status code or response headers, use {@link getSharedAudienceGroupsWithHttpInfo}.
|
|
563
700
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
564
701
|
* @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.
|
|
565
702
|
* @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.
|
|
566
703
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
567
704
|
* @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.
|
|
568
705
|
* @param includesOwnedAudienceGroups true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
|
|
569
|
-
*
|
|
570
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">
|
|
706
|
+
* @returns A promise resolving to the response body.
|
|
707
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">LINE Developers documentation</a>
|
|
571
708
|
*/
|
|
572
709
|
public async getSharedAudienceGroups(
|
|
573
710
|
page: number,
|
|
@@ -588,16 +725,17 @@ export abstract class LineBotClientBase {
|
|
|
588
725
|
}
|
|
589
726
|
|
|
590
727
|
/**
|
|
591
|
-
* Gets data for more than one audience, including those shared by the Business Manager
|
|
592
|
-
*
|
|
728
|
+
* Gets data for more than one audience, including those shared by the Business Manager.
|
|
729
|
+
* Calls `GET https://api.line.me/v2/bot/audienceGroup/shared/list`.
|
|
730
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
593
731
|
* @param page The page to return when getting (paginated) results. Must be 1 or higher.
|
|
594
732
|
* @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.
|
|
595
733
|
* @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.
|
|
596
734
|
* @param size The number of audiences per page. Default: 20 Max: 40
|
|
597
735
|
* @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.
|
|
598
736
|
* @param includesOwnedAudienceGroups true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager
|
|
599
|
-
*
|
|
600
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">
|
|
737
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
738
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list">LINE Developers documentation</a>
|
|
601
739
|
*/
|
|
602
740
|
public async getSharedAudienceGroupsWithHttpInfo(
|
|
603
741
|
page: number,
|
|
@@ -621,10 +759,12 @@ export abstract class LineBotClientBase {
|
|
|
621
759
|
|
|
622
760
|
/**
|
|
623
761
|
* Renames an existing audience.
|
|
762
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}/updateDescription`.
|
|
763
|
+
* To inspect the HTTP status code or response headers, use {@link updateAudienceGroupDescriptionWithHttpInfo}.
|
|
624
764
|
* @param audienceGroupId The audience ID.
|
|
625
765
|
* @param updateAudienceGroupDescriptionRequest
|
|
626
|
-
*
|
|
627
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">
|
|
766
|
+
* @returns A promise resolving to the response body.
|
|
767
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">LINE Developers documentation</a>
|
|
628
768
|
*/
|
|
629
769
|
public async updateAudienceGroupDescription(
|
|
630
770
|
audienceGroupId: number,
|
|
@@ -637,12 +777,13 @@ export abstract class LineBotClientBase {
|
|
|
637
777
|
}
|
|
638
778
|
|
|
639
779
|
/**
|
|
640
|
-
* Renames an existing audience
|
|
641
|
-
*
|
|
780
|
+
* Renames an existing audience.
|
|
781
|
+
* Calls `PUT https://api.line.me/v2/bot/audienceGroup/{audienceGroupId}/updateDescription`.
|
|
782
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
642
783
|
* @param audienceGroupId The audience ID.
|
|
643
784
|
* @param updateAudienceGroupDescriptionRequest
|
|
644
|
-
*
|
|
645
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">
|
|
785
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
786
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group">LINE Developers documentation</a>
|
|
646
787
|
*/
|
|
647
788
|
public async updateAudienceGroupDescriptionWithHttpInfo(
|
|
648
789
|
audienceGroupId: number,
|
|
@@ -656,11 +797,13 @@ export abstract class LineBotClientBase {
|
|
|
656
797
|
|
|
657
798
|
/**
|
|
658
799
|
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).
|
|
800
|
+
* Calls `PUT https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
801
|
+
* To inspect the HTTP status code or response headers, use {@link addUserIdsToAudienceWithHttpInfo}.
|
|
659
802
|
* @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
|
|
660
803
|
* @param audienceGroupId The audience ID.
|
|
661
804
|
* @param uploadDescription The description to register with the job
|
|
662
|
-
*
|
|
663
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">
|
|
805
|
+
* @returns A promise resolving to the response body.
|
|
806
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
664
807
|
*/
|
|
665
808
|
public async addUserIdsToAudience(
|
|
666
809
|
file: Blob,
|
|
@@ -675,13 +818,14 @@ export abstract class LineBotClientBase {
|
|
|
675
818
|
}
|
|
676
819
|
|
|
677
820
|
/**
|
|
678
|
-
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file)
|
|
679
|
-
*
|
|
821
|
+
* Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).
|
|
822
|
+
* Calls `PUT https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
823
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
680
824
|
* @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
|
|
681
825
|
* @param audienceGroupId The audience ID.
|
|
682
826
|
* @param uploadDescription The description to register with the job
|
|
683
|
-
*
|
|
684
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">
|
|
827
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
828
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
685
829
|
*/
|
|
686
830
|
public async addUserIdsToAudienceWithHttpInfo(
|
|
687
831
|
file: Blob,
|
|
@@ -697,12 +841,14 @@ export abstract class LineBotClientBase {
|
|
|
697
841
|
|
|
698
842
|
/**
|
|
699
843
|
* Create audience for uploading user IDs (by file).
|
|
844
|
+
* Calls `POST https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
845
|
+
* To inspect the HTTP status code or response headers, use {@link createAudienceForUploadingUserIdsWithHttpInfo}.
|
|
700
846
|
* @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
|
|
701
847
|
* @param description The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
|
|
702
848
|
* @param isIfaAudience To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property.
|
|
703
849
|
* @param uploadDescription The description to register for the job (in `jobs[].description`).
|
|
704
|
-
*
|
|
705
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">
|
|
850
|
+
* @returns A promise resolving to the response body.
|
|
851
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
706
852
|
*/
|
|
707
853
|
public async createAudienceForUploadingUserIds(
|
|
708
854
|
file: Blob,
|
|
@@ -719,14 +865,15 @@ export abstract class LineBotClientBase {
|
|
|
719
865
|
}
|
|
720
866
|
|
|
721
867
|
/**
|
|
722
|
-
* Create audience for uploading user IDs (by file)
|
|
723
|
-
*
|
|
868
|
+
* Create audience for uploading user IDs (by file).
|
|
869
|
+
* Calls `POST https://api-data.line.me/v2/bot/audienceGroup/upload/byFile`.
|
|
870
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
724
871
|
* @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
|
|
725
872
|
* @param description The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
|
|
726
873
|
* @param isIfaAudience To specify recipients by IFAs: set `true`. To specify recipients by user IDs: set `false` or omit isIfaAudience property.
|
|
727
874
|
* @param uploadDescription The description to register for the job (in `jobs[].description`).
|
|
728
|
-
*
|
|
729
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">
|
|
875
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
876
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group-by-file">LINE Developers documentation</a>
|
|
730
877
|
*/
|
|
731
878
|
public async createAudienceForUploadingUserIdsWithHttpInfo(
|
|
732
879
|
file: Blob,
|
|
@@ -746,10 +893,12 @@ export abstract class LineBotClientBase {
|
|
|
746
893
|
|
|
747
894
|
/**
|
|
748
895
|
* Sends a message to multiple users at any time.
|
|
896
|
+
* Calls `POST https://api.line.me/v2/bot/message/broadcast`.
|
|
897
|
+
* To inspect the HTTP status code or response headers, use {@link broadcastWithHttpInfo}.
|
|
749
898
|
* @param broadcastRequest
|
|
750
899
|
* @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.
|
|
751
|
-
*
|
|
752
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">
|
|
900
|
+
* @returns A promise resolving to the response body.
|
|
901
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
|
|
753
902
|
*/
|
|
754
903
|
public async broadcast(
|
|
755
904
|
broadcastRequest: messagingApi.BroadcastRequest,
|
|
@@ -759,12 +908,13 @@ export abstract class LineBotClientBase {
|
|
|
759
908
|
}
|
|
760
909
|
|
|
761
910
|
/**
|
|
762
|
-
* Sends a message to multiple users at any time
|
|
763
|
-
*
|
|
911
|
+
* Sends a message to multiple users at any time.
|
|
912
|
+
* Calls `POST https://api.line.me/v2/bot/message/broadcast`.
|
|
913
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
764
914
|
* @param broadcastRequest
|
|
765
915
|
* @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.
|
|
766
|
-
*
|
|
767
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">
|
|
916
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
917
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message">LINE Developers documentation</a>
|
|
768
918
|
*/
|
|
769
919
|
public async broadcastWithHttpInfo(
|
|
770
920
|
broadcastRequest: messagingApi.BroadcastRequest,
|
|
@@ -778,18 +928,21 @@ export abstract class LineBotClientBase {
|
|
|
778
928
|
|
|
779
929
|
/**
|
|
780
930
|
* Cancel default rich menu
|
|
781
|
-
*
|
|
782
|
-
* @
|
|
931
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
|
|
932
|
+
* To inspect the HTTP status code or response headers, use {@link cancelDefaultRichMenuWithHttpInfo}.
|
|
933
|
+
* @returns A promise resolving to the response body.
|
|
934
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
|
|
783
935
|
*/
|
|
784
936
|
public async cancelDefaultRichMenu(): Promise<Types.MessageAPIResponseBase> {
|
|
785
937
|
return this.clients.messagingApi.cancelDefaultRichMenu();
|
|
786
938
|
}
|
|
787
939
|
|
|
788
940
|
/**
|
|
789
|
-
* Cancel default rich menu
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
* @
|
|
941
|
+
* Cancel default rich menu
|
|
942
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/all/richmenu`.
|
|
943
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
944
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
945
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu">LINE Developers documentation</a>
|
|
793
946
|
*/
|
|
794
947
|
public async cancelDefaultRichMenuWithHttpInfo(): Promise<
|
|
795
948
|
Types.ApiResponseType<Types.MessageAPIResponseBase>
|
|
@@ -799,9 +952,11 @@ export abstract class LineBotClientBase {
|
|
|
799
952
|
|
|
800
953
|
/**
|
|
801
954
|
* Close coupon
|
|
955
|
+
* Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
|
|
956
|
+
* To inspect the HTTP status code or response headers, use {@link closeCouponWithHttpInfo}.
|
|
802
957
|
* @param couponId
|
|
803
|
-
*
|
|
804
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">
|
|
958
|
+
* @returns A promise resolving to the response body.
|
|
959
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
|
|
805
960
|
*/
|
|
806
961
|
public async closeCoupon(
|
|
807
962
|
couponId: string,
|
|
@@ -810,11 +965,12 @@ export abstract class LineBotClientBase {
|
|
|
810
965
|
}
|
|
811
966
|
|
|
812
967
|
/**
|
|
813
|
-
* Close coupon
|
|
814
|
-
*
|
|
968
|
+
* Close coupon
|
|
969
|
+
* Calls `PUT https://api.line.me/v2/bot/coupon/{couponId}/close`.
|
|
970
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
815
971
|
* @param couponId
|
|
816
|
-
*
|
|
817
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">
|
|
972
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
973
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon">LINE Developers documentation</a>
|
|
818
974
|
*/
|
|
819
975
|
public async closeCouponWithHttpInfo(
|
|
820
976
|
couponId: string,
|
|
@@ -824,9 +980,11 @@ export abstract class LineBotClientBase {
|
|
|
824
980
|
|
|
825
981
|
/**
|
|
826
982
|
* Create a new coupon. Define coupon details such as type, title, and validity period.
|
|
983
|
+
* Calls `POST https://api.line.me/v2/bot/coupon`.
|
|
984
|
+
* To inspect the HTTP status code or response headers, use {@link createCouponWithHttpInfo}.
|
|
827
985
|
* @param couponCreateRequest
|
|
828
|
-
*
|
|
829
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">
|
|
986
|
+
* @returns A promise resolving to the response body.
|
|
987
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
|
|
830
988
|
*/
|
|
831
989
|
public async createCoupon(
|
|
832
990
|
couponCreateRequest?: messagingApi.CouponCreateRequest,
|
|
@@ -835,11 +993,12 @@ export abstract class LineBotClientBase {
|
|
|
835
993
|
}
|
|
836
994
|
|
|
837
995
|
/**
|
|
838
|
-
* Create a new coupon. Define coupon details such as type, title, and validity period
|
|
839
|
-
*
|
|
996
|
+
* Create a new coupon. Define coupon details such as type, title, and validity period.
|
|
997
|
+
* Calls `POST https://api.line.me/v2/bot/coupon`.
|
|
998
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
840
999
|
* @param couponCreateRequest
|
|
841
|
-
*
|
|
842
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">
|
|
1000
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1001
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-coupon">LINE Developers documentation</a>
|
|
843
1002
|
*/
|
|
844
1003
|
public async createCouponWithHttpInfo(
|
|
845
1004
|
couponCreateRequest?: messagingApi.CouponCreateRequest,
|
|
@@ -851,9 +1010,11 @@ export abstract class LineBotClientBase {
|
|
|
851
1010
|
|
|
852
1011
|
/**
|
|
853
1012
|
* Create rich menu
|
|
1013
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu`.
|
|
1014
|
+
* To inspect the HTTP status code or response headers, use {@link createRichMenuWithHttpInfo}.
|
|
854
1015
|
* @param richMenuRequest
|
|
855
|
-
*
|
|
856
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">
|
|
1016
|
+
* @returns A promise resolving to the response body.
|
|
1017
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
|
|
857
1018
|
*/
|
|
858
1019
|
public async createRichMenu(
|
|
859
1020
|
richMenuRequest: messagingApi.RichMenuRequest,
|
|
@@ -862,11 +1023,12 @@ export abstract class LineBotClientBase {
|
|
|
862
1023
|
}
|
|
863
1024
|
|
|
864
1025
|
/**
|
|
865
|
-
* Create rich menu
|
|
866
|
-
*
|
|
1026
|
+
* Create rich menu
|
|
1027
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu`.
|
|
1028
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
867
1029
|
* @param richMenuRequest
|
|
868
|
-
*
|
|
869
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">
|
|
1030
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1031
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu">LINE Developers documentation</a>
|
|
870
1032
|
*/
|
|
871
1033
|
public async createRichMenuWithHttpInfo(
|
|
872
1034
|
richMenuRequest: messagingApi.RichMenuRequest,
|
|
@@ -878,9 +1040,11 @@ export abstract class LineBotClientBase {
|
|
|
878
1040
|
|
|
879
1041
|
/**
|
|
880
1042
|
* Create rich menu alias
|
|
1043
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
|
|
1044
|
+
* To inspect the HTTP status code or response headers, use {@link createRichMenuAliasWithHttpInfo}.
|
|
881
1045
|
* @param createRichMenuAliasRequest
|
|
882
|
-
*
|
|
883
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">
|
|
1046
|
+
* @returns A promise resolving to the response body.
|
|
1047
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
|
|
884
1048
|
*/
|
|
885
1049
|
public async createRichMenuAlias(
|
|
886
1050
|
createRichMenuAliasRequest: messagingApi.CreateRichMenuAliasRequest,
|
|
@@ -891,11 +1055,12 @@ export abstract class LineBotClientBase {
|
|
|
891
1055
|
}
|
|
892
1056
|
|
|
893
1057
|
/**
|
|
894
|
-
* Create rich menu alias
|
|
895
|
-
*
|
|
1058
|
+
* Create rich menu alias
|
|
1059
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias`.
|
|
1060
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
896
1061
|
* @param createRichMenuAliasRequest
|
|
897
|
-
*
|
|
898
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">
|
|
1062
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1063
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias">LINE Developers documentation</a>
|
|
899
1064
|
*/
|
|
900
1065
|
public async createRichMenuAliasWithHttpInfo(
|
|
901
1066
|
createRichMenuAliasRequest: messagingApi.CreateRichMenuAliasRequest,
|
|
@@ -907,9 +1072,11 @@ export abstract class LineBotClientBase {
|
|
|
907
1072
|
|
|
908
1073
|
/**
|
|
909
1074
|
* Deletes a rich menu.
|
|
1075
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
1076
|
+
* To inspect the HTTP status code or response headers, use {@link deleteRichMenuWithHttpInfo}.
|
|
910
1077
|
* @param richMenuId ID of a rich menu
|
|
911
|
-
*
|
|
912
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">
|
|
1078
|
+
* @returns A promise resolving to the response body.
|
|
1079
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">LINE Developers documentation</a>
|
|
913
1080
|
*/
|
|
914
1081
|
public async deleteRichMenu(
|
|
915
1082
|
richMenuId: string,
|
|
@@ -918,11 +1085,12 @@ export abstract class LineBotClientBase {
|
|
|
918
1085
|
}
|
|
919
1086
|
|
|
920
1087
|
/**
|
|
921
|
-
* Deletes a rich menu
|
|
922
|
-
*
|
|
1088
|
+
* Deletes a rich menu.
|
|
1089
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
1090
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
923
1091
|
* @param richMenuId ID of a rich menu
|
|
924
|
-
*
|
|
925
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">
|
|
1092
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1093
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu">LINE Developers documentation</a>
|
|
926
1094
|
*/
|
|
927
1095
|
public async deleteRichMenuWithHttpInfo(
|
|
928
1096
|
richMenuId: string,
|
|
@@ -932,9 +1100,11 @@ export abstract class LineBotClientBase {
|
|
|
932
1100
|
|
|
933
1101
|
/**
|
|
934
1102
|
* Delete rich menu alias
|
|
1103
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1104
|
+
* To inspect the HTTP status code or response headers, use {@link deleteRichMenuAliasWithHttpInfo}.
|
|
935
1105
|
* @param richMenuAliasId Rich menu alias ID that you want to delete.
|
|
936
|
-
*
|
|
937
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">
|
|
1106
|
+
* @returns A promise resolving to the response body.
|
|
1107
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
|
|
938
1108
|
*/
|
|
939
1109
|
public async deleteRichMenuAlias(
|
|
940
1110
|
richMenuAliasId: string,
|
|
@@ -943,11 +1113,12 @@ export abstract class LineBotClientBase {
|
|
|
943
1113
|
}
|
|
944
1114
|
|
|
945
1115
|
/**
|
|
946
|
-
* Delete rich menu alias
|
|
947
|
-
*
|
|
1116
|
+
* Delete rich menu alias
|
|
1117
|
+
* Calls `DELETE https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1118
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
948
1119
|
* @param richMenuAliasId Rich menu alias ID that you want to delete.
|
|
949
|
-
*
|
|
950
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">
|
|
1120
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1121
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias">LINE Developers documentation</a>
|
|
951
1122
|
*/
|
|
952
1123
|
public async deleteRichMenuAliasWithHttpInfo(
|
|
953
1124
|
richMenuAliasId: string,
|
|
@@ -959,10 +1130,12 @@ export abstract class LineBotClientBase {
|
|
|
959
1130
|
|
|
960
1131
|
/**
|
|
961
1132
|
* Get name list of units used this month
|
|
1133
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
|
|
1134
|
+
* To inspect the HTTP status code or response headers, use {@link getAggregationUnitNameListWithHttpInfo}.
|
|
962
1135
|
* @param limit The maximum number of aggregation units you can get per request.
|
|
963
1136
|
* @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.
|
|
964
|
-
*
|
|
965
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">
|
|
1137
|
+
* @returns A promise resolving to the response body.
|
|
1138
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
|
|
966
1139
|
*/
|
|
967
1140
|
public async getAggregationUnitNameList(
|
|
968
1141
|
limit?: string,
|
|
@@ -972,12 +1145,13 @@ export abstract class LineBotClientBase {
|
|
|
972
1145
|
}
|
|
973
1146
|
|
|
974
1147
|
/**
|
|
975
|
-
* Get name list of units used this month
|
|
976
|
-
*
|
|
1148
|
+
* Get name list of units used this month
|
|
1149
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/list`.
|
|
1150
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
977
1151
|
* @param limit The maximum number of aggregation units you can get per request.
|
|
978
1152
|
* @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.
|
|
979
|
-
*
|
|
980
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">
|
|
1153
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1154
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month">LINE Developers documentation</a>
|
|
981
1155
|
*/
|
|
982
1156
|
public async getAggregationUnitNameListWithHttpInfo(
|
|
983
1157
|
limit?: string,
|
|
@@ -993,18 +1167,21 @@ export abstract class LineBotClientBase {
|
|
|
993
1167
|
|
|
994
1168
|
/**
|
|
995
1169
|
* Get number of units used this month
|
|
996
|
-
*
|
|
997
|
-
* @
|
|
1170
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
|
|
1171
|
+
* To inspect the HTTP status code or response headers, use {@link getAggregationUnitUsageWithHttpInfo}.
|
|
1172
|
+
* @returns A promise resolving to the response body.
|
|
1173
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
|
|
998
1174
|
*/
|
|
999
1175
|
public async getAggregationUnitUsage(): Promise<messagingApi.GetAggregationUnitUsageResponse> {
|
|
1000
1176
|
return this.clients.messagingApi.getAggregationUnitUsage();
|
|
1001
1177
|
}
|
|
1002
1178
|
|
|
1003
1179
|
/**
|
|
1004
|
-
* Get number of units used this month
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
* @
|
|
1180
|
+
* Get number of units used this month
|
|
1181
|
+
* Calls `GET https://api.line.me/v2/bot/message/aggregation/info`.
|
|
1182
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1183
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1184
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month">LINE Developers documentation</a>
|
|
1008
1185
|
*/
|
|
1009
1186
|
public async getAggregationUnitUsageWithHttpInfo(): Promise<
|
|
1010
1187
|
Types.ApiResponseType<messagingApi.GetAggregationUnitUsageResponse>
|
|
@@ -1014,18 +1191,21 @@ export abstract class LineBotClientBase {
|
|
|
1014
1191
|
|
|
1015
1192
|
/**
|
|
1016
1193
|
* Get bot info
|
|
1017
|
-
*
|
|
1018
|
-
* @
|
|
1194
|
+
* Calls `GET https://api.line.me/v2/bot/info`.
|
|
1195
|
+
* To inspect the HTTP status code or response headers, use {@link getBotInfoWithHttpInfo}.
|
|
1196
|
+
* @returns A promise resolving to the response body.
|
|
1197
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
|
|
1019
1198
|
*/
|
|
1020
1199
|
public async getBotInfo(): Promise<messagingApi.BotInfoResponse> {
|
|
1021
1200
|
return this.clients.messagingApi.getBotInfo();
|
|
1022
1201
|
}
|
|
1023
1202
|
|
|
1024
1203
|
/**
|
|
1025
|
-
* Get bot info
|
|
1026
|
-
*
|
|
1027
|
-
*
|
|
1028
|
-
* @
|
|
1204
|
+
* Get bot info
|
|
1205
|
+
* Calls `GET https://api.line.me/v2/bot/info`.
|
|
1206
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1207
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1208
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">LINE Developers documentation</a>
|
|
1029
1209
|
*/
|
|
1030
1210
|
public async getBotInfoWithHttpInfo(): Promise<
|
|
1031
1211
|
Types.ApiResponseType<messagingApi.BotInfoResponse>
|
|
@@ -1035,9 +1215,11 @@ export abstract class LineBotClientBase {
|
|
|
1035
1215
|
|
|
1036
1216
|
/**
|
|
1037
1217
|
* Get coupon detail
|
|
1218
|
+
* Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
|
|
1219
|
+
* To inspect the HTTP status code or response headers, use {@link getCouponDetailWithHttpInfo}.
|
|
1038
1220
|
* @param couponId
|
|
1039
|
-
*
|
|
1040
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">
|
|
1221
|
+
* @returns A promise resolving to the response body.
|
|
1222
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
|
|
1041
1223
|
*/
|
|
1042
1224
|
public async getCouponDetail(
|
|
1043
1225
|
couponId: string,
|
|
@@ -1046,11 +1228,12 @@ export abstract class LineBotClientBase {
|
|
|
1046
1228
|
}
|
|
1047
1229
|
|
|
1048
1230
|
/**
|
|
1049
|
-
* Get coupon detail
|
|
1050
|
-
*
|
|
1231
|
+
* Get coupon detail
|
|
1232
|
+
* Calls `GET https://api.line.me/v2/bot/coupon/{couponId}`.
|
|
1233
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1051
1234
|
* @param couponId
|
|
1052
|
-
*
|
|
1053
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">
|
|
1235
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1236
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupon">LINE Developers documentation</a>
|
|
1054
1237
|
*/
|
|
1055
1238
|
public async getCouponDetailWithHttpInfo(
|
|
1056
1239
|
couponId: string,
|
|
@@ -1060,18 +1243,21 @@ export abstract class LineBotClientBase {
|
|
|
1060
1243
|
|
|
1061
1244
|
/**
|
|
1062
1245
|
* Gets the ID of the default rich menu set with the Messaging API.
|
|
1063
|
-
*
|
|
1064
|
-
* @
|
|
1246
|
+
* Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
|
|
1247
|
+
* To inspect the HTTP status code or response headers, use {@link getDefaultRichMenuIdWithHttpInfo}.
|
|
1248
|
+
* @returns A promise resolving to the response body.
|
|
1249
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
|
|
1065
1250
|
*/
|
|
1066
1251
|
public async getDefaultRichMenuId(): Promise<messagingApi.RichMenuIdResponse> {
|
|
1067
1252
|
return this.clients.messagingApi.getDefaultRichMenuId();
|
|
1068
1253
|
}
|
|
1069
1254
|
|
|
1070
1255
|
/**
|
|
1071
|
-
* Gets the ID of the default rich menu set with the Messaging API
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1074
|
-
* @
|
|
1256
|
+
* Gets the ID of the default rich menu set with the Messaging API.
|
|
1257
|
+
* Calls `GET https://api.line.me/v2/bot/user/all/richmenu`.
|
|
1258
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1259
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1260
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id">LINE Developers documentation</a>
|
|
1075
1261
|
*/
|
|
1076
1262
|
public async getDefaultRichMenuIdWithHttpInfo(): Promise<
|
|
1077
1263
|
Types.ApiResponseType<messagingApi.RichMenuIdResponse>
|
|
@@ -1081,10 +1267,12 @@ export abstract class LineBotClientBase {
|
|
|
1081
1267
|
|
|
1082
1268
|
/**
|
|
1083
1269
|
* Get a list of users who added your LINE Official Account as a friend
|
|
1270
|
+
* Calls `GET https://api.line.me/v2/bot/followers/ids`.
|
|
1271
|
+
* To inspect the HTTP status code or response headers, use {@link getFollowersWithHttpInfo}.
|
|
1084
1272
|
* @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.
|
|
1085
1273
|
* @param limit The maximum number of user IDs to retrieve in a single request.
|
|
1086
|
-
*
|
|
1087
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">
|
|
1274
|
+
* @returns A promise resolving to the response body.
|
|
1275
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
|
|
1088
1276
|
*/
|
|
1089
1277
|
public async getFollowers(
|
|
1090
1278
|
start?: string,
|
|
@@ -1094,12 +1282,13 @@ export abstract class LineBotClientBase {
|
|
|
1094
1282
|
}
|
|
1095
1283
|
|
|
1096
1284
|
/**
|
|
1097
|
-
* Get a list of users who added your LINE Official Account as a friend
|
|
1098
|
-
*
|
|
1285
|
+
* Get a list of users who added your LINE Official Account as a friend
|
|
1286
|
+
* Calls `GET https://api.line.me/v2/bot/followers/ids`.
|
|
1287
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1099
1288
|
* @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.
|
|
1100
1289
|
* @param limit The maximum number of user IDs to retrieve in a single request.
|
|
1101
|
-
*
|
|
1102
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">
|
|
1290
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1291
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-follower-ids">LINE Developers documentation</a>
|
|
1103
1292
|
*/
|
|
1104
1293
|
public async getFollowersWithHttpInfo(
|
|
1105
1294
|
start?: string,
|
|
@@ -1110,9 +1299,11 @@ export abstract class LineBotClientBase {
|
|
|
1110
1299
|
|
|
1111
1300
|
/**
|
|
1112
1301
|
* Get number of users in a group chat
|
|
1302
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
|
|
1303
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupMemberCountWithHttpInfo}.
|
|
1113
1304
|
* @param groupId Group ID
|
|
1114
|
-
*
|
|
1115
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">
|
|
1305
|
+
* @returns A promise resolving to the response body.
|
|
1306
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
|
|
1116
1307
|
*/
|
|
1117
1308
|
public async getGroupMemberCount(
|
|
1118
1309
|
groupId: string,
|
|
@@ -1121,11 +1312,12 @@ export abstract class LineBotClientBase {
|
|
|
1121
1312
|
}
|
|
1122
1313
|
|
|
1123
1314
|
/**
|
|
1124
|
-
* Get number of users in a group chat
|
|
1125
|
-
*
|
|
1315
|
+
* Get number of users in a group chat
|
|
1316
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/count`.
|
|
1317
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1126
1318
|
* @param groupId Group ID
|
|
1127
|
-
*
|
|
1128
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">
|
|
1319
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1320
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-group-count">LINE Developers documentation</a>
|
|
1129
1321
|
*/
|
|
1130
1322
|
public async getGroupMemberCountWithHttpInfo(
|
|
1131
1323
|
groupId: string,
|
|
@@ -1135,10 +1327,12 @@ export abstract class LineBotClientBase {
|
|
|
1135
1327
|
|
|
1136
1328
|
/**
|
|
1137
1329
|
* Get group chat member profile
|
|
1330
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
|
|
1331
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupMemberProfileWithHttpInfo}.
|
|
1138
1332
|
* @param groupId Group ID
|
|
1139
1333
|
* @param userId User ID
|
|
1140
|
-
*
|
|
1141
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">
|
|
1334
|
+
* @returns A promise resolving to the response body.
|
|
1335
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
|
|
1142
1336
|
*/
|
|
1143
1337
|
public async getGroupMemberProfile(
|
|
1144
1338
|
groupId: string,
|
|
@@ -1148,12 +1342,13 @@ export abstract class LineBotClientBase {
|
|
|
1148
1342
|
}
|
|
1149
1343
|
|
|
1150
1344
|
/**
|
|
1151
|
-
* Get group chat member profile
|
|
1152
|
-
*
|
|
1345
|
+
* Get group chat member profile
|
|
1346
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/member/{userId}`.
|
|
1347
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1153
1348
|
* @param groupId Group ID
|
|
1154
1349
|
* @param userId User ID
|
|
1155
|
-
*
|
|
1156
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">
|
|
1350
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1351
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile">LINE Developers documentation</a>
|
|
1157
1352
|
*/
|
|
1158
1353
|
public async getGroupMemberProfileWithHttpInfo(
|
|
1159
1354
|
groupId: string,
|
|
@@ -1167,10 +1362,12 @@ export abstract class LineBotClientBase {
|
|
|
1167
1362
|
|
|
1168
1363
|
/**
|
|
1169
1364
|
* Get group chat member user IDs
|
|
1365
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
|
|
1366
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupMembersIdsWithHttpInfo}.
|
|
1170
1367
|
* @param groupId Group ID
|
|
1171
1368
|
* @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.
|
|
1172
|
-
*
|
|
1173
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">
|
|
1369
|
+
* @returns A promise resolving to the response body.
|
|
1370
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
|
|
1174
1371
|
*/
|
|
1175
1372
|
public async getGroupMembersIds(
|
|
1176
1373
|
groupId: string,
|
|
@@ -1180,12 +1377,13 @@ export abstract class LineBotClientBase {
|
|
|
1180
1377
|
}
|
|
1181
1378
|
|
|
1182
1379
|
/**
|
|
1183
|
-
* Get group chat member user IDs
|
|
1184
|
-
*
|
|
1380
|
+
* Get group chat member user IDs
|
|
1381
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/members/ids`.
|
|
1382
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1185
1383
|
* @param groupId Group ID
|
|
1186
1384
|
* @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.
|
|
1187
|
-
*
|
|
1188
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">
|
|
1385
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1386
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids">LINE Developers documentation</a>
|
|
1189
1387
|
*/
|
|
1190
1388
|
public async getGroupMembersIdsWithHttpInfo(
|
|
1191
1389
|
groupId: string,
|
|
@@ -1199,9 +1397,11 @@ export abstract class LineBotClientBase {
|
|
|
1199
1397
|
|
|
1200
1398
|
/**
|
|
1201
1399
|
* Get group chat summary
|
|
1400
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
|
|
1401
|
+
* To inspect the HTTP status code or response headers, use {@link getGroupSummaryWithHttpInfo}.
|
|
1202
1402
|
* @param groupId Group ID
|
|
1203
|
-
*
|
|
1204
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">
|
|
1403
|
+
* @returns A promise resolving to the response body.
|
|
1404
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
|
|
1205
1405
|
*/
|
|
1206
1406
|
public async getGroupSummary(
|
|
1207
1407
|
groupId: string,
|
|
@@ -1210,11 +1410,12 @@ export abstract class LineBotClientBase {
|
|
|
1210
1410
|
}
|
|
1211
1411
|
|
|
1212
1412
|
/**
|
|
1213
|
-
* Get group chat summary
|
|
1214
|
-
*
|
|
1413
|
+
* Get group chat summary
|
|
1414
|
+
* Calls `GET https://api.line.me/v2/bot/group/{groupId}/summary`.
|
|
1415
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1215
1416
|
* @param groupId Group ID
|
|
1216
|
-
*
|
|
1217
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">
|
|
1417
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1418
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-group-summary">LINE Developers documentation</a>
|
|
1218
1419
|
*/
|
|
1219
1420
|
public async getGroupSummaryWithHttpInfo(
|
|
1220
1421
|
groupId: string,
|
|
@@ -1224,11 +1425,13 @@ export abstract class LineBotClientBase {
|
|
|
1224
1425
|
|
|
1225
1426
|
/**
|
|
1226
1427
|
* Get a list of user IDs who joined the membership.
|
|
1428
|
+
* Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
|
|
1429
|
+
* To inspect the HTTP status code or response headers, use {@link getJoinedMembershipUsersWithHttpInfo}.
|
|
1227
1430
|
* @param membershipId Membership plan ID.
|
|
1228
1431
|
* @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).
|
|
1229
1432
|
* @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.
|
|
1230
|
-
*
|
|
1231
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">
|
|
1433
|
+
* @returns A promise resolving to the response body.
|
|
1434
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
|
|
1232
1435
|
*/
|
|
1233
1436
|
public async getJoinedMembershipUsers(
|
|
1234
1437
|
membershipId: number,
|
|
@@ -1243,13 +1446,14 @@ export abstract class LineBotClientBase {
|
|
|
1243
1446
|
}
|
|
1244
1447
|
|
|
1245
1448
|
/**
|
|
1246
|
-
* Get a list of user IDs who joined the membership
|
|
1247
|
-
*
|
|
1449
|
+
* Get a list of user IDs who joined the membership.
|
|
1450
|
+
* Calls `GET https://api.line.me/v2/bot/membership/{membershipId}/users/ids`.
|
|
1451
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1248
1452
|
* @param membershipId Membership plan ID.
|
|
1249
1453
|
* @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).
|
|
1250
1454
|
* @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.
|
|
1251
|
-
*
|
|
1252
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">
|
|
1455
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1456
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids">LINE Developers documentation</a>
|
|
1253
1457
|
*/
|
|
1254
1458
|
public async getJoinedMembershipUsersWithHttpInfo(
|
|
1255
1459
|
membershipId: number,
|
|
@@ -1267,18 +1471,21 @@ export abstract class LineBotClientBase {
|
|
|
1267
1471
|
|
|
1268
1472
|
/**
|
|
1269
1473
|
* Get a list of memberships.
|
|
1270
|
-
*
|
|
1271
|
-
* @
|
|
1474
|
+
* Calls `GET https://api.line.me/v2/bot/membership/list`.
|
|
1475
|
+
* To inspect the HTTP status code or response headers, use {@link getMembershipListWithHttpInfo}.
|
|
1476
|
+
* @returns A promise resolving to the response body.
|
|
1477
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
|
|
1272
1478
|
*/
|
|
1273
1479
|
public async getMembershipList(): Promise<messagingApi.MembershipListResponse> {
|
|
1274
1480
|
return this.clients.messagingApi.getMembershipList();
|
|
1275
1481
|
}
|
|
1276
1482
|
|
|
1277
1483
|
/**
|
|
1278
|
-
* Get a list of memberships
|
|
1279
|
-
*
|
|
1280
|
-
*
|
|
1281
|
-
* @
|
|
1484
|
+
* Get a list of memberships.
|
|
1485
|
+
* Calls `GET https://api.line.me/v2/bot/membership/list`.
|
|
1486
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1487
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1488
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-membership-plans">LINE Developers documentation</a>
|
|
1282
1489
|
*/
|
|
1283
1490
|
public async getMembershipListWithHttpInfo(): Promise<
|
|
1284
1491
|
Types.ApiResponseType<messagingApi.MembershipListResponse>
|
|
@@ -1288,9 +1495,11 @@ export abstract class LineBotClientBase {
|
|
|
1288
1495
|
|
|
1289
1496
|
/**
|
|
1290
1497
|
* Get a user's membership subscription.
|
|
1498
|
+
* Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
|
|
1499
|
+
* To inspect the HTTP status code or response headers, use {@link getMembershipSubscriptionWithHttpInfo}.
|
|
1291
1500
|
* @param userId User ID
|
|
1292
|
-
*
|
|
1293
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">
|
|
1501
|
+
* @returns A promise resolving to the response body.
|
|
1502
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
|
|
1294
1503
|
*/
|
|
1295
1504
|
public async getMembershipSubscription(
|
|
1296
1505
|
userId: string,
|
|
@@ -1299,11 +1508,12 @@ export abstract class LineBotClientBase {
|
|
|
1299
1508
|
}
|
|
1300
1509
|
|
|
1301
1510
|
/**
|
|
1302
|
-
* Get a user's membership subscription
|
|
1303
|
-
*
|
|
1511
|
+
* Get a user's membership subscription.
|
|
1512
|
+
* Calls `GET https://api.line.me/v2/bot/membership/subscription/{userId}`.
|
|
1513
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1304
1514
|
* @param userId User ID
|
|
1305
|
-
*
|
|
1306
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status">
|
|
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/#get-a-users-membership-subscription-status">LINE Developers documentation</a>
|
|
1307
1517
|
*/
|
|
1308
1518
|
public async getMembershipSubscriptionWithHttpInfo(
|
|
1309
1519
|
userId: string,
|
|
@@ -1317,18 +1527,21 @@ export abstract class LineBotClientBase {
|
|
|
1317
1527
|
|
|
1318
1528
|
/**
|
|
1319
1529
|
* Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
|
|
1320
|
-
*
|
|
1321
|
-
* @
|
|
1530
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota`.
|
|
1531
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageQuotaWithHttpInfo}.
|
|
1532
|
+
* @returns A promise resolving to the response body.
|
|
1533
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
|
|
1322
1534
|
*/
|
|
1323
1535
|
public async getMessageQuota(): Promise<messagingApi.MessageQuotaResponse> {
|
|
1324
1536
|
return this.clients.messagingApi.getMessageQuota();
|
|
1325
1537
|
}
|
|
1326
1538
|
|
|
1327
1539
|
/**
|
|
1328
|
-
* Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned
|
|
1329
|
-
*
|
|
1330
|
-
*
|
|
1331
|
-
* @
|
|
1540
|
+
* Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.
|
|
1541
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota`.
|
|
1542
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1543
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1544
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-quota">LINE Developers documentation</a>
|
|
1332
1545
|
*/
|
|
1333
1546
|
public async getMessageQuotaWithHttpInfo(): Promise<
|
|
1334
1547
|
Types.ApiResponseType<messagingApi.MessageQuotaResponse>
|
|
@@ -1338,18 +1551,21 @@ export abstract class LineBotClientBase {
|
|
|
1338
1551
|
|
|
1339
1552
|
/**
|
|
1340
1553
|
* Gets the number of messages sent in the current month.
|
|
1341
|
-
*
|
|
1342
|
-
* @
|
|
1554
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
|
|
1555
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageQuotaConsumptionWithHttpInfo}.
|
|
1556
|
+
* @returns A promise resolving to the response body.
|
|
1557
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
|
|
1343
1558
|
*/
|
|
1344
1559
|
public async getMessageQuotaConsumption(): Promise<messagingApi.QuotaConsumptionResponse> {
|
|
1345
1560
|
return this.clients.messagingApi.getMessageQuotaConsumption();
|
|
1346
1561
|
}
|
|
1347
1562
|
|
|
1348
1563
|
/**
|
|
1349
|
-
* Gets the number of messages sent in the current month
|
|
1350
|
-
*
|
|
1351
|
-
*
|
|
1352
|
-
* @
|
|
1564
|
+
* Gets the number of messages sent in the current month.
|
|
1565
|
+
* Calls `GET https://api.line.me/v2/bot/message/quota/consumption`.
|
|
1566
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1567
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1568
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-consumption">LINE Developers documentation</a>
|
|
1353
1569
|
*/
|
|
1354
1570
|
public async getMessageQuotaConsumptionWithHttpInfo(): Promise<
|
|
1355
1571
|
Types.ApiResponseType<messagingApi.QuotaConsumptionResponse>
|
|
@@ -1359,9 +1575,11 @@ export abstract class LineBotClientBase {
|
|
|
1359
1575
|
|
|
1360
1576
|
/**
|
|
1361
1577
|
* Gets the status of a narrowcast message.
|
|
1578
|
+
* Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
|
|
1579
|
+
* To inspect the HTTP status code or response headers, use {@link getNarrowcastProgressWithHttpInfo}.
|
|
1362
1580
|
* @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
|
|
1363
|
-
*
|
|
1364
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">
|
|
1581
|
+
* @returns A promise resolving to the response body.
|
|
1582
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
|
|
1365
1583
|
*/
|
|
1366
1584
|
public async getNarrowcastProgress(
|
|
1367
1585
|
requestId: string,
|
|
@@ -1370,11 +1588,12 @@ export abstract class LineBotClientBase {
|
|
|
1370
1588
|
}
|
|
1371
1589
|
|
|
1372
1590
|
/**
|
|
1373
|
-
* Gets the status of a narrowcast message
|
|
1374
|
-
*
|
|
1591
|
+
* Gets the status of a narrowcast message.
|
|
1592
|
+
* Calls `GET https://api.line.me/v2/bot/message/progress/narrowcast`.
|
|
1593
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1375
1594
|
* @param requestId The narrowcast message's request ID. Each Messaging API request has a request ID.
|
|
1376
|
-
*
|
|
1377
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">
|
|
1595
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1596
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status">LINE Developers documentation</a>
|
|
1378
1597
|
*/
|
|
1379
1598
|
public async getNarrowcastProgressWithHttpInfo(
|
|
1380
1599
|
requestId: string,
|
|
@@ -1386,9 +1605,11 @@ export abstract class LineBotClientBase {
|
|
|
1386
1605
|
|
|
1387
1606
|
/**
|
|
1388
1607
|
* Get number of sent broadcast messages
|
|
1608
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
|
|
1609
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentBroadcastMessagesWithHttpInfo}.
|
|
1389
1610
|
* @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
1390
|
-
*
|
|
1391
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">
|
|
1611
|
+
* @returns A promise resolving to the response body.
|
|
1612
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
|
|
1392
1613
|
*/
|
|
1393
1614
|
public async getNumberOfSentBroadcastMessages(
|
|
1394
1615
|
date: string,
|
|
@@ -1397,11 +1618,12 @@ export abstract class LineBotClientBase {
|
|
|
1397
1618
|
}
|
|
1398
1619
|
|
|
1399
1620
|
/**
|
|
1400
|
-
* Get number of sent broadcast messages
|
|
1401
|
-
*
|
|
1621
|
+
* Get number of sent broadcast messages
|
|
1622
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/broadcast`.
|
|
1623
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1402
1624
|
* @param date Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9
|
|
1403
|
-
*
|
|
1404
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">
|
|
1625
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1626
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages">LINE Developers documentation</a>
|
|
1405
1627
|
*/
|
|
1406
1628
|
public async getNumberOfSentBroadcastMessagesWithHttpInfo(
|
|
1407
1629
|
date: string,
|
|
@@ -1413,9 +1635,11 @@ export abstract class LineBotClientBase {
|
|
|
1413
1635
|
|
|
1414
1636
|
/**
|
|
1415
1637
|
* Get number of sent multicast messages
|
|
1638
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
|
|
1639
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentMulticastMessagesWithHttpInfo}.
|
|
1416
1640
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
1417
|
-
*
|
|
1418
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">
|
|
1641
|
+
* @returns A promise resolving to the response body.
|
|
1642
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">LINE Developers documentation</a>
|
|
1419
1643
|
*/
|
|
1420
1644
|
public async getNumberOfSentMulticastMessages(
|
|
1421
1645
|
date: string,
|
|
@@ -1424,11 +1648,12 @@ export abstract class LineBotClientBase {
|
|
|
1424
1648
|
}
|
|
1425
1649
|
|
|
1426
1650
|
/**
|
|
1427
|
-
* Get number of sent multicast messages
|
|
1428
|
-
*
|
|
1651
|
+
* Get number of sent multicast messages
|
|
1652
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/multicast`.
|
|
1653
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1429
1654
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
1430
|
-
*
|
|
1431
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages">
|
|
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/#get-number-of-multicast-messages">LINE Developers documentation</a>
|
|
1432
1657
|
*/
|
|
1433
1658
|
public async getNumberOfSentMulticastMessagesWithHttpInfo(
|
|
1434
1659
|
date: string,
|
|
@@ -1440,9 +1665,11 @@ export abstract class LineBotClientBase {
|
|
|
1440
1665
|
|
|
1441
1666
|
/**
|
|
1442
1667
|
* Get number of sent push messages
|
|
1668
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
|
|
1669
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentPushMessagesWithHttpInfo}.
|
|
1443
1670
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
1444
|
-
*
|
|
1445
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">
|
|
1671
|
+
* @returns A promise resolving to the response body.
|
|
1672
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
|
|
1446
1673
|
*/
|
|
1447
1674
|
public async getNumberOfSentPushMessages(
|
|
1448
1675
|
date: string,
|
|
@@ -1451,11 +1678,12 @@ export abstract class LineBotClientBase {
|
|
|
1451
1678
|
}
|
|
1452
1679
|
|
|
1453
1680
|
/**
|
|
1454
|
-
* Get number of sent push messages
|
|
1455
|
-
*
|
|
1681
|
+
* Get number of sent push messages
|
|
1682
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/push`.
|
|
1683
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1456
1684
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
1457
|
-
*
|
|
1458
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">
|
|
1685
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1686
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages">LINE Developers documentation</a>
|
|
1459
1687
|
*/
|
|
1460
1688
|
public async getNumberOfSentPushMessagesWithHttpInfo(
|
|
1461
1689
|
date: string,
|
|
@@ -1467,9 +1695,11 @@ export abstract class LineBotClientBase {
|
|
|
1467
1695
|
|
|
1468
1696
|
/**
|
|
1469
1697
|
* Get number of sent reply messages
|
|
1698
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
|
|
1699
|
+
* To inspect the HTTP status code or response headers, use {@link getNumberOfSentReplyMessagesWithHttpInfo}.
|
|
1470
1700
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
1471
|
-
*
|
|
1472
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">
|
|
1701
|
+
* @returns A promise resolving to the response body.
|
|
1702
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
|
|
1473
1703
|
*/
|
|
1474
1704
|
public async getNumberOfSentReplyMessages(
|
|
1475
1705
|
date: string,
|
|
@@ -1478,11 +1708,12 @@ export abstract class LineBotClientBase {
|
|
|
1478
1708
|
}
|
|
1479
1709
|
|
|
1480
1710
|
/**
|
|
1481
|
-
* Get number of sent reply messages
|
|
1482
|
-
*
|
|
1711
|
+
* Get number of sent reply messages
|
|
1712
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/reply`.
|
|
1713
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1483
1714
|
* @param date Date the messages were sent Format: `yyyyMMdd` (e.g. `20191231`) Timezone: UTC+9
|
|
1484
|
-
*
|
|
1485
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">
|
|
1715
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1716
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages">LINE Developers documentation</a>
|
|
1486
1717
|
*/
|
|
1487
1718
|
public async getNumberOfSentReplyMessagesWithHttpInfo(
|
|
1488
1719
|
date: string,
|
|
@@ -1494,9 +1725,11 @@ export abstract class LineBotClientBase {
|
|
|
1494
1725
|
|
|
1495
1726
|
/**
|
|
1496
1727
|
* Get number of sent LINE notification messages
|
|
1728
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
|
|
1729
|
+
* To inspect the HTTP status code or response headers, use {@link getPNPMessageStatisticsWithHttpInfo}.
|
|
1497
1730
|
* @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
|
|
1498
|
-
*
|
|
1499
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">
|
|
1731
|
+
* @returns A promise resolving to the response body.
|
|
1732
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
|
|
1500
1733
|
*/
|
|
1501
1734
|
public async getPNPMessageStatistics(
|
|
1502
1735
|
date: string,
|
|
@@ -1505,11 +1738,12 @@ export abstract class LineBotClientBase {
|
|
|
1505
1738
|
}
|
|
1506
1739
|
|
|
1507
1740
|
/**
|
|
1508
|
-
* Get number of sent LINE notification messages
|
|
1509
|
-
*
|
|
1741
|
+
* Get number of sent LINE notification messages
|
|
1742
|
+
* Calls `GET https://api.line.me/v2/bot/message/delivery/pnp`.
|
|
1743
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1510
1744
|
* @param date Date the message was sent Format: `yyyyMMdd` (Example:`20211231`) Time zone: UTC+9
|
|
1511
|
-
*
|
|
1512
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">
|
|
1745
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1746
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages">LINE Developers documentation</a>
|
|
1513
1747
|
*/
|
|
1514
1748
|
public async getPNPMessageStatisticsWithHttpInfo(
|
|
1515
1749
|
date: string,
|
|
@@ -1519,9 +1753,11 @@ export abstract class LineBotClientBase {
|
|
|
1519
1753
|
|
|
1520
1754
|
/**
|
|
1521
1755
|
* Get profile
|
|
1756
|
+
* Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
|
|
1757
|
+
* To inspect the HTTP status code or response headers, use {@link getProfileWithHttpInfo}.
|
|
1522
1758
|
* @param userId User ID
|
|
1523
|
-
*
|
|
1524
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">
|
|
1759
|
+
* @returns A promise resolving to the response body.
|
|
1760
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
|
|
1525
1761
|
*/
|
|
1526
1762
|
public async getProfile(
|
|
1527
1763
|
userId: string,
|
|
@@ -1530,11 +1766,12 @@ export abstract class LineBotClientBase {
|
|
|
1530
1766
|
}
|
|
1531
1767
|
|
|
1532
1768
|
/**
|
|
1533
|
-
* Get profile
|
|
1534
|
-
*
|
|
1769
|
+
* Get profile
|
|
1770
|
+
* Calls `GET https://api.line.me/v2/bot/profile/{userId}`.
|
|
1771
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1535
1772
|
* @param userId User ID
|
|
1536
|
-
*
|
|
1537
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">
|
|
1773
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1774
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-profile">LINE Developers documentation</a>
|
|
1538
1775
|
*/
|
|
1539
1776
|
public async getProfileWithHttpInfo(
|
|
1540
1777
|
userId: string,
|
|
@@ -1544,9 +1781,11 @@ export abstract class LineBotClientBase {
|
|
|
1544
1781
|
|
|
1545
1782
|
/**
|
|
1546
1783
|
* Gets a rich menu via a rich menu ID.
|
|
1784
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
1785
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuWithHttpInfo}.
|
|
1547
1786
|
* @param richMenuId ID of a rich menu
|
|
1548
|
-
*
|
|
1549
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">
|
|
1787
|
+
* @returns A promise resolving to the response body.
|
|
1788
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
|
|
1550
1789
|
*/
|
|
1551
1790
|
public async getRichMenu(
|
|
1552
1791
|
richMenuId: string,
|
|
@@ -1555,11 +1794,12 @@ export abstract class LineBotClientBase {
|
|
|
1555
1794
|
}
|
|
1556
1795
|
|
|
1557
1796
|
/**
|
|
1558
|
-
* Gets a rich menu via a rich menu ID
|
|
1559
|
-
*
|
|
1797
|
+
* Gets a rich menu via a rich menu ID.
|
|
1798
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/{richMenuId}`.
|
|
1799
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1560
1800
|
* @param richMenuId ID of a rich menu
|
|
1561
|
-
*
|
|
1562
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">
|
|
1801
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1802
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu">LINE Developers documentation</a>
|
|
1563
1803
|
*/
|
|
1564
1804
|
public async getRichMenuWithHttpInfo(
|
|
1565
1805
|
richMenuId: string,
|
|
@@ -1569,9 +1809,11 @@ export abstract class LineBotClientBase {
|
|
|
1569
1809
|
|
|
1570
1810
|
/**
|
|
1571
1811
|
* Get rich menu alias information
|
|
1812
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1813
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuAliasWithHttpInfo}.
|
|
1572
1814
|
* @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
|
|
1573
|
-
*
|
|
1574
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">
|
|
1815
|
+
* @returns A promise resolving to the response body.
|
|
1816
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
|
|
1575
1817
|
*/
|
|
1576
1818
|
public async getRichMenuAlias(
|
|
1577
1819
|
richMenuAliasId: string,
|
|
@@ -1580,11 +1822,12 @@ export abstract class LineBotClientBase {
|
|
|
1580
1822
|
}
|
|
1581
1823
|
|
|
1582
1824
|
/**
|
|
1583
|
-
* Get rich menu alias information
|
|
1584
|
-
*
|
|
1825
|
+
* Get rich menu alias information
|
|
1826
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
1827
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1585
1828
|
* @param richMenuAliasId The rich menu alias ID whose information you want to obtain.
|
|
1586
|
-
*
|
|
1587
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">
|
|
1829
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1830
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id">LINE Developers documentation</a>
|
|
1588
1831
|
*/
|
|
1589
1832
|
public async getRichMenuAliasWithHttpInfo(
|
|
1590
1833
|
richMenuAliasId: string,
|
|
@@ -1596,18 +1839,21 @@ export abstract class LineBotClientBase {
|
|
|
1596
1839
|
|
|
1597
1840
|
/**
|
|
1598
1841
|
* Get list of rich menu alias
|
|
1599
|
-
*
|
|
1600
|
-
* @
|
|
1842
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
|
|
1843
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuAliasListWithHttpInfo}.
|
|
1844
|
+
* @returns A promise resolving to the response body.
|
|
1845
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
|
|
1601
1846
|
*/
|
|
1602
1847
|
public async getRichMenuAliasList(): Promise<messagingApi.RichMenuAliasListResponse> {
|
|
1603
1848
|
return this.clients.messagingApi.getRichMenuAliasList();
|
|
1604
1849
|
}
|
|
1605
1850
|
|
|
1606
1851
|
/**
|
|
1607
|
-
* Get list of rich menu alias
|
|
1608
|
-
*
|
|
1609
|
-
*
|
|
1610
|
-
* @
|
|
1852
|
+
* Get list of rich menu alias
|
|
1853
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/alias/list`.
|
|
1854
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1855
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1856
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list">LINE Developers documentation</a>
|
|
1611
1857
|
*/
|
|
1612
1858
|
public async getRichMenuAliasListWithHttpInfo(): Promise<
|
|
1613
1859
|
Types.ApiResponseType<messagingApi.RichMenuAliasListResponse>
|
|
@@ -1617,9 +1863,11 @@ export abstract class LineBotClientBase {
|
|
|
1617
1863
|
|
|
1618
1864
|
/**
|
|
1619
1865
|
* Get the status of Replace or unlink a linked rich menus in batches.
|
|
1866
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
|
|
1867
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuBatchProgressWithHttpInfo}.
|
|
1620
1868
|
* @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
|
|
1621
|
-
*
|
|
1622
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">
|
|
1869
|
+
* @returns A promise resolving to the response body.
|
|
1870
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
|
|
1623
1871
|
*/
|
|
1624
1872
|
public async getRichMenuBatchProgress(
|
|
1625
1873
|
requestId: string,
|
|
@@ -1628,11 +1876,12 @@ export abstract class LineBotClientBase {
|
|
|
1628
1876
|
}
|
|
1629
1877
|
|
|
1630
1878
|
/**
|
|
1631
|
-
* Get the status of Replace or unlink a linked rich menus in batches
|
|
1632
|
-
*
|
|
1879
|
+
* Get the status of Replace or unlink a linked rich menus in batches.
|
|
1880
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/progress/batch`.
|
|
1881
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1633
1882
|
* @param requestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
|
|
1634
|
-
*
|
|
1635
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">
|
|
1883
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1884
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status">LINE Developers documentation</a>
|
|
1636
1885
|
*/
|
|
1637
1886
|
public async getRichMenuBatchProgressWithHttpInfo(
|
|
1638
1887
|
requestId: string,
|
|
@@ -1646,9 +1895,11 @@ export abstract class LineBotClientBase {
|
|
|
1646
1895
|
|
|
1647
1896
|
/**
|
|
1648
1897
|
* Get rich menu ID of user
|
|
1898
|
+
* Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
1899
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuIdOfUserWithHttpInfo}.
|
|
1649
1900
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1650
|
-
*
|
|
1651
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">
|
|
1901
|
+
* @returns A promise resolving to the response body.
|
|
1902
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
|
|
1652
1903
|
*/
|
|
1653
1904
|
public async getRichMenuIdOfUser(
|
|
1654
1905
|
userId: string,
|
|
@@ -1657,11 +1908,12 @@ export abstract class LineBotClientBase {
|
|
|
1657
1908
|
}
|
|
1658
1909
|
|
|
1659
1910
|
/**
|
|
1660
|
-
* Get rich menu ID of user
|
|
1661
|
-
*
|
|
1911
|
+
* Get rich menu ID of user
|
|
1912
|
+
* Calls `GET https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
1913
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1662
1914
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1663
|
-
*
|
|
1664
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">
|
|
1915
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1916
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user">LINE Developers documentation</a>
|
|
1665
1917
|
*/
|
|
1666
1918
|
public async getRichMenuIdOfUserWithHttpInfo(
|
|
1667
1919
|
userId: string,
|
|
@@ -1671,18 +1923,21 @@ export abstract class LineBotClientBase {
|
|
|
1671
1923
|
|
|
1672
1924
|
/**
|
|
1673
1925
|
* Get rich menu list
|
|
1674
|
-
*
|
|
1675
|
-
* @
|
|
1926
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/list`.
|
|
1927
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuListWithHttpInfo}.
|
|
1928
|
+
* @returns A promise resolving to the response body.
|
|
1929
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
|
|
1676
1930
|
*/
|
|
1677
1931
|
public async getRichMenuList(): Promise<messagingApi.RichMenuListResponse> {
|
|
1678
1932
|
return this.clients.messagingApi.getRichMenuList();
|
|
1679
1933
|
}
|
|
1680
1934
|
|
|
1681
1935
|
/**
|
|
1682
|
-
* Get rich menu list
|
|
1683
|
-
*
|
|
1684
|
-
*
|
|
1685
|
-
* @
|
|
1936
|
+
* Get rich menu list
|
|
1937
|
+
* Calls `GET https://api.line.me/v2/bot/richmenu/list`.
|
|
1938
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1939
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1940
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list">LINE Developers documentation</a>
|
|
1686
1941
|
*/
|
|
1687
1942
|
public async getRichMenuListWithHttpInfo(): Promise<
|
|
1688
1943
|
Types.ApiResponseType<messagingApi.RichMenuListResponse>
|
|
@@ -1692,9 +1947,11 @@ export abstract class LineBotClientBase {
|
|
|
1692
1947
|
|
|
1693
1948
|
/**
|
|
1694
1949
|
* Get number of users in a multi-person chat
|
|
1950
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
|
|
1951
|
+
* To inspect the HTTP status code or response headers, use {@link getRoomMemberCountWithHttpInfo}.
|
|
1695
1952
|
* @param roomId Room ID
|
|
1696
|
-
*
|
|
1697
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">
|
|
1953
|
+
* @returns A promise resolving to the response body.
|
|
1954
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
|
|
1698
1955
|
*/
|
|
1699
1956
|
public async getRoomMemberCount(
|
|
1700
1957
|
roomId: string,
|
|
@@ -1703,11 +1960,12 @@ export abstract class LineBotClientBase {
|
|
|
1703
1960
|
}
|
|
1704
1961
|
|
|
1705
1962
|
/**
|
|
1706
|
-
* Get number of users in a multi-person chat
|
|
1707
|
-
*
|
|
1963
|
+
* Get number of users in a multi-person chat
|
|
1964
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/count`.
|
|
1965
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1708
1966
|
* @param roomId Room ID
|
|
1709
|
-
*
|
|
1710
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">
|
|
1967
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1968
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-members-room-count">LINE Developers documentation</a>
|
|
1711
1969
|
*/
|
|
1712
1970
|
public async getRoomMemberCountWithHttpInfo(
|
|
1713
1971
|
roomId: string,
|
|
@@ -1717,10 +1975,12 @@ export abstract class LineBotClientBase {
|
|
|
1717
1975
|
|
|
1718
1976
|
/**
|
|
1719
1977
|
* Get multi-person chat member profile
|
|
1978
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
|
|
1979
|
+
* To inspect the HTTP status code or response headers, use {@link getRoomMemberProfileWithHttpInfo}.
|
|
1720
1980
|
* @param roomId Room ID
|
|
1721
1981
|
* @param userId User ID
|
|
1722
|
-
*
|
|
1723
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">
|
|
1982
|
+
* @returns A promise resolving to the response body.
|
|
1983
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
|
|
1724
1984
|
*/
|
|
1725
1985
|
public async getRoomMemberProfile(
|
|
1726
1986
|
roomId: string,
|
|
@@ -1730,12 +1990,13 @@ export abstract class LineBotClientBase {
|
|
|
1730
1990
|
}
|
|
1731
1991
|
|
|
1732
1992
|
/**
|
|
1733
|
-
* Get multi-person chat member profile
|
|
1734
|
-
*
|
|
1993
|
+
* Get multi-person chat member profile
|
|
1994
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/member/{userId}`.
|
|
1995
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1735
1996
|
* @param roomId Room ID
|
|
1736
1997
|
* @param userId User ID
|
|
1737
|
-
*
|
|
1738
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">
|
|
1998
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
1999
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile">LINE Developers documentation</a>
|
|
1739
2000
|
*/
|
|
1740
2001
|
public async getRoomMemberProfileWithHttpInfo(
|
|
1741
2002
|
roomId: string,
|
|
@@ -1749,10 +2010,12 @@ export abstract class LineBotClientBase {
|
|
|
1749
2010
|
|
|
1750
2011
|
/**
|
|
1751
2012
|
* Get multi-person chat member user IDs
|
|
2013
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
|
|
2014
|
+
* To inspect the HTTP status code or response headers, use {@link getRoomMembersIdsWithHttpInfo}.
|
|
1752
2015
|
* @param roomId Room ID
|
|
1753
2016
|
* @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.
|
|
1754
|
-
*
|
|
1755
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">
|
|
2017
|
+
* @returns A promise resolving to the response body.
|
|
2018
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
|
|
1756
2019
|
*/
|
|
1757
2020
|
public async getRoomMembersIds(
|
|
1758
2021
|
roomId: string,
|
|
@@ -1762,12 +2025,13 @@ export abstract class LineBotClientBase {
|
|
|
1762
2025
|
}
|
|
1763
2026
|
|
|
1764
2027
|
/**
|
|
1765
|
-
* Get multi-person chat member user IDs
|
|
1766
|
-
*
|
|
2028
|
+
* Get multi-person chat member user IDs
|
|
2029
|
+
* Calls `GET https://api.line.me/v2/bot/room/{roomId}/members/ids`.
|
|
2030
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1767
2031
|
* @param roomId Room ID
|
|
1768
2032
|
* @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.
|
|
1769
|
-
*
|
|
1770
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">
|
|
2033
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2034
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids">LINE Developers documentation</a>
|
|
1771
2035
|
*/
|
|
1772
2036
|
public async getRoomMembersIdsWithHttpInfo(
|
|
1773
2037
|
roomId: string,
|
|
@@ -1781,18 +2045,21 @@ export abstract class LineBotClientBase {
|
|
|
1781
2045
|
|
|
1782
2046
|
/**
|
|
1783
2047
|
* Get webhook endpoint information
|
|
1784
|
-
*
|
|
1785
|
-
* @
|
|
2048
|
+
* Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
2049
|
+
* To inspect the HTTP status code or response headers, use {@link getWebhookEndpointWithHttpInfo}.
|
|
2050
|
+
* @returns A promise resolving to the response body.
|
|
2051
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
|
|
1786
2052
|
*/
|
|
1787
2053
|
public async getWebhookEndpoint(): Promise<messagingApi.GetWebhookEndpointResponse> {
|
|
1788
2054
|
return this.clients.messagingApi.getWebhookEndpoint();
|
|
1789
2055
|
}
|
|
1790
2056
|
|
|
1791
2057
|
/**
|
|
1792
|
-
* Get webhook endpoint information
|
|
1793
|
-
*
|
|
1794
|
-
*
|
|
1795
|
-
* @
|
|
2058
|
+
* Get webhook endpoint information
|
|
2059
|
+
* Calls `GET https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
2060
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2061
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2062
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information">LINE Developers documentation</a>
|
|
1796
2063
|
*/
|
|
1797
2064
|
public async getWebhookEndpointWithHttpInfo(): Promise<
|
|
1798
2065
|
Types.ApiResponseType<messagingApi.GetWebhookEndpointResponse>
|
|
@@ -1802,9 +2069,11 @@ export abstract class LineBotClientBase {
|
|
|
1802
2069
|
|
|
1803
2070
|
/**
|
|
1804
2071
|
* Issue link token
|
|
2072
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
|
|
2073
|
+
* To inspect the HTTP status code or response headers, use {@link issueLinkTokenWithHttpInfo}.
|
|
1805
2074
|
* @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.
|
|
1806
|
-
*
|
|
1807
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">
|
|
2075
|
+
* @returns A promise resolving to the response body.
|
|
2076
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
|
|
1808
2077
|
*/
|
|
1809
2078
|
public async issueLinkToken(
|
|
1810
2079
|
userId: string,
|
|
@@ -1813,11 +2082,12 @@ export abstract class LineBotClientBase {
|
|
|
1813
2082
|
}
|
|
1814
2083
|
|
|
1815
2084
|
/**
|
|
1816
|
-
* Issue link token
|
|
1817
|
-
*
|
|
2085
|
+
* Issue link token
|
|
2086
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/linkToken`.
|
|
2087
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1818
2088
|
* @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.
|
|
1819
|
-
*
|
|
1820
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">
|
|
2089
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2090
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-link-token">LINE Developers documentation</a>
|
|
1821
2091
|
*/
|
|
1822
2092
|
public async issueLinkTokenWithHttpInfo(
|
|
1823
2093
|
userId: string,
|
|
@@ -1827,9 +2097,11 @@ export abstract class LineBotClientBase {
|
|
|
1827
2097
|
|
|
1828
2098
|
/**
|
|
1829
2099
|
* Leave group chat
|
|
2100
|
+
* Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
|
|
2101
|
+
* To inspect the HTTP status code or response headers, use {@link leaveGroupWithHttpInfo}.
|
|
1830
2102
|
* @param groupId Group ID
|
|
1831
|
-
*
|
|
1832
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">
|
|
2103
|
+
* @returns A promise resolving to the response body.
|
|
2104
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
|
|
1833
2105
|
*/
|
|
1834
2106
|
public async leaveGroup(
|
|
1835
2107
|
groupId: string,
|
|
@@ -1838,11 +2110,12 @@ export abstract class LineBotClientBase {
|
|
|
1838
2110
|
}
|
|
1839
2111
|
|
|
1840
2112
|
/**
|
|
1841
|
-
* Leave group chat
|
|
1842
|
-
*
|
|
2113
|
+
* Leave group chat
|
|
2114
|
+
* Calls `POST https://api.line.me/v2/bot/group/{groupId}/leave`.
|
|
2115
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1843
2116
|
* @param groupId Group ID
|
|
1844
|
-
*
|
|
1845
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">
|
|
2117
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2118
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-group">LINE Developers documentation</a>
|
|
1846
2119
|
*/
|
|
1847
2120
|
public async leaveGroupWithHttpInfo(
|
|
1848
2121
|
groupId: string,
|
|
@@ -1852,9 +2125,11 @@ export abstract class LineBotClientBase {
|
|
|
1852
2125
|
|
|
1853
2126
|
/**
|
|
1854
2127
|
* Leave multi-person chat
|
|
2128
|
+
* Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
|
|
2129
|
+
* To inspect the HTTP status code or response headers, use {@link leaveRoomWithHttpInfo}.
|
|
1855
2130
|
* @param roomId Room ID
|
|
1856
|
-
*
|
|
1857
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">
|
|
2131
|
+
* @returns A promise resolving to the response body.
|
|
2132
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
|
|
1858
2133
|
*/
|
|
1859
2134
|
public async leaveRoom(
|
|
1860
2135
|
roomId: string,
|
|
@@ -1863,11 +2138,12 @@ export abstract class LineBotClientBase {
|
|
|
1863
2138
|
}
|
|
1864
2139
|
|
|
1865
2140
|
/**
|
|
1866
|
-
* Leave multi-person chat
|
|
1867
|
-
*
|
|
2141
|
+
* Leave multi-person chat
|
|
2142
|
+
* Calls `POST https://api.line.me/v2/bot/room/{roomId}/leave`.
|
|
2143
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1868
2144
|
* @param roomId Room ID
|
|
1869
|
-
*
|
|
1870
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">
|
|
2145
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2146
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#leave-room">LINE Developers documentation</a>
|
|
1871
2147
|
*/
|
|
1872
2148
|
public async leaveRoomWithHttpInfo(
|
|
1873
2149
|
roomId: string,
|
|
@@ -1877,10 +2153,12 @@ export abstract class LineBotClientBase {
|
|
|
1877
2153
|
|
|
1878
2154
|
/**
|
|
1879
2155
|
* Link rich menu to user.
|
|
2156
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
|
|
2157
|
+
* To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUserWithHttpInfo}.
|
|
1880
2158
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1881
2159
|
* @param richMenuId ID of a rich menu
|
|
1882
|
-
*
|
|
1883
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">
|
|
2160
|
+
* @returns A promise resolving to the response body.
|
|
2161
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
|
|
1884
2162
|
*/
|
|
1885
2163
|
public async linkRichMenuIdToUser(
|
|
1886
2164
|
userId: string,
|
|
@@ -1890,12 +2168,13 @@ export abstract class LineBotClientBase {
|
|
|
1890
2168
|
}
|
|
1891
2169
|
|
|
1892
2170
|
/**
|
|
1893
|
-
* Link rich menu to user
|
|
1894
|
-
*
|
|
2171
|
+
* Link rich menu to user.
|
|
2172
|
+
* Calls `POST https://api.line.me/v2/bot/user/{userId}/richmenu/{richMenuId}`.
|
|
2173
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1895
2174
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
1896
2175
|
* @param richMenuId ID of a rich menu
|
|
1897
|
-
*
|
|
1898
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">
|
|
2176
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2177
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user">LINE Developers documentation</a>
|
|
1899
2178
|
*/
|
|
1900
2179
|
public async linkRichMenuIdToUserWithHttpInfo(
|
|
1901
2180
|
userId: string,
|
|
@@ -1909,9 +2188,11 @@ export abstract class LineBotClientBase {
|
|
|
1909
2188
|
|
|
1910
2189
|
/**
|
|
1911
2190
|
* Link rich menu to multiple users
|
|
2191
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
|
|
2192
|
+
* To inspect the HTTP status code or response headers, use {@link linkRichMenuIdToUsersWithHttpInfo}.
|
|
1912
2193
|
* @param richMenuBulkLinkRequest
|
|
1913
|
-
*
|
|
1914
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">
|
|
2194
|
+
* @returns A promise resolving to the response body.
|
|
2195
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
|
|
1915
2196
|
*/
|
|
1916
2197
|
public async linkRichMenuIdToUsers(
|
|
1917
2198
|
richMenuBulkLinkRequest: messagingApi.RichMenuBulkLinkRequest,
|
|
@@ -1922,11 +2203,12 @@ export abstract class LineBotClientBase {
|
|
|
1922
2203
|
}
|
|
1923
2204
|
|
|
1924
2205
|
/**
|
|
1925
|
-
* Link rich menu to multiple users
|
|
1926
|
-
*
|
|
2206
|
+
* Link rich menu to multiple users
|
|
2207
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/link`.
|
|
2208
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1927
2209
|
* @param richMenuBulkLinkRequest
|
|
1928
|
-
*
|
|
1929
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">
|
|
2210
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2211
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users">LINE Developers documentation</a>
|
|
1930
2212
|
*/
|
|
1931
2213
|
public async linkRichMenuIdToUsersWithHttpInfo(
|
|
1932
2214
|
richMenuBulkLinkRequest: messagingApi.RichMenuBulkLinkRequest,
|
|
@@ -1938,11 +2220,13 @@ export abstract class LineBotClientBase {
|
|
|
1938
2220
|
|
|
1939
2221
|
/**
|
|
1940
2222
|
* Get a paginated list of coupons.
|
|
2223
|
+
* Calls `GET https://api.line.me/v2/bot/coupon`.
|
|
2224
|
+
* To inspect the HTTP status code or response headers, use {@link listCouponWithHttpInfo}.
|
|
1941
2225
|
* @param status Filter coupons by their status.
|
|
1942
2226
|
* @param start Pagination token to retrieve the next page of results.
|
|
1943
2227
|
* @param limit Maximum number of coupons to return per request.
|
|
1944
|
-
*
|
|
1945
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">
|
|
2228
|
+
* @returns A promise resolving to the response body.
|
|
2229
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
|
|
1946
2230
|
*/
|
|
1947
2231
|
public async listCoupon(
|
|
1948
2232
|
status?: Set<"DRAFT" | "RUNNING" | "CLOSED">,
|
|
@@ -1953,13 +2237,14 @@ export abstract class LineBotClientBase {
|
|
|
1953
2237
|
}
|
|
1954
2238
|
|
|
1955
2239
|
/**
|
|
1956
|
-
* Get a paginated list of coupons
|
|
1957
|
-
*
|
|
2240
|
+
* Get a paginated list of coupons.
|
|
2241
|
+
* Calls `GET https://api.line.me/v2/bot/coupon`.
|
|
2242
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1958
2243
|
* @param status Filter coupons by their status.
|
|
1959
2244
|
* @param start Pagination token to retrieve the next page of results.
|
|
1960
2245
|
* @param limit Maximum number of coupons to return per request.
|
|
1961
|
-
*
|
|
1962
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">
|
|
2246
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2247
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-coupons-list">LINE Developers documentation</a>
|
|
1963
2248
|
*/
|
|
1964
2249
|
public async listCouponWithHttpInfo(
|
|
1965
2250
|
status?: Set<"DRAFT" | "RUNNING" | "CLOSED">,
|
|
@@ -1977,9 +2262,11 @@ export abstract class LineBotClientBase {
|
|
|
1977
2262
|
|
|
1978
2263
|
/**
|
|
1979
2264
|
* Mark messages from users as read
|
|
2265
|
+
* Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
|
|
2266
|
+
* To inspect the HTTP status code or response headers, use {@link markMessagesAsReadWithHttpInfo}.
|
|
1980
2267
|
* @param markMessagesAsReadRequest
|
|
1981
|
-
*
|
|
1982
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">
|
|
2268
|
+
* @returns A promise resolving to the response body.
|
|
2269
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
|
|
1983
2270
|
*/
|
|
1984
2271
|
public async markMessagesAsRead(
|
|
1985
2272
|
markMessagesAsReadRequest: messagingApi.MarkMessagesAsReadRequest,
|
|
@@ -1990,11 +2277,12 @@ export abstract class LineBotClientBase {
|
|
|
1990
2277
|
}
|
|
1991
2278
|
|
|
1992
2279
|
/**
|
|
1993
|
-
* Mark messages from users as read
|
|
1994
|
-
*
|
|
2280
|
+
* Mark messages from users as read
|
|
2281
|
+
* Calls `POST https://api.line.me/v2/bot/message/markAsRead`.
|
|
2282
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
1995
2283
|
* @param markMessagesAsReadRequest
|
|
1996
|
-
*
|
|
1997
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">
|
|
2284
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2285
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read">LINE Developers documentation</a>
|
|
1998
2286
|
*/
|
|
1999
2287
|
public async markMessagesAsReadWithHttpInfo(
|
|
2000
2288
|
markMessagesAsReadRequest: messagingApi.MarkMessagesAsReadRequest,
|
|
@@ -2006,9 +2294,11 @@ export abstract class LineBotClientBase {
|
|
|
2006
2294
|
|
|
2007
2295
|
/**
|
|
2008
2296
|
* Mark messages from users as read by token
|
|
2297
|
+
* Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
|
|
2298
|
+
* To inspect the HTTP status code or response headers, use {@link markMessagesAsReadByTokenWithHttpInfo}.
|
|
2009
2299
|
* @param markMessagesAsReadByTokenRequest
|
|
2010
|
-
*
|
|
2011
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">
|
|
2300
|
+
* @returns A promise resolving to the response body.
|
|
2301
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
|
|
2012
2302
|
*/
|
|
2013
2303
|
public async markMessagesAsReadByToken(
|
|
2014
2304
|
markMessagesAsReadByTokenRequest: messagingApi.MarkMessagesAsReadByTokenRequest,
|
|
@@ -2019,11 +2309,12 @@ export abstract class LineBotClientBase {
|
|
|
2019
2309
|
}
|
|
2020
2310
|
|
|
2021
2311
|
/**
|
|
2022
|
-
* Mark messages from users as read by token
|
|
2023
|
-
*
|
|
2312
|
+
* Mark messages from users as read by token
|
|
2313
|
+
* Calls `POST https://api.line.me/v2/bot/chat/markAsRead`.
|
|
2314
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2024
2315
|
* @param markMessagesAsReadByTokenRequest
|
|
2025
|
-
*
|
|
2026
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">
|
|
2316
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2317
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#mark-as-read">LINE Developers documentation</a>
|
|
2027
2318
|
*/
|
|
2028
2319
|
public async markMessagesAsReadByTokenWithHttpInfo(
|
|
2029
2320
|
markMessagesAsReadByTokenRequest: messagingApi.MarkMessagesAsReadByTokenRequest,
|
|
@@ -2035,10 +2326,12 @@ export abstract class LineBotClientBase {
|
|
|
2035
2326
|
|
|
2036
2327
|
/**
|
|
2037
2328
|
* An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
|
|
2329
|
+
* Calls `POST https://api.line.me/v2/bot/message/multicast`.
|
|
2330
|
+
* To inspect the HTTP status code or response headers, use {@link multicastWithHttpInfo}.
|
|
2038
2331
|
* @param multicastRequest
|
|
2039
2332
|
* @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.
|
|
2040
|
-
*
|
|
2041
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">
|
|
2333
|
+
* @returns A promise resolving to the response body.
|
|
2334
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
|
|
2042
2335
|
*/
|
|
2043
2336
|
public async multicast(
|
|
2044
2337
|
multicastRequest: messagingApi.MulticastRequest,
|
|
@@ -2048,12 +2341,13 @@ export abstract class LineBotClientBase {
|
|
|
2048
2341
|
}
|
|
2049
2342
|
|
|
2050
2343
|
/**
|
|
2051
|
-
* An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats
|
|
2052
|
-
*
|
|
2344
|
+
* An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.
|
|
2345
|
+
* Calls `POST https://api.line.me/v2/bot/message/multicast`.
|
|
2346
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2053
2347
|
* @param multicastRequest
|
|
2054
2348
|
* @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.
|
|
2055
|
-
*
|
|
2056
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">
|
|
2349
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2350
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">LINE Developers documentation</a>
|
|
2057
2351
|
*/
|
|
2058
2352
|
public async multicastWithHttpInfo(
|
|
2059
2353
|
multicastRequest: messagingApi.MulticastRequest,
|
|
@@ -2067,10 +2361,12 @@ export abstract class LineBotClientBase {
|
|
|
2067
2361
|
|
|
2068
2362
|
/**
|
|
2069
2363
|
* Send narrowcast message
|
|
2364
|
+
* Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
|
|
2365
|
+
* To inspect the HTTP status code or response headers, use {@link narrowcastWithHttpInfo}.
|
|
2070
2366
|
* @param narrowcastRequest
|
|
2071
2367
|
* @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.
|
|
2072
|
-
*
|
|
2073
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">
|
|
2368
|
+
* @returns A promise resolving to the response body.
|
|
2369
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
|
|
2074
2370
|
*/
|
|
2075
2371
|
public async narrowcast(
|
|
2076
2372
|
narrowcastRequest: messagingApi.NarrowcastRequest,
|
|
@@ -2083,12 +2379,13 @@ export abstract class LineBotClientBase {
|
|
|
2083
2379
|
}
|
|
2084
2380
|
|
|
2085
2381
|
/**
|
|
2086
|
-
* Send narrowcast message
|
|
2087
|
-
*
|
|
2382
|
+
* Send narrowcast message
|
|
2383
|
+
* Calls `POST https://api.line.me/v2/bot/message/narrowcast`.
|
|
2384
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2088
2385
|
* @param narrowcastRequest
|
|
2089
2386
|
* @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.
|
|
2090
|
-
*
|
|
2091
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">
|
|
2387
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2388
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">LINE Developers documentation</a>
|
|
2092
2389
|
*/
|
|
2093
2390
|
public async narrowcastWithHttpInfo(
|
|
2094
2391
|
narrowcastRequest: messagingApi.NarrowcastRequest,
|
|
@@ -2102,10 +2399,12 @@ export abstract class LineBotClientBase {
|
|
|
2102
2399
|
|
|
2103
2400
|
/**
|
|
2104
2401
|
* Sends a message to a user, group chat, or multi-person chat at any time.
|
|
2402
|
+
* Calls `POST https://api.line.me/v2/bot/message/push`.
|
|
2403
|
+
* To inspect the HTTP status code or response headers, use {@link pushMessageWithHttpInfo}.
|
|
2105
2404
|
* @param pushMessageRequest
|
|
2106
2405
|
* @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.
|
|
2107
|
-
*
|
|
2108
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">
|
|
2406
|
+
* @returns A promise resolving to the response body.
|
|
2407
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
|
|
2109
2408
|
*/
|
|
2110
2409
|
public async pushMessage(
|
|
2111
2410
|
pushMessageRequest: messagingApi.PushMessageRequest,
|
|
@@ -2118,12 +2417,13 @@ export abstract class LineBotClientBase {
|
|
|
2118
2417
|
}
|
|
2119
2418
|
|
|
2120
2419
|
/**
|
|
2121
|
-
* Sends a message to a user, group chat, or multi-person chat at any time
|
|
2122
|
-
*
|
|
2420
|
+
* Sends a message to a user, group chat, or multi-person chat at any time.
|
|
2421
|
+
* Calls `POST https://api.line.me/v2/bot/message/push`.
|
|
2422
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2123
2423
|
* @param pushMessageRequest
|
|
2124
2424
|
* @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.
|
|
2125
|
-
*
|
|
2126
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">
|
|
2425
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2426
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">LINE Developers documentation</a>
|
|
2127
2427
|
*/
|
|
2128
2428
|
public async pushMessageWithHttpInfo(
|
|
2129
2429
|
pushMessageRequest: messagingApi.PushMessageRequest,
|
|
@@ -2137,10 +2437,12 @@ export abstract class LineBotClientBase {
|
|
|
2137
2437
|
|
|
2138
2438
|
/**
|
|
2139
2439
|
* Send LINE notification message
|
|
2440
|
+
* Calls `POST https://api.line.me/bot/pnp/push`.
|
|
2441
|
+
* To inspect the HTTP status code or response headers, use {@link pushMessagesByPhoneWithHttpInfo}.
|
|
2140
2442
|
* @param pnpMessagesRequest
|
|
2141
2443
|
* @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
|
|
2142
|
-
*
|
|
2143
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">
|
|
2444
|
+
* @returns A promise resolving to the response body.
|
|
2445
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
|
|
2144
2446
|
*/
|
|
2145
2447
|
public async pushMessagesByPhone(
|
|
2146
2448
|
pnpMessagesRequest: messagingApi.PnpMessagesRequest,
|
|
@@ -2153,12 +2455,13 @@ export abstract class LineBotClientBase {
|
|
|
2153
2455
|
}
|
|
2154
2456
|
|
|
2155
2457
|
/**
|
|
2156
|
-
* Send LINE notification message
|
|
2157
|
-
*
|
|
2458
|
+
* Send LINE notification message
|
|
2459
|
+
* Calls `POST https://api.line.me/bot/pnp/push`.
|
|
2460
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2158
2461
|
* @param pnpMessagesRequest
|
|
2159
2462
|
* @param xLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
|
|
2160
|
-
*
|
|
2161
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">
|
|
2463
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2464
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">LINE Developers documentation</a>
|
|
2162
2465
|
*/
|
|
2163
2466
|
public async pushMessagesByPhoneWithHttpInfo(
|
|
2164
2467
|
pnpMessagesRequest: messagingApi.PnpMessagesRequest,
|
|
@@ -2172,9 +2475,11 @@ export abstract class LineBotClientBase {
|
|
|
2172
2475
|
|
|
2173
2476
|
/**
|
|
2174
2477
|
* Send reply message
|
|
2478
|
+
* Calls `POST https://api.line.me/v2/bot/message/reply`.
|
|
2479
|
+
* To inspect the HTTP status code or response headers, use {@link replyMessageWithHttpInfo}.
|
|
2175
2480
|
* @param replyMessageRequest
|
|
2176
|
-
*
|
|
2177
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">
|
|
2481
|
+
* @returns A promise resolving to the response body.
|
|
2482
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
|
|
2178
2483
|
*/
|
|
2179
2484
|
public async replyMessage(
|
|
2180
2485
|
replyMessageRequest: messagingApi.ReplyMessageRequest,
|
|
@@ -2183,11 +2488,12 @@ export abstract class LineBotClientBase {
|
|
|
2183
2488
|
}
|
|
2184
2489
|
|
|
2185
2490
|
/**
|
|
2186
|
-
* Send reply message
|
|
2187
|
-
*
|
|
2491
|
+
* Send reply message
|
|
2492
|
+
* Calls `POST https://api.line.me/v2/bot/message/reply`.
|
|
2493
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2188
2494
|
* @param replyMessageRequest
|
|
2189
|
-
*
|
|
2190
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">
|
|
2495
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2496
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-reply-message">LINE Developers documentation</a>
|
|
2191
2497
|
*/
|
|
2192
2498
|
public async replyMessageWithHttpInfo(
|
|
2193
2499
|
replyMessageRequest: messagingApi.ReplyMessageRequest,
|
|
@@ -2199,9 +2505,11 @@ export abstract class LineBotClientBase {
|
|
|
2199
2505
|
|
|
2200
2506
|
/**
|
|
2201
2507
|
* 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
|
|
2508
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
|
|
2509
|
+
* To inspect the HTTP status code or response headers, use {@link richMenuBatchWithHttpInfo}.
|
|
2202
2510
|
* @param richMenuBatchRequest
|
|
2203
|
-
*
|
|
2204
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">
|
|
2511
|
+
* @returns A promise resolving to the response body.
|
|
2512
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
|
|
2205
2513
|
*/
|
|
2206
2514
|
public async richMenuBatch(
|
|
2207
2515
|
richMenuBatchRequest: messagingApi.RichMenuBatchRequest,
|
|
@@ -2210,11 +2518,12 @@ export abstract class LineBotClientBase {
|
|
|
2210
2518
|
}
|
|
2211
2519
|
|
|
2212
2520
|
/**
|
|
2213
|
-
* 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
|
|
2214
|
-
*
|
|
2521
|
+
* 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
|
|
2522
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/batch`.
|
|
2523
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2215
2524
|
* @param richMenuBatchRequest
|
|
2216
|
-
*
|
|
2217
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">
|
|
2525
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2526
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users">LINE Developers documentation</a>
|
|
2218
2527
|
*/
|
|
2219
2528
|
public async richMenuBatchWithHttpInfo(
|
|
2220
2529
|
richMenuBatchRequest: messagingApi.RichMenuBatchRequest,
|
|
@@ -2226,9 +2535,11 @@ export abstract class LineBotClientBase {
|
|
|
2226
2535
|
|
|
2227
2536
|
/**
|
|
2228
2537
|
* Set default rich menu
|
|
2538
|
+
* Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
|
|
2539
|
+
* To inspect the HTTP status code or response headers, use {@link setDefaultRichMenuWithHttpInfo}.
|
|
2229
2540
|
* @param richMenuId ID of a rich menu
|
|
2230
|
-
*
|
|
2231
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">
|
|
2541
|
+
* @returns A promise resolving to the response body.
|
|
2542
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
|
|
2232
2543
|
*/
|
|
2233
2544
|
public async setDefaultRichMenu(
|
|
2234
2545
|
richMenuId: string,
|
|
@@ -2237,11 +2548,12 @@ export abstract class LineBotClientBase {
|
|
|
2237
2548
|
}
|
|
2238
2549
|
|
|
2239
2550
|
/**
|
|
2240
|
-
* Set default rich menu
|
|
2241
|
-
*
|
|
2551
|
+
* Set default rich menu
|
|
2552
|
+
* Calls `POST https://api.line.me/v2/bot/user/all/richmenu/{richMenuId}`.
|
|
2553
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2242
2554
|
* @param richMenuId ID of a rich menu
|
|
2243
|
-
*
|
|
2244
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">
|
|
2555
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2556
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu">LINE Developers documentation</a>
|
|
2245
2557
|
*/
|
|
2246
2558
|
public async setDefaultRichMenuWithHttpInfo(
|
|
2247
2559
|
richMenuId: string,
|
|
@@ -2251,9 +2563,11 @@ export abstract class LineBotClientBase {
|
|
|
2251
2563
|
|
|
2252
2564
|
/**
|
|
2253
2565
|
* Set webhook endpoint URL
|
|
2566
|
+
* Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
2567
|
+
* To inspect the HTTP status code or response headers, use {@link setWebhookEndpointWithHttpInfo}.
|
|
2254
2568
|
* @param setWebhookEndpointRequest
|
|
2255
|
-
*
|
|
2256
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">
|
|
2569
|
+
* @returns A promise resolving to the response body.
|
|
2570
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
|
|
2257
2571
|
*/
|
|
2258
2572
|
public async setWebhookEndpoint(
|
|
2259
2573
|
setWebhookEndpointRequest: messagingApi.SetWebhookEndpointRequest,
|
|
@@ -2264,11 +2578,12 @@ export abstract class LineBotClientBase {
|
|
|
2264
2578
|
}
|
|
2265
2579
|
|
|
2266
2580
|
/**
|
|
2267
|
-
* Set webhook endpoint URL
|
|
2268
|
-
*
|
|
2581
|
+
* Set webhook endpoint URL
|
|
2582
|
+
* Calls `PUT https://api.line.me/v2/bot/channel/webhook/endpoint`.
|
|
2583
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2269
2584
|
* @param setWebhookEndpointRequest
|
|
2270
|
-
*
|
|
2271
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">
|
|
2585
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2586
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url">LINE Developers documentation</a>
|
|
2272
2587
|
*/
|
|
2273
2588
|
public async setWebhookEndpointWithHttpInfo(
|
|
2274
2589
|
setWebhookEndpointRequest: messagingApi.SetWebhookEndpointRequest,
|
|
@@ -2280,9 +2595,11 @@ export abstract class LineBotClientBase {
|
|
|
2280
2595
|
|
|
2281
2596
|
/**
|
|
2282
2597
|
* Display a loading animation in one-on-one chats between users and LINE Official Accounts.
|
|
2598
|
+
* Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
|
|
2599
|
+
* To inspect the HTTP status code or response headers, use {@link showLoadingAnimationWithHttpInfo}.
|
|
2283
2600
|
* @param showLoadingAnimationRequest
|
|
2284
|
-
*
|
|
2285
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">
|
|
2601
|
+
* @returns A promise resolving to the response body.
|
|
2602
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
|
|
2286
2603
|
*/
|
|
2287
2604
|
public async showLoadingAnimation(
|
|
2288
2605
|
showLoadingAnimationRequest: messagingApi.ShowLoadingAnimationRequest,
|
|
@@ -2293,11 +2610,12 @@ export abstract class LineBotClientBase {
|
|
|
2293
2610
|
}
|
|
2294
2611
|
|
|
2295
2612
|
/**
|
|
2296
|
-
* Display a loading animation in one-on-one chats between users and LINE Official Accounts
|
|
2297
|
-
*
|
|
2613
|
+
* Display a loading animation in one-on-one chats between users and LINE Official Accounts.
|
|
2614
|
+
* Calls `POST https://api.line.me/v2/bot/chat/loading/start`.
|
|
2615
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2298
2616
|
* @param showLoadingAnimationRequest
|
|
2299
|
-
*
|
|
2300
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">
|
|
2617
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2618
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator">LINE Developers documentation</a>
|
|
2301
2619
|
*/
|
|
2302
2620
|
public async showLoadingAnimationWithHttpInfo(
|
|
2303
2621
|
showLoadingAnimationRequest: messagingApi.ShowLoadingAnimationRequest,
|
|
@@ -2309,9 +2627,11 @@ export abstract class LineBotClientBase {
|
|
|
2309
2627
|
|
|
2310
2628
|
/**
|
|
2311
2629
|
* Test webhook endpoint
|
|
2630
|
+
* Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
|
|
2631
|
+
* To inspect the HTTP status code or response headers, use {@link testWebhookEndpointWithHttpInfo}.
|
|
2312
2632
|
* @param testWebhookEndpointRequest
|
|
2313
|
-
*
|
|
2314
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">
|
|
2633
|
+
* @returns A promise resolving to the response body.
|
|
2634
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
|
|
2315
2635
|
*/
|
|
2316
2636
|
public async testWebhookEndpoint(
|
|
2317
2637
|
testWebhookEndpointRequest?: messagingApi.TestWebhookEndpointRequest,
|
|
@@ -2322,11 +2642,12 @@ export abstract class LineBotClientBase {
|
|
|
2322
2642
|
}
|
|
2323
2643
|
|
|
2324
2644
|
/**
|
|
2325
|
-
* Test webhook endpoint
|
|
2326
|
-
*
|
|
2645
|
+
* Test webhook endpoint
|
|
2646
|
+
* Calls `POST https://api.line.me/v2/bot/channel/webhook/test`.
|
|
2647
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2327
2648
|
* @param testWebhookEndpointRequest
|
|
2328
|
-
*
|
|
2329
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">
|
|
2649
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2650
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">LINE Developers documentation</a>
|
|
2330
2651
|
*/
|
|
2331
2652
|
public async testWebhookEndpointWithHttpInfo(
|
|
2332
2653
|
testWebhookEndpointRequest?: messagingApi.TestWebhookEndpointRequest,
|
|
@@ -2338,9 +2659,11 @@ export abstract class LineBotClientBase {
|
|
|
2338
2659
|
|
|
2339
2660
|
/**
|
|
2340
2661
|
* Unlink rich menu from user
|
|
2662
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
2663
|
+
* To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUserWithHttpInfo}.
|
|
2341
2664
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
2342
|
-
*
|
|
2343
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">
|
|
2665
|
+
* @returns A promise resolving to the response body.
|
|
2666
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
|
|
2344
2667
|
*/
|
|
2345
2668
|
public async unlinkRichMenuIdFromUser(
|
|
2346
2669
|
userId: string,
|
|
@@ -2349,11 +2672,12 @@ export abstract class LineBotClientBase {
|
|
|
2349
2672
|
}
|
|
2350
2673
|
|
|
2351
2674
|
/**
|
|
2352
|
-
* Unlink rich menu from user
|
|
2353
|
-
*
|
|
2675
|
+
* Unlink rich menu from user
|
|
2676
|
+
* Calls `DELETE https://api.line.me/v2/bot/user/{userId}/richmenu`.
|
|
2677
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2354
2678
|
* @param userId User ID. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
|
|
2355
|
-
*
|
|
2356
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">
|
|
2679
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2680
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user">LINE Developers documentation</a>
|
|
2357
2681
|
*/
|
|
2358
2682
|
public async unlinkRichMenuIdFromUserWithHttpInfo(
|
|
2359
2683
|
userId: string,
|
|
@@ -2365,9 +2689,11 @@ export abstract class LineBotClientBase {
|
|
|
2365
2689
|
|
|
2366
2690
|
/**
|
|
2367
2691
|
* Unlink rich menus from multiple users
|
|
2692
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
|
|
2693
|
+
* To inspect the HTTP status code or response headers, use {@link unlinkRichMenuIdFromUsersWithHttpInfo}.
|
|
2368
2694
|
* @param richMenuBulkUnlinkRequest
|
|
2369
|
-
*
|
|
2370
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">
|
|
2695
|
+
* @returns A promise resolving to the response body.
|
|
2696
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
|
|
2371
2697
|
*/
|
|
2372
2698
|
public async unlinkRichMenuIdFromUsers(
|
|
2373
2699
|
richMenuBulkUnlinkRequest: messagingApi.RichMenuBulkUnlinkRequest,
|
|
@@ -2378,11 +2704,12 @@ export abstract class LineBotClientBase {
|
|
|
2378
2704
|
}
|
|
2379
2705
|
|
|
2380
2706
|
/**
|
|
2381
|
-
* Unlink rich menus from multiple users
|
|
2382
|
-
*
|
|
2707
|
+
* Unlink rich menus from multiple users
|
|
2708
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/bulk/unlink`.
|
|
2709
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2383
2710
|
* @param richMenuBulkUnlinkRequest
|
|
2384
|
-
*
|
|
2385
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">
|
|
2711
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2712
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users">LINE Developers documentation</a>
|
|
2386
2713
|
*/
|
|
2387
2714
|
public async unlinkRichMenuIdFromUsersWithHttpInfo(
|
|
2388
2715
|
richMenuBulkUnlinkRequest: messagingApi.RichMenuBulkUnlinkRequest,
|
|
@@ -2394,10 +2721,12 @@ export abstract class LineBotClientBase {
|
|
|
2394
2721
|
|
|
2395
2722
|
/**
|
|
2396
2723
|
* Update rich menu alias
|
|
2724
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
2725
|
+
* To inspect the HTTP status code or response headers, use {@link updateRichMenuAliasWithHttpInfo}.
|
|
2397
2726
|
* @param richMenuAliasId The rich menu alias ID you want to update.
|
|
2398
2727
|
* @param updateRichMenuAliasRequest
|
|
2399
|
-
*
|
|
2400
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">
|
|
2728
|
+
* @returns A promise resolving to the response body.
|
|
2729
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
|
|
2401
2730
|
*/
|
|
2402
2731
|
public async updateRichMenuAlias(
|
|
2403
2732
|
richMenuAliasId: string,
|
|
@@ -2410,12 +2739,13 @@ export abstract class LineBotClientBase {
|
|
|
2410
2739
|
}
|
|
2411
2740
|
|
|
2412
2741
|
/**
|
|
2413
|
-
* Update rich menu alias
|
|
2414
|
-
*
|
|
2742
|
+
* Update rich menu alias
|
|
2743
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/alias/{richMenuAliasId}`.
|
|
2744
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2415
2745
|
* @param richMenuAliasId The rich menu alias ID you want to update.
|
|
2416
2746
|
* @param updateRichMenuAliasRequest
|
|
2417
|
-
*
|
|
2418
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">
|
|
2747
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2748
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias">LINE Developers documentation</a>
|
|
2419
2749
|
*/
|
|
2420
2750
|
public async updateRichMenuAliasWithHttpInfo(
|
|
2421
2751
|
richMenuAliasId: string,
|
|
@@ -2429,9 +2759,11 @@ export abstract class LineBotClientBase {
|
|
|
2429
2759
|
|
|
2430
2760
|
/**
|
|
2431
2761
|
* Validate message objects of a broadcast message
|
|
2762
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
|
|
2763
|
+
* To inspect the HTTP status code or response headers, use {@link validateBroadcastWithHttpInfo}.
|
|
2432
2764
|
* @param validateMessageRequest
|
|
2433
|
-
*
|
|
2434
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">
|
|
2765
|
+
* @returns A promise resolving to the response body.
|
|
2766
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
|
|
2435
2767
|
*/
|
|
2436
2768
|
public async validateBroadcast(
|
|
2437
2769
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2440,11 +2772,12 @@ export abstract class LineBotClientBase {
|
|
|
2440
2772
|
}
|
|
2441
2773
|
|
|
2442
2774
|
/**
|
|
2443
|
-
* Validate message objects of a broadcast message
|
|
2444
|
-
*
|
|
2775
|
+
* Validate message objects of a broadcast message
|
|
2776
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/broadcast`.
|
|
2777
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2445
2778
|
* @param validateMessageRequest
|
|
2446
|
-
*
|
|
2447
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">
|
|
2779
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2780
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-broadcast-message">LINE Developers documentation</a>
|
|
2448
2781
|
*/
|
|
2449
2782
|
public async validateBroadcastWithHttpInfo(
|
|
2450
2783
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2456,9 +2789,11 @@ export abstract class LineBotClientBase {
|
|
|
2456
2789
|
|
|
2457
2790
|
/**
|
|
2458
2791
|
* Validate message objects of a multicast message
|
|
2792
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
|
|
2793
|
+
* To inspect the HTTP status code or response headers, use {@link validateMulticastWithHttpInfo}.
|
|
2459
2794
|
* @param validateMessageRequest
|
|
2460
|
-
*
|
|
2461
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">
|
|
2795
|
+
* @returns A promise resolving to the response body.
|
|
2796
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
|
|
2462
2797
|
*/
|
|
2463
2798
|
public async validateMulticast(
|
|
2464
2799
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2467,11 +2802,12 @@ export abstract class LineBotClientBase {
|
|
|
2467
2802
|
}
|
|
2468
2803
|
|
|
2469
2804
|
/**
|
|
2470
|
-
* Validate message objects of a multicast message
|
|
2471
|
-
*
|
|
2805
|
+
* Validate message objects of a multicast message
|
|
2806
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/multicast`.
|
|
2807
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2472
2808
|
* @param validateMessageRequest
|
|
2473
|
-
*
|
|
2474
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">
|
|
2809
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2810
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-multicast-message">LINE Developers documentation</a>
|
|
2475
2811
|
*/
|
|
2476
2812
|
public async validateMulticastWithHttpInfo(
|
|
2477
2813
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2483,9 +2819,11 @@ export abstract class LineBotClientBase {
|
|
|
2483
2819
|
|
|
2484
2820
|
/**
|
|
2485
2821
|
* Validate message objects of a narrowcast message
|
|
2822
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
|
|
2823
|
+
* To inspect the HTTP status code or response headers, use {@link validateNarrowcastWithHttpInfo}.
|
|
2486
2824
|
* @param validateMessageRequest
|
|
2487
|
-
*
|
|
2488
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">
|
|
2825
|
+
* @returns A promise resolving to the response body.
|
|
2826
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
|
|
2489
2827
|
*/
|
|
2490
2828
|
public async validateNarrowcast(
|
|
2491
2829
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2494,11 +2832,12 @@ export abstract class LineBotClientBase {
|
|
|
2494
2832
|
}
|
|
2495
2833
|
|
|
2496
2834
|
/**
|
|
2497
|
-
* Validate message objects of a narrowcast message
|
|
2498
|
-
*
|
|
2835
|
+
* Validate message objects of a narrowcast message
|
|
2836
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/narrowcast`.
|
|
2837
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2499
2838
|
* @param validateMessageRequest
|
|
2500
|
-
*
|
|
2501
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">
|
|
2839
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2840
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-narrowcast-message">LINE Developers documentation</a>
|
|
2502
2841
|
*/
|
|
2503
2842
|
public async validateNarrowcastWithHttpInfo(
|
|
2504
2843
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2510,9 +2849,11 @@ export abstract class LineBotClientBase {
|
|
|
2510
2849
|
|
|
2511
2850
|
/**
|
|
2512
2851
|
* Validate message objects of a push message
|
|
2852
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/push`.
|
|
2853
|
+
* To inspect the HTTP status code or response headers, use {@link validatePushWithHttpInfo}.
|
|
2513
2854
|
* @param validateMessageRequest
|
|
2514
|
-
*
|
|
2515
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">
|
|
2855
|
+
* @returns A promise resolving to the response body.
|
|
2856
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">LINE Developers documentation</a>
|
|
2516
2857
|
*/
|
|
2517
2858
|
public async validatePush(
|
|
2518
2859
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2521,11 +2862,12 @@ export abstract class LineBotClientBase {
|
|
|
2521
2862
|
}
|
|
2522
2863
|
|
|
2523
2864
|
/**
|
|
2524
|
-
* Validate message objects of a push message
|
|
2525
|
-
*
|
|
2865
|
+
* Validate message objects of a push message
|
|
2866
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/push`.
|
|
2867
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2526
2868
|
* @param validateMessageRequest
|
|
2527
|
-
*
|
|
2528
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">
|
|
2869
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2870
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message">LINE Developers documentation</a>
|
|
2529
2871
|
*/
|
|
2530
2872
|
public async validatePushWithHttpInfo(
|
|
2531
2873
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2537,9 +2879,11 @@ export abstract class LineBotClientBase {
|
|
|
2537
2879
|
|
|
2538
2880
|
/**
|
|
2539
2881
|
* Validate message objects of a reply message
|
|
2882
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
|
|
2883
|
+
* To inspect the HTTP status code or response headers, use {@link validateReplyWithHttpInfo}.
|
|
2540
2884
|
* @param validateMessageRequest
|
|
2541
|
-
*
|
|
2542
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">
|
|
2885
|
+
* @returns A promise resolving to the response body.
|
|
2886
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
|
|
2543
2887
|
*/
|
|
2544
2888
|
public async validateReply(
|
|
2545
2889
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2548,11 +2892,12 @@ export abstract class LineBotClientBase {
|
|
|
2548
2892
|
}
|
|
2549
2893
|
|
|
2550
2894
|
/**
|
|
2551
|
-
* Validate message objects of a reply message
|
|
2552
|
-
*
|
|
2895
|
+
* Validate message objects of a reply message
|
|
2896
|
+
* Calls `POST https://api.line.me/v2/bot/message/validate/reply`.
|
|
2897
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2553
2898
|
* @param validateMessageRequest
|
|
2554
|
-
*
|
|
2555
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">
|
|
2899
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2900
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message">LINE Developers documentation</a>
|
|
2556
2901
|
*/
|
|
2557
2902
|
public async validateReplyWithHttpInfo(
|
|
2558
2903
|
validateMessageRequest: messagingApi.ValidateMessageRequest,
|
|
@@ -2564,9 +2909,11 @@ export abstract class LineBotClientBase {
|
|
|
2564
2909
|
|
|
2565
2910
|
/**
|
|
2566
2911
|
* Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
|
|
2912
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
|
|
2913
|
+
* To inspect the HTTP status code or response headers, use {@link validateRichMenuBatchRequestWithHttpInfo}.
|
|
2567
2914
|
* @param richMenuBatchRequest
|
|
2568
|
-
*
|
|
2569
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">
|
|
2915
|
+
* @returns A promise resolving to the response body.
|
|
2916
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
|
|
2570
2917
|
*/
|
|
2571
2918
|
public async validateRichMenuBatchRequest(
|
|
2572
2919
|
richMenuBatchRequest: messagingApi.RichMenuBatchRequest,
|
|
@@ -2577,11 +2924,12 @@ export abstract class LineBotClientBase {
|
|
|
2577
2924
|
}
|
|
2578
2925
|
|
|
2579
2926
|
/**
|
|
2580
|
-
* Validate a request body of the Replace or unlink the linked rich menus in batches endpoint
|
|
2581
|
-
*
|
|
2927
|
+
* Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.
|
|
2928
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate/batch`.
|
|
2929
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2582
2930
|
* @param richMenuBatchRequest
|
|
2583
|
-
*
|
|
2584
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">
|
|
2931
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2932
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request">LINE Developers documentation</a>
|
|
2585
2933
|
*/
|
|
2586
2934
|
public async validateRichMenuBatchRequestWithHttpInfo(
|
|
2587
2935
|
richMenuBatchRequest: messagingApi.RichMenuBatchRequest,
|
|
@@ -2593,9 +2941,11 @@ export abstract class LineBotClientBase {
|
|
|
2593
2941
|
|
|
2594
2942
|
/**
|
|
2595
2943
|
* Validate rich menu object
|
|
2944
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
|
|
2945
|
+
* To inspect the HTTP status code or response headers, use {@link validateRichMenuObjectWithHttpInfo}.
|
|
2596
2946
|
* @param richMenuRequest
|
|
2597
|
-
*
|
|
2598
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">
|
|
2947
|
+
* @returns A promise resolving to the response body.
|
|
2948
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
|
|
2599
2949
|
*/
|
|
2600
2950
|
public async validateRichMenuObject(
|
|
2601
2951
|
richMenuRequest: messagingApi.RichMenuRequest,
|
|
@@ -2604,11 +2954,12 @@ export abstract class LineBotClientBase {
|
|
|
2604
2954
|
}
|
|
2605
2955
|
|
|
2606
2956
|
/**
|
|
2607
|
-
* Validate rich menu object
|
|
2608
|
-
*
|
|
2957
|
+
* Validate rich menu object
|
|
2958
|
+
* Calls `POST https://api.line.me/v2/bot/richmenu/validate`.
|
|
2959
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2609
2960
|
* @param richMenuRequest
|
|
2610
|
-
*
|
|
2611
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">
|
|
2961
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2962
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object">LINE Developers documentation</a>
|
|
2612
2963
|
*/
|
|
2613
2964
|
public async validateRichMenuObjectWithHttpInfo(
|
|
2614
2965
|
richMenuRequest: messagingApi.RichMenuRequest,
|
|
@@ -2620,20 +2971,23 @@ export abstract class LineBotClientBase {
|
|
|
2620
2971
|
|
|
2621
2972
|
/**
|
|
2622
2973
|
* Download image, video, and audio data sent from users.
|
|
2974
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content`.
|
|
2975
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageContentWithHttpInfo}.
|
|
2623
2976
|
* @param messageId Message ID of video or audio
|
|
2624
|
-
*
|
|
2625
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">
|
|
2977
|
+
* @returns A promise resolving to the response body.
|
|
2978
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">LINE Developers documentation</a>
|
|
2626
2979
|
*/
|
|
2627
2980
|
public async getMessageContent(messageId: string): Promise<Readable> {
|
|
2628
2981
|
return this.clients.messagingApiBlob.getMessageContent(messageId);
|
|
2629
2982
|
}
|
|
2630
2983
|
|
|
2631
2984
|
/**
|
|
2632
|
-
* Download image, video, and audio data sent from users
|
|
2633
|
-
*
|
|
2985
|
+
* Download image, video, and audio data sent from users.
|
|
2986
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content`.
|
|
2987
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2634
2988
|
* @param messageId Message ID of video or audio
|
|
2635
|
-
*
|
|
2636
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">
|
|
2989
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
2990
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-content">LINE Developers documentation</a>
|
|
2637
2991
|
*/
|
|
2638
2992
|
public async getMessageContentWithHttpInfo(
|
|
2639
2993
|
messageId: string,
|
|
@@ -2645,20 +2999,23 @@ export abstract class LineBotClientBase {
|
|
|
2645
2999
|
|
|
2646
3000
|
/**
|
|
2647
3001
|
* Get a preview image of the image or video
|
|
3002
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/preview`.
|
|
3003
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageContentPreviewWithHttpInfo}.
|
|
2648
3004
|
* @param messageId Message ID of image or video
|
|
2649
|
-
*
|
|
2650
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">
|
|
3005
|
+
* @returns A promise resolving to the response body.
|
|
3006
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">LINE Developers documentation</a>
|
|
2651
3007
|
*/
|
|
2652
3008
|
public async getMessageContentPreview(messageId: string): Promise<Readable> {
|
|
2653
3009
|
return this.clients.messagingApiBlob.getMessageContentPreview(messageId);
|
|
2654
3010
|
}
|
|
2655
3011
|
|
|
2656
3012
|
/**
|
|
2657
|
-
* Get a preview image of the image or video
|
|
2658
|
-
*
|
|
3013
|
+
* Get a preview image of the image or video
|
|
3014
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/preview`.
|
|
3015
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2659
3016
|
* @param messageId Message ID of image or video
|
|
2660
|
-
*
|
|
2661
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">
|
|
3017
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3018
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview">LINE Developers documentation</a>
|
|
2662
3019
|
*/
|
|
2663
3020
|
public async getMessageContentPreviewWithHttpInfo(
|
|
2664
3021
|
messageId: string,
|
|
@@ -2670,9 +3027,11 @@ export abstract class LineBotClientBase {
|
|
|
2670
3027
|
|
|
2671
3028
|
/**
|
|
2672
3029
|
* Verify the preparation status of a video or audio for getting
|
|
3030
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/transcoding`.
|
|
3031
|
+
* To inspect the HTTP status code or response headers, use {@link getMessageContentTranscodingByMessageIdWithHttpInfo}.
|
|
2673
3032
|
* @param messageId Message ID of video or audio
|
|
2674
|
-
*
|
|
2675
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">
|
|
3033
|
+
* @returns A promise resolving to the response body.
|
|
3034
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">LINE Developers documentation</a>
|
|
2676
3035
|
*/
|
|
2677
3036
|
public async getMessageContentTranscodingByMessageId(
|
|
2678
3037
|
messageId: string,
|
|
@@ -2683,11 +3042,12 @@ export abstract class LineBotClientBase {
|
|
|
2683
3042
|
}
|
|
2684
3043
|
|
|
2685
3044
|
/**
|
|
2686
|
-
* Verify the preparation status of a video or audio for getting
|
|
2687
|
-
*
|
|
3045
|
+
* Verify the preparation status of a video or audio for getting
|
|
3046
|
+
* Calls `GET https://api-data.line.me/v2/bot/message/{messageId}/content/transcoding`.
|
|
3047
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2688
3048
|
* @param messageId Message ID of video or audio
|
|
2689
|
-
*
|
|
2690
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">
|
|
3049
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3050
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status">LINE Developers documentation</a>
|
|
2691
3051
|
*/
|
|
2692
3052
|
public async getMessageContentTranscodingByMessageIdWithHttpInfo(
|
|
2693
3053
|
messageId: string,
|
|
@@ -2701,20 +3061,23 @@ export abstract class LineBotClientBase {
|
|
|
2701
3061
|
|
|
2702
3062
|
/**
|
|
2703
3063
|
* Download rich menu image.
|
|
3064
|
+
* Calls `GET https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
3065
|
+
* To inspect the HTTP status code or response headers, use {@link getRichMenuImageWithHttpInfo}.
|
|
2704
3066
|
* @param richMenuId ID of the rich menu with the image to be downloaded
|
|
2705
|
-
*
|
|
2706
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">
|
|
3067
|
+
* @returns A promise resolving to the response body.
|
|
3068
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">LINE Developers documentation</a>
|
|
2707
3069
|
*/
|
|
2708
3070
|
public async getRichMenuImage(richMenuId: string): Promise<Readable> {
|
|
2709
3071
|
return this.clients.messagingApiBlob.getRichMenuImage(richMenuId);
|
|
2710
3072
|
}
|
|
2711
3073
|
|
|
2712
3074
|
/**
|
|
2713
|
-
* Download rich menu image
|
|
2714
|
-
*
|
|
3075
|
+
* Download rich menu image.
|
|
3076
|
+
* Calls `GET https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
3077
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2715
3078
|
* @param richMenuId ID of the rich menu with the image to be downloaded
|
|
2716
|
-
*
|
|
2717
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">
|
|
3079
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3080
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image">LINE Developers documentation</a>
|
|
2718
3081
|
*/
|
|
2719
3082
|
public async getRichMenuImageWithHttpInfo(
|
|
2720
3083
|
richMenuId: string,
|
|
@@ -2726,10 +3089,12 @@ export abstract class LineBotClientBase {
|
|
|
2726
3089
|
|
|
2727
3090
|
/**
|
|
2728
3091
|
* Upload rich menu image
|
|
3092
|
+
* Calls `POST https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
3093
|
+
* To inspect the HTTP status code or response headers, use {@link setRichMenuImageWithHttpInfo}.
|
|
2729
3094
|
* @param richMenuId The ID of the rich menu to attach the image to
|
|
2730
3095
|
* @param body
|
|
2731
|
-
*
|
|
2732
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">
|
|
3096
|
+
* @returns A promise resolving to the response body.
|
|
3097
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">LINE Developers documentation</a>
|
|
2733
3098
|
*/
|
|
2734
3099
|
public async setRichMenuImage(
|
|
2735
3100
|
richMenuId: string,
|
|
@@ -2739,12 +3104,13 @@ export abstract class LineBotClientBase {
|
|
|
2739
3104
|
}
|
|
2740
3105
|
|
|
2741
3106
|
/**
|
|
2742
|
-
* Upload rich menu image
|
|
2743
|
-
*
|
|
3107
|
+
* Upload rich menu image
|
|
3108
|
+
* Calls `POST https://api-data.line.me/v2/bot/richmenu/{richMenuId}/content`.
|
|
3109
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2744
3110
|
* @param richMenuId The ID of the rich menu to attach the image to
|
|
2745
3111
|
* @param body
|
|
2746
|
-
*
|
|
2747
|
-
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">
|
|
3112
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3113
|
+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image">LINE Developers documentation</a>
|
|
2748
3114
|
*/
|
|
2749
3115
|
public async setRichMenuImageWithHttpInfo(
|
|
2750
3116
|
richMenuId: string,
|
|
@@ -2758,10 +3124,12 @@ export abstract class LineBotClientBase {
|
|
|
2758
3124
|
|
|
2759
3125
|
/**
|
|
2760
3126
|
* 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.
|
|
3127
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/acquire`.
|
|
3128
|
+
* To inspect the HTTP status code or response headers, use {@link acquireChatControlWithHttpInfo}.
|
|
2761
3129
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
2762
3130
|
* @param acquireChatControlRequest
|
|
2763
|
-
*
|
|
2764
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">
|
|
3131
|
+
* @returns A promise resolving to the response body.
|
|
3132
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">LINE Developers documentation</a>
|
|
2765
3133
|
*/
|
|
2766
3134
|
public async acquireChatControl(
|
|
2767
3135
|
chatId: string,
|
|
@@ -2774,12 +3142,13 @@ export abstract class LineBotClientBase {
|
|
|
2774
3142
|
}
|
|
2775
3143
|
|
|
2776
3144
|
/**
|
|
2777
|
-
* 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.
|
|
2778
|
-
*
|
|
3145
|
+
* 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.
|
|
3146
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/acquire`.
|
|
3147
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2779
3148
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
2780
3149
|
* @param acquireChatControlRequest
|
|
2781
|
-
*
|
|
2782
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">
|
|
3150
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3151
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">LINE Developers documentation</a>
|
|
2783
3152
|
*/
|
|
2784
3153
|
public async acquireChatControlWithHttpInfo(
|
|
2785
3154
|
chatId: string,
|
|
@@ -2793,9 +3162,11 @@ export abstract class LineBotClientBase {
|
|
|
2793
3162
|
|
|
2794
3163
|
/**
|
|
2795
3164
|
* The module channel admin calls the Detach API to detach the module channel from a LINE Official Account.
|
|
3165
|
+
* Calls `POST https://api.line.me/v2/bot/channel/detach`.
|
|
3166
|
+
* To inspect the HTTP status code or response headers, use {@link detachModuleWithHttpInfo}.
|
|
2796
3167
|
* @param detachModuleRequest
|
|
2797
|
-
*
|
|
2798
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">
|
|
3168
|
+
* @returns A promise resolving to the response body.
|
|
3169
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">LINE Developers documentation</a>
|
|
2799
3170
|
*/
|
|
2800
3171
|
public async detachModule(
|
|
2801
3172
|
detachModuleRequest?: moduleOperation.DetachModuleRequest,
|
|
@@ -2804,11 +3175,12 @@ export abstract class LineBotClientBase {
|
|
|
2804
3175
|
}
|
|
2805
3176
|
|
|
2806
3177
|
/**
|
|
2807
|
-
* The module channel admin calls the Detach API to detach the module channel from a LINE Official Account
|
|
2808
|
-
*
|
|
3178
|
+
* The module channel admin calls the Detach API to detach the module channel from a LINE Official Account.
|
|
3179
|
+
* Calls `POST https://api.line.me/v2/bot/channel/detach`.
|
|
3180
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2809
3181
|
* @param detachModuleRequest
|
|
2810
|
-
*
|
|
2811
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">
|
|
3182
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3183
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin">LINE Developers documentation</a>
|
|
2812
3184
|
*/
|
|
2813
3185
|
public async detachModuleWithHttpInfo(
|
|
2814
3186
|
detachModuleRequest?: moduleOperation.DetachModuleRequest,
|
|
@@ -2820,10 +3192,12 @@ export abstract class LineBotClientBase {
|
|
|
2820
3192
|
|
|
2821
3193
|
/**
|
|
2822
3194
|
* Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels.
|
|
3195
|
+
* Calls `GET https://api.line.me/v2/bot/list`.
|
|
3196
|
+
* To inspect the HTTP status code or response headers, use {@link getModulesWithHttpInfo}.
|
|
2823
3197
|
* @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.
|
|
2824
3198
|
* @param limit Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100
|
|
2825
|
-
*
|
|
2826
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">
|
|
3199
|
+
* @returns A promise resolving to the response body.
|
|
3200
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">LINE Developers documentation</a>
|
|
2827
3201
|
*/
|
|
2828
3202
|
public async getModules(
|
|
2829
3203
|
start?: string,
|
|
@@ -2833,12 +3207,13 @@ export abstract class LineBotClientBase {
|
|
|
2833
3207
|
}
|
|
2834
3208
|
|
|
2835
3209
|
/**
|
|
2836
|
-
* Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels
|
|
2837
|
-
*
|
|
3210
|
+
* Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels.
|
|
3211
|
+
* Calls `GET https://api.line.me/v2/bot/list`.
|
|
3212
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2838
3213
|
* @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.
|
|
2839
3214
|
* @param limit Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100
|
|
2840
|
-
*
|
|
2841
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">
|
|
3215
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3216
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api">LINE Developers documentation</a>
|
|
2842
3217
|
*/
|
|
2843
3218
|
public async getModulesWithHttpInfo(
|
|
2844
3219
|
start?: string,
|
|
@@ -2849,9 +3224,11 @@ export abstract class LineBotClientBase {
|
|
|
2849
3224
|
|
|
2850
3225
|
/**
|
|
2851
3226
|
* To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.
|
|
3227
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/release`.
|
|
3228
|
+
* To inspect the HTTP status code or response headers, use {@link releaseChatControlWithHttpInfo}.
|
|
2852
3229
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
2853
|
-
*
|
|
2854
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">
|
|
3230
|
+
* @returns A promise resolving to the response body.
|
|
3231
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">LINE Developers documentation</a>
|
|
2855
3232
|
*/
|
|
2856
3233
|
public async releaseChatControl(
|
|
2857
3234
|
chatId: string,
|
|
@@ -2860,11 +3237,12 @@ export abstract class LineBotClientBase {
|
|
|
2860
3237
|
}
|
|
2861
3238
|
|
|
2862
3239
|
/**
|
|
2863
|
-
* To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.
|
|
2864
|
-
*
|
|
3240
|
+
* To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.
|
|
3241
|
+
* Calls `POST https://api.line.me/v2/bot/chat/{chatId}/control/release`.
|
|
3242
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2865
3243
|
* @param chatId The `userId`, `roomId`, or `groupId`
|
|
2866
|
-
*
|
|
2867
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">
|
|
3244
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3245
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#release-control-api">LINE Developers documentation</a>
|
|
2868
3246
|
*/
|
|
2869
3247
|
public async releaseChatControlWithHttpInfo(
|
|
2870
3248
|
chatId: string,
|
|
@@ -2874,6 +3252,8 @@ export abstract class LineBotClientBase {
|
|
|
2874
3252
|
|
|
2875
3253
|
/**
|
|
2876
3254
|
* Attach by operation of the module channel provider
|
|
3255
|
+
* Calls `POST https://manager.line.biz/module/auth/v1/token`.
|
|
3256
|
+
* To inspect the HTTP status code or response headers, use {@link attachModuleWithHttpInfo}.
|
|
2877
3257
|
* @param grantType authorization_code
|
|
2878
3258
|
* @param code Authorization code received from the LINE Platform.
|
|
2879
3259
|
* @param redirectUri Specify the redirect_uri specified in the URL for authentication and authorization.
|
|
@@ -2884,8 +3264,8 @@ export abstract class LineBotClientBase {
|
|
|
2884
3264
|
* @param basicSearchId If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.
|
|
2885
3265
|
* @param scope If you specified a value for scope in the URL for authentication and authorization, specify the same value.
|
|
2886
3266
|
* @param brandType If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.
|
|
2887
|
-
*
|
|
2888
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">
|
|
3267
|
+
* @returns A promise resolving to the response body.
|
|
3268
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">LINE Developers documentation</a>
|
|
2889
3269
|
*/
|
|
2890
3270
|
public async attachModule(
|
|
2891
3271
|
grantType: string,
|
|
@@ -2914,8 +3294,9 @@ export abstract class LineBotClientBase {
|
|
|
2914
3294
|
}
|
|
2915
3295
|
|
|
2916
3296
|
/**
|
|
2917
|
-
* Attach by operation of the module channel provider
|
|
2918
|
-
*
|
|
3297
|
+
* Attach by operation of the module channel provider
|
|
3298
|
+
* Calls `POST https://manager.line.biz/module/auth/v1/token`.
|
|
3299
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2919
3300
|
* @param grantType authorization_code
|
|
2920
3301
|
* @param code Authorization code received from the LINE Platform.
|
|
2921
3302
|
* @param redirectUri Specify the redirect_uri specified in the URL for authentication and authorization.
|
|
@@ -2926,8 +3307,8 @@ export abstract class LineBotClientBase {
|
|
|
2926
3307
|
* @param basicSearchId If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.
|
|
2927
3308
|
* @param scope If you specified a value for scope in the URL for authentication and authorization, specify the same value.
|
|
2928
3309
|
* @param brandType If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.
|
|
2929
|
-
*
|
|
2930
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">
|
|
3310
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3311
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#link-attach-by-operation-module-channel-provider">LINE Developers documentation</a>
|
|
2931
3312
|
*/
|
|
2932
3313
|
public async attachModuleWithHttpInfo(
|
|
2933
3314
|
grantType: string,
|
|
@@ -2957,9 +3338,11 @@ export abstract class LineBotClientBase {
|
|
|
2957
3338
|
|
|
2958
3339
|
/**
|
|
2959
3340
|
* Sends a mission sticker.
|
|
3341
|
+
* Calls `POST https://api.line.me/shop/v3/mission`.
|
|
3342
|
+
* To inspect the HTTP status code or response headers, use {@link missionStickerV3WithHttpInfo}.
|
|
2960
3343
|
* @param missionStickerRequest
|
|
2961
|
-
*
|
|
2962
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">
|
|
3344
|
+
* @returns A promise resolving to the response body.
|
|
3345
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">LINE Developers documentation</a>
|
|
2963
3346
|
*/
|
|
2964
3347
|
public async missionStickerV3(
|
|
2965
3348
|
missionStickerRequest: shop.MissionStickerRequest,
|
|
@@ -2968,11 +3351,12 @@ export abstract class LineBotClientBase {
|
|
|
2968
3351
|
}
|
|
2969
3352
|
|
|
2970
3353
|
/**
|
|
2971
|
-
* Sends a mission sticker
|
|
2972
|
-
*
|
|
3354
|
+
* Sends a mission sticker.
|
|
3355
|
+
* Calls `POST https://api.line.me/shop/v3/mission`.
|
|
3356
|
+
* This method returns the response body together with the underlying `httpResponse`.
|
|
2973
3357
|
* @param missionStickerRequest
|
|
2974
|
-
*
|
|
2975
|
-
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">
|
|
3358
|
+
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
|
|
3359
|
+
* @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3">LINE Developers documentation</a>
|
|
2976
3360
|
*/
|
|
2977
3361
|
public async missionStickerV3WithHttpInfo(
|
|
2978
3362
|
missionStickerRequest: shop.MissionStickerRequest,
|