Tags: line/line-bot-sdk-python
Tags
Modify http status code as response for manage-audience (#766) line/line-openapi#87 This change modifies the HTTP status code for the following audience group-related endpoints, as they were incorrect. Some http status codes are wrong. They should be 202, not 200. 1. `POST /v2/bot/audienceGroup/upload` (`createAudienceGroup`) 2. `PUT /v2/bot/audienceGroup/upload` (`addAudienceToAudienceGroup`) 3. `POST /v2/bot/audienceGroup/upload/byFile` (`createAudienceForUploadingUserIds`) 4. `POST /v2/bot/audienceGroup/click` (`createClickBasedAudienceGroup`) 5. `POST /v2/bot/audienceGroup/imp` (`createImpBasedAudienceGroup`) You can also check if this change is correct by reading https://developers.line.biz/en/reference/messaging-api/#manage-audience-group. NOTE: This change is not a modification of the messaging API itself. It is simply a correction of an error in the YAML description. Co-authored-by: github-actions <github-actions@github.com>
Publish library to pypi with OIDC (#763) [GitHub supports deployments using OIDC as of 2023](https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect). PyPI has also released functionality to integrate with this. As a result, it should be possible to publish without a personal access token. I have already registered this repository, workflow, and environment with PyPI. - https://pypi.org/manage/project/line-bot-sdk/settings/publishing/ ### reference - https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-pypi - https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ - https://docs.pypi.org/trusted-publishers/
Support new Membership API and Webhook (#758) line/line-openapi#86 # Support new Membership API and Webhook We have implemented and supported new API and Webhook about Membership. ## API to get a list of users who joined the membership You can obtain a list of user IDs for users who have joined the membership of your LINE Official Account by calling `client.getJoinedMembershipUsers(...)`. Documents: https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids ## Membership Webhook We have introduced new Webhook events `MembershipEvent` that indicates that a user has joined, left or renewed a membership of your LINE Official Account. Documents: https://developers.line.biz/en/reference/messaging-api/#membership-event ## For more details For more details, check out the announcement: https://developers.line.biz/en/news/2025/02/13/membership-api/ Co-authored-by: github-actions <github-actions@github.com>
Add /v2/bot/audienceGroup/shared path (#757) line/line-openapi#85 # Shared Audiences in Business Manager API Support We have added and supported new API endpoints related to Shared Audiences in Business Manager. ## API to Get Shared Audience Information You can obtain detailed information about a specific audience shared in Business Manager by calling the endpoint: - GET `https://api.line.me/v2/bot/audienceGroup/shared/{audienceGroupId}` ## API to Get List of Shared Audiences You can acquire a list of audiences shared in Business Manager using the following endpoint: - GET `https://api.line.me/v2/bot/audienceGroup/shared/list` By using the "Get Shared Audience Information" endpoint, you can retrieve more detailed data about each audience. ## Documents and Reference - News Announcement: [Shared Audience Feature Release](https://developers.line.biz/en/news/2025/02/12/shared-audience/) - API Reference: - [Get List of Shared Audiences](https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list) - [Get Shared Audience Information](https://developers.line.biz/en/reference/messaging-api/#get-shared-audience) - Documentation on Audience Sharing: [Using Audience Sharing](https://developers.line.biz/en/docs/messaging-api/using-audience/#audience-sharing) For more information, please refer to the links provided above. Co-authored-by: github-actions <github-actions@github.com>
Fix double-quote handling in release creation workflow (#751) This PR escapes the release title’s double quotes and provides the release notes via a file, preventing shell interpretation errors in the gh release create command. Current workflow fails when (1) release title contains `"`: https://github.com/line/line-bot-sdk-java/actions/runs/12886931493/job/35928566569#step:6:3 or (2) PR title contains `"` (e.g. on reverting change, title is `revert "original title"`) (same as line/line-bot-sdk-java#1536)
Remove obsolete feature: Audience Match (#744) line/line-openapi#80 The Audience Match feature (/bot/ad/multicast/phone) was sunset in October 2023. This change removes it as it's no longer necessary to include it in line-openapi. --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Yuta Kasai <yuta.kasai@linecorp.com>
PreviousNext