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