NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1108 most downloaded on PyPI
LINE Messaging API SDK for Python
Last release 5 days ago
29 Sep 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
80 releases · first in 2016
This version adds the templated LINE notification message (PNP) API, and lets you assign a custom aggregation unit (CAU) to LINE notification messages
This version adds the templated LINE notification message (PNP) API, and lets you assign a custom aggregation unit (CAU) to LINE notification messages.
Schema changes: line/line-openapi#131
templateKey and substituting values into the template's emphasizedItem, items, and buttons. New endpoint: POST /v2/bot/message/pnp/templated/push.GET /v2/bot/message/delivery/pnp/templated.customAggregationUnits, so their delivery can be aggregated per unit with the existing unit-based statistics APIs.This is a partner-only feature that requires an application. For more details, see:
from linebot.v3.messaging import (
Configuration,
ApiClient,
MessagingApi,
PnpTemplatedMessageRequest,
PnpTemplatedMessageBody,
PnpTemplatedEmphasizedItem,
PnpTemplatedItem,
PnpTemplatedButton,
)
configuration = Configuration(access_token="YOUR_CHANNEL_ACCESS_TOKEN")
with ApiClient(configuration) as api_client:
line_bot_api = MessagingApi(api_client)
request = PnpTemplatedMessageRequest(
# Phone number normalized to E.164 and hashed with SHA256
to="0123...hashed_phone_number...cdef",
template_key="order_confirmation",
body=PnpTemplatedMessageBody(
emphasized_item=PnpTemplatedEmphasizedItem(item_key="amount", content="$42.00"),
items=[
PnpTemplatedItem(item_key="order_id", content="A1234567"),
PnpTemplatedItem(item_key="shop_name", content="LINE Store"),
],
buttons=[
PnpTemplatedButton(button_key="detail", url="https://example.com/orders/A1234567"),
],
),
custom_aggregation_units=["promotion_a"],
)
# x_line_delivery_tag (16-100 chars) is returned in the delivery completion webhook
line_bot_api.push_templated_messages_by_phone(
request, x_line_delivery_tag="order-A1234567-0001"
)from linebot.v3.messaging import Configuration, ApiClient, MessagingApi
configuration = Configuration(access_token="YOUR_CHANNEL_ACCESS_TOKEN")
with ApiClient(configuration) as api_client:
line_bot_api = MessagingApi(api_client)
# GET /v2/bot/message/delivery/pnp/templated (date: yyyyMMdd, UTC+9)
response = line_bot_api.get_pnp_templated_message_statistics("20240916")
print(response.status) # "ready" / "unready" / "unavailable_for_privacy" / "out_of_service"
if response.status == "ready":
print(response.success)Full Changelog: v3.25.0...v3.26.0
This release is prepared by @mokuzon
One column per quarter.
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Add MessageEditedEvent webhook event to support the message editing feature.
When a user edits a message in a group that includes a LINE Official Account, a webhook event with type=messageEdited is sent.
messageEdited webhook events may arrive out of order. The event with the largest timestamp represents the latest edit state.Please also refer to the document: https://developers.line.biz/en/reference/messaging-api/#edit-event
(original PR is https://github.com/line/line-openapi/pull/129)
<!-- PR-END https://github.com/line/line-openapi/pull/129 -->
from linebot.v3 import WebhookHandler
from linebot.v3.webhooks import MessageEditedEvent, TextMessageContent
handler = WebhookHandler('YOUR_CHANNEL_SECRET')
@handler.add(MessageEditedEvent, message=TextMessageContent)
def handle_message_edited(event):
print(f"Message {event.message.id} was edited to: {event.message.text}")
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.24.0...v3.25.0
This release is prepared by @habara-k
Add MessageEditedEvent webhook event to support the message editing feature.
When a user edits a message in a group that includes a LINE Official Account, a webhook event with type=messageEdited is sent.
messageEdited webhook events may arrive out of order. The event with the largest timestamp represents the latest edit state.Please also refer to the document: https://developers.line.biz/en/reference/messaging-api/#edit-event
(original PR is line/line-openapi#129)
from linebot.v3 import WebhookHandler
from linebot.v3.webhooks import MessageEditedEvent, TextMessageContent
handler = WebhookHandler('YOUR_CHANNEL_SECRET')
@handler.add(MessageEditedEvent, message=TextMessageContent)
def handle_message_edited(event):
print(f"Message {event.message.id} was edited to: {event.message.text}")Full Changelog: v3.24.0...v3.25.0
This release is prepared by @habara-k
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
This release supports the new Rich Menu inshgit APIs. https://github.com/line/line-openapi/pull/128
For details on the API, please see below.
AudienceGroupFailedType emum by @github-actions[bot] in https://github.com/line/line-bot-sdk-python/pull/1027Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.23.1...v3.24.0
This release is prepared by @mokuzon
This release supports the new Rich Menu inshgit APIs.
line/line-openapi#128
For details on the API, please see below.
AudienceGroupFailedType emum by @github-actions[bot] in #1027Full Changelog: v3.23.1...v3.24.0
This release is prepared by @mokuzon
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Some classes have developers.line.biz url, but others don't have it. This change adds missing urls.
Developer can get the latest information from the documentation, and search related information.
(original PR is https://github.com/line/line-openapi/pull/122)
<!-- PR-END https://github.com/line/line-openapi/pull/122 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.23.0...v3.23.1
This release is prepared by @Yang-33
Some classes have developers.line.biz url, but others don't have it. This change adds missing urls.
Developer can get the latest information from the documentation, and search related information.
(original PR is line/line-openapi#122)
Full Changelog: v3.23.0...v3.23.1
This release is prepared by @Yang-33
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
This release adds wrapper methods for ChannelAccessToken#issue_stateless_channel_token, making stateless channel access token issuance simpler for both JWT assertion and client secret authentication. With this release, you don't have to pass empty strings ('') for unused parameters.
- token = api.issue_stateless_channel_token(
- grant_type='client_credentials',
- client_assertion_type='urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
- client_assertion=client_assertion,
- client_id='',
- client_secret='',
- )
+ token = api.issue_stateless_channel_token_by_jwt_assertion(
+ client_assertion=client_assertion,
+ )
- token = api.issue_stateless_channel_token(
- grant_type='client_credentials',
- client_assertion_type='',
- client_assertion='',
- client_id=client_id,
- client_secret=client_secret,
- )
+ token = api.issue_stateless_channel_token_by_client_secret(
+ client_id=client_id,
+ client_secret=client_secret,
+ )
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.22.0...v3.23.0
This release is prepared by @habara-k
This release adds wrapper methods for ChannelAccessToken#issue_stateless_channel_token, making stateless channel access token issuance simpler for both JWT assertion and client secret authentication. With this release, you don't have to pass empty strings ('') for unused parameters.
- token = api.issue_stateless_channel_token(
- grant_type='client_credentials',
- client_assertion_type='urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
- client_assertion=client_assertion,
- client_id='',
- client_secret='',
- )
+ token = api.issue_stateless_channel_token_by_jwt_assertion(
+ client_assertion=client_assertion,
+ )- token = api.issue_stateless_channel_token(
- grant_type='client_credentials',
- client_assertion_type='',
- client_assertion='',
- client_id=client_id,
- client_secret=client_secret,
- )
+ token = api.issue_stateless_channel_token_by_client_secret(
+ client_id=client_id,
+ client_secret=client_secret,
+ )Full Changelog: v3.22.0...v3.23.0
This release is prepared by @habara-k
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
TRACKINGTAG_WEBTRAFFIC to AudienceGroupType EnumWe have supported for the new audience‑group type TRACKINGTAG_WEBTRAFFIC (Tracking Tag Webtraffic audience) to the OpenAPI schema.
Updated AudienceGroupType enumeration
TRACKINGTAG_WEBTRAFFICThis update enables correct identification and handling of audience groups built from Tracking Tag Webtraffric.
For more information, please refer to the links provided above.
(original PR is https://github.com/line/line-openapi/pull/118)
<!-- PR-END https://github.com/line/line-openapi/pull/118 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.21.0...v3.22.0
This release is prepared by @eucyt
TRACKINGTAG_WEBTRAFFIC to AudienceGroupType EnumWe have supported for the new audience‑group type TRACKINGTAG_WEBTRAFFIC (Tracking Tag Webtraffic audience) to the OpenAPI schema.
Updated AudienceGroupType enumeration
TRACKINGTAG_WEBTRAFFICThis update enables correct identification and handling of audience groups built from Tracking Tag Webtraffric.
For more information, please refer to the links provided above.
(original PR is line/line-openapi#118)
Full Changelog: v3.21.0...v3.22.0
This release is prepared by @eucyt
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
We have released a new Mark as Read API that allows developers to mark a user’s messages as read.
Previously, this functionality was available only to partners, but it is now publicly available.
When your server receives a user message via Webhook, the MessageContent will include a new field: markAsReadToken.
By calling the Mark as Read API with this token, all messages in the chat room up to and including that message will be marked as read.
Note: This feature assumes that your service uses the chat feature through Official Account Manager.
If chat is not enabled, messages from users are automatically marked as read, making this API unnecessary.
For more details, please refer to the release note: https://developers.line.biz/en/news/2025/11/05/mark-as-read/
(original PR is https://github.com/line/line-openapi/pull/115)
<!-- PR-END https://github.com/line/line-openapi/pull/115 -->
line_bot_api.mark_messages_as_read_by_token(
MarkMessagesAsReadByTokenRequest(
mark_as_read_token=event.message.mark_as_read_token
)
)
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.20.0...v3.21.0
This release is prepared by @habara-k
We have released a new Mark as Read API that allows developers to mark a user’s messages as read.
Previously, this functionality was available only to partners, but it is now publicly available.
When your server receives a user message via Webhook, the MessageContent will include a new field: markAsReadToken.
By calling the Mark as Read API with this token, all messages in the chat room up to and including that message will be marked as read.
Note: This feature assumes that your service uses the chat feature through Official Account Manager.
If chat is not enabled, messages from users are automatically marked as read, making this API unnecessary.
For more details, please refer to the release note: https://developers.line.biz/en/news/2025/11/05/mark-as-read/
(original PR is line/line-openapi#115)
line_bot_api.mark_messages_as_read_by_token(
MarkMessagesAsReadByTokenRequest(
mark_as_read_token=event.message.mark_as_read_token
)
)Full Changelog: v3.20.0...v3.21.0
This release is prepared by @habara-k
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
We add a new forbidPartialDelivery option to the Narrowcast Limit Object.
When set to true, this option prevents messages from being delivered to only a subset of the target audience. If partial delivery occurs, the narrowcast request will succeed but fail asynchronously. You can verify whether the message delivery was canceled by checking the narrowcast message progress.
This property can only be set to true when upToRemainingQuota is also true.
For more details, see the https://developers.line.biz/en/news/2025/10/21/narrowcast-message-update/.
line_bot_api.narrowcast(
NarrowcastRequest(
messages=[TextMessage(text=event.message.text)],
limit=Limit(
max=1000,
upToRemainingQuota=True,
forbidPartialDelivery=True
)
)
)
(original PR is https://github.com/line/line-openapi/pull/114)
<!-- PR-END https://github.com/line/line-openapi/pull/114 -->
Previously, when upToRemainingQuota was set to true, messages could be partially delivered if the remaining message quota was smaller than the target audience size.
With the new forbidPartialDelivery option, you can now ensure that such partial deliveries do not occur.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.19.2...v3.20.0
This release is prepared by @habara-k
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.19.1...v3.19.2
This release is prepared by @mokuzon
Full Changelog: v3.19.1...v3.19.2
This release is prepared by @mokuzon
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
With this release, developers can now optionally skip signature verification when parsing incoming webhook requests. This new capability is especially useful in scenarios where the channel secret may change, potentially causing temporary signature mismatches.
Example Usage:
parser = linebot.v3.WebhookParser(
'YOUR_CHANNEL_SECRET',
skip_signature_verification=lambda: True # Skip verification
)
When signature verification is skipped, the signatureValidator will not be invoked. This allows webhook requests to be processed even if their signatures do not match the current channel secret used for verification.
This feature is particularly helpful in high-availability systems where avoiding downtime or message loss during configuration updates is critical.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.19.0...v3.19.1
With this release, developers can now optionally skip signature verification when parsing incoming webhook requests. This new capability is especially useful in scenarios where the channel secret may change, potentially causing temporary signature mismatches.
Example Usage:
parser = linebot.v3.WebhookParser(
'YOUR_CHANNEL_SECRET',
skip_signature_verification=lambda: True # Skip verification
)When signature verification is skipped, the signatureValidator will not be invoked. This allows webhook requests to be processed even if their signatures do not match the current channel secret used for verification.
This feature is particularly helpful in high-availability systems where avoiding downtime or message loss during configuration updates is critical.
Full Changelog: v3.19.0...v3.19.1
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- PR-START https://github.com/line/line-openapi/pull/113 -->
We have supported for the new audience‑group type POP_AD_IMP (POP ad impression audience) to the OpenAPI schema.
Updated AudienceGroupType enumeration
POP_AD_IMPThis update enables correct identification and handling of audience groups built from POP ad impressions, a feature that will be released for the Taiwan market.
For more information, please refer to the links provided above.
(original PR is https://github.com/line/line-openapi/pull/113)
<!-- PR-END https://github.com/line/line-openapi/pull/113 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.18.1...v3.19.0
This release is prepared by @eucyt
We have supported for the new audience‑group type POP_AD_IMP (POP ad impression audience) to the OpenAPI schema.
Updated AudienceGroupType enumeration
POP_AD_IMPThis update enables correct identification and handling of audience groups built from POP ad impressions, a feature that will be released for the Taiwan market.
For more information, please refer to the links provided above.
(original PR is line/line-openapi#113)
Full Changelog: v3.18.1...v3.19.0
This release is prepared by @eucyt
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
LINE Things has been closed. In this release we removed the following LINE Things related webhook code
ThingsEventThingsContentLinkThingsContentUnlinkThingsContentScenarioResultThingsContentScenarioResultActionResultAs noted in the README, deletions tied to a business shutdown are shipped as a patch version, not a major version. If your code still references any of these code, they will never be emitted again, so you should remove them.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.18.0...v3.18.1
This release is prepared by @Yang-33
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
This release introduces Coupon API support to the Messaging API, enabling developers to create, manage, and deliver coupons directly through bot integrations. These new features mirror capabilities previously only available through the LINE Official Account Manager, offering greater flexibility in automating coupon workflows via the Messaging API.
POST /v2/bot/coupon
Create a new coupon, including metadata such as title, description, validity period, image URLs, acquisition conditions, and reward details (e.g., fixed-amount discounts).
GET /v2/bot/coupon
Retrieve a list of all coupons associated with your bot.
GET /v2/bot/coupon/{couponId}
Fetch detailed metadata of a specific coupon.
PUT /v2/bot/coupon/{couponId}
Mark a coupon as expired.
type=coupon
You can now send coupons directly to users using the Messaging API, similar to sending text, image, or template messages.For detailed usage examples, see the official documentation.
LINE Developers News — Coupon API Released (2025/08/06)
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.17.1...v3.18.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Type for CreateAudienceGroupResponse#expireTimestamp is not float or double, but integer actually. This release fixes type as bugfix.
(original PR is https://github.com/line/line-openapi/pull/106)
<!-- PR-END https://github.com/line/line-openapi/pull/106 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.17.0...v3.17.1
This release is prepared by @Yang-33
Remove deprecated link by @eucyt in https://github.com/line/line-bot-sdk-python/pull/790
<!-- Release notes generated using configuration in .github/release.yml at master -->
Support a new query parameter includesOwnedAudienceGroups to the client.getSharedAudienceGroups (GET /v2/bot/audienceGroup/shared/list). This enhancement allows users to specify whether to include audience groups owned by the user in the response. It is especially useful for users who manage both shared and owned audience groups.
includesOwnedAudienceGroups parameter to the API endpoint.
true: Include audience groups owned by the LINE Official Account Manager.false: Respond only with audience groups shared by Business Manager./v2/bot/audienceGroup/{audienceGroupId}/activate and /v2/bot/audienceGroup/authorityLevel endpoints.For more information, please refer to the links provided above.
(original PR is https://github.com/line/line-openapi/pull/105)
<!-- PR-END https://github.com/line/line-openapi/pull/105 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.16.3...v3.17.0
This release is prepared by @eucyt
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Note this patch is not related to sdk users. This release is just for our test. See https://github.com/line/line-bot-sdk-python/releases/tag/v3.16.2 about new features.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.16.2...v3.16.3
This release is prepared by @Yang-33
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
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.
POST /v2/bot/audienceGroup/upload (create_audience_group)PUT /v2/bot/audienceGroup/upload (add_audience_to_audience_group)POST /v2/bot/audienceGroup/upload/byFile (create_audience_for_uploading_userIds)POST /v2/bot/audienceGroup/click (create_click_based_audience_group)POST /v2/bot/audienceGroup/imp (create_imp_based_audience_group)NOTE: This change is not a modification of the messaging API itself. It is simply a correction of an error in sdk.
(original PR is https://github.com/line/line-openapi/pull/87)
<!-- PR-END https://github.com/line/line-openapi/pull/87 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.16.1...v3.16.2
This release is prepared by @Yang-33
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Note this patch is not related to sdk users. See https://github.com/line/line-bot-sdk-python/releases/tag/v3.16.0 about new features.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.16.0...v3.16.1
This release is prepared by @Yang-33
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
We have implemented and supported new API and Webhook about 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
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, check out the announcement: https://developers.line.biz/en/news/2025/02/13/membership-api/
(original PR is https://github.com/line/line-openapi/pull/86)
<!-- PR-END https://github.com/line/line-openapi/pull/86 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.15.0...v3.16.0
This release is prepared by @eucyt
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Add /v2/bot/audienceGroup/shared path by @github-actions in https://github.com/line/line-bot-sdk-python/pull/757
<!-- PR-START https://github.com/line/line-openapi/pull/85 -->
We have added and supported new API endpoints related to Shared Audiences in Business Manager.
You can obtain detailed information about a specific audience shared in Business Manager by calling the endpoint:
https://api.line.me/v2/bot/audienceGroup/shared/{audienceGroupId}You can acquire a list of audiences shared in Business Manager using the following endpoint:
https://api.line.me/v2/bot/audienceGroup/shared/listBy using the "Get Shared Audience Information" endpoint, you can retrieve more detailed data about each audience.
For more information, please refer to the links provided above.
(original PR is https://github.com/line/line-openapi/pull/85)
<!-- PR-END https://github.com/line/line-openapi/pull/85 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.14.5...v3.15.0
This release is prepared by @eucyt
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- PR-START https://github.com/line/line-openapi/pull/82 -->
GET /v2/bot/message/delivery/ad_phone was sunset.
This change removes it as it's no longer necessary to include it in line-openapi.
(original PR is https://github.com/line/line-openapi/pull/82)
<!-- PR-END https://github.com/line/line-openapi/pull/82 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.14.4...v3.14.5
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- PR-START https://github.com/line/line-openapi/pull/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.
(original PR is https://github.com/line/line-openapi/pull/80)
<!-- PR-END https://github.com/line/line-openapi/pull/80 -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/v3.14.3...v3.14.4
This release is prepared by @Yang-33
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
A new value in "NarrowcastProgressResponse#errrorCode" was defined and comments have been added to the SDK. https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.14.2...v3.14.3
This release is prepared by @eucyt
This is not related to line-bot-sdk-python user. The published library must be same as 3.14.1
This is not related to line-bot-sdk-python user. The published library must be same as 3.14.1
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Fix TextMessageV2 imports.
ref: https://github.com/line/line-bot-sdk-python/issues/698
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.14.0...3.14.1
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
this version tries to support TextMessageV2 but it's broken when you import library from linebot.v3.messaging. sorry for inconvenience. We try to resolve this issue. https://github.com/line/line-bot-sdk-python/issues/698
Support bot mention features:
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.13.0...3.14.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
https://github.com/line/line-bot-sdk-python/pull/669
In the Messaging API, we've added the following values as the percentage of each age group of your LINE Official Account's friends that you can get by using the Get friend demographics endpoint:
from50to54from55to59from60to64from65to69from70Previously, we've aggregated the percentage of friends who are 50 and older as a single value, from50. With this change, you can now get statistics on the percentage of friends between the ages of 50 and 70.
We'll continue to include from50 in the response as a value that aggregates the percentage of friends who are 50 and older.
News: https://developers.line.biz/en/news/2024/09/05/age-percentage-subdivision/
https://github.com/line/line-openapi/pull/68
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.12.0...3.13.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
https://github.com/line/line-bot-sdk-python/pull/664
In the Messaging API, we've added the following values as conditions for filtering the age range of recipients in the demographic filter objects of narrowcast messages:
age_55age_60age_65age_70Until now, the upper limit was age_50, so it wasn't possible to filter ages over 50 in detail. By specifying the added age ranges, you can now filter recipients more flexibly than before.
news: https://developers.line.biz/en/news/2024/08/26/age-filter-subdivision/
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.11.1...3.12.0
Make the requests version constraints less strict. by @eucyt in https://github.com/line/line-bot-sdk-python/pull/657
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.11.0...3.11.1
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
In the Messaging API, we've added a new endpoint that allows you to display a loading animation. After your LINE Official Account receives a message from a user, the response may takes some time due to message preparation or reservation processing. In such cases, you can visually tell the user that you want them to wait by displaying a loading animation.
news: https://developers.line.biz/en/news/2024/04/17/loading-indicator/
https://github.com/line/line-openapi/pull/54
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.10.2...3.11.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.10.1...3.10.2
See https://github.com/line/line-bot-sdk-python/releases/tag/3.10.0
See https://github.com/line/line-bot-sdk-python/releases/tag/3.10.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
In the Messaging API, you can now determine whether a user has added your LINE Official Account as a friend or unblocked by a webhook follow event.
News: https://developers.line.biz/en/news/2024/02/06/add-friends-and-unblock-friends-can-now-be-determined-by-webhook/
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.8.1...3.9.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
In the Messaging API, we've added the clipboard action for users to copy text to the clipboard. This new feature allows users to more easily copy coupon codes and other text.
news: https://developers.line.biz/en/news/2024/02/05/messaging-api-updated/
Note only the latest app(version >= 14.0.0) supports this feature. Please update your LINE app to try this feature.
I made a mistake in the release procedure. In the version before the correction, you cannot use the clipboard action. (in https://github.com/line/line-bot-sdk-python/releases/tag/3.8.0)
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.8.0...3.8.1
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
In the Messaging API, we've added the clipboard action for users to copy text to the clipboard. This new feature allows users to more easily copy coupon codes and other text.
news: https://developers.line.biz/en/news/2024/02/05/messaging-api-updated/
Note only the latest app(version >= 14.0.0) supports this feature. Please update your LINE app to try this feature.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.7.0...3.8.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
There are several keywords that can be used for the properties of Template Messages and Flex Messages.
Starting from this version, these keywords are provided. In addition to keywords, you can use strings that specify percentages or pixels, so please convert the keywords to strings if necessary. The original definitions are also written in Flex Message layout and https://github.com/line/line-openapi/pull/46.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.6.0...3.7.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
We have now added support for a Webhook (PnpDeliveryCompletionEvent) that can be received once a message is successfully sent via PNP.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.5.1...3.6.0
ChannelAccessToken client doesn't have to require channel access token by @Yang-33 in https://github.com/line/line-bot-sdk-python/pull/557
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.5.0...3.5.1
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
You can now send quote messages from your LINE Official Account and receive quote messages sent by users via webhook. news: https://developers.line.biz/en/news/2023/09/14/send-and-receive-quote-messages-using-the-messaging-api/
sentMessage field is added in push and reply APIsentMessage field is added in push API's ErrorResponsequoteToken and quotedMessageId in some Webhook eventsFull Changelog: https://github.com/line/line-bot-sdk-python/compare/3.4.0...3.5.0
<!-- Release notes generated using configuration in .github/release.yml at master -->
<!-- Release notes generated using configuration in .github/release.yml at master -->
/oauth2/v3/token (issue stateless channel token) API https://github.com/line/line-openapi/pull/30Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.3.0...3.4.0
Add RICHMENU_IMP and RICHMENU_CLICK type to AudienceGroupType. https://github.com/line/line-openapi/pull/29
RICHMENU_IMP and RICHMENU_CLICK type to AudienceGroupType. https://github.com/line/line-openapi/pull/29Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.2.0...3.3.0
Some Liff function names are deprecated. Please use new ones defined in https://github.com/line/line-openapi/pull/26.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.1.0...3.2.0
https://github.com/line/line-openapi/pull/23
Changes are based on
and some libraries are upgraded internally.
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.0.3...3.1.0
Include all packages in linebot directory and release as 3.0.3 by @Yang-33 in https://github.com/line/line-bot-sdk-python/pull/459
3.0.3 by @Yang-33 in https://github.com/line/line-bot-sdk-python/pull/459Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.0.2...3.0.3
Release 3.0.2 by @Yang-33 in https://github.com/line/line-bot-sdk-python/pull/456
Full Changelog: https://github.com/line/line-bot-sdk-python/compare/3.0.0...3.0.2
Update __init__.py by @aircompresser in https://github.com/line/line-bot-sdk-python/pull/436
Add validating message objects APIs @Yang-33
Add validate rich menu object API @intactio
Add two parameters to PostbackAction (https://github.com/line/line-bot-sdk-python/pull/386) @nanato12
Support statistics per aggregation unit (#373) @Yang-33
Support message sticker type and update followers ids API (#369) @louis70109
Implement experimental asyncio support #101 (#340) @tokuhirom
Integration for Audience Group management
Nothing published for this version
Get narrowcast message status properties to know acceptedTime and completedTime
Support Unsend & Video play complete event
Support get group summary, count and room count API (#271, #272)
@handler.add (#259, #276)See also the milestone
Support stickerResourceType property added to sticker message webhook event
New Features
Support new Messaging API endpoints for friend statistics
New Features
LineBotApi#broadcast (#223)
LineBotApi#broadcast returns BroadcastResponse object which contains request_id propertyLineBotApiError (#218)
request_id and headersNew Features - Support Flex Message Update 1
New Features
Your coding agent can read these notes before it upgrades. Set up the MCP server →