What's Changed
- Support mark as read by token API by @github-actions[bot] in #880
Support for "Mark as Read" by Token API
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)
Example
line_bot_api.mark_messages_as_read_by_token(
MarkMessagesAsReadByTokenRequest(
mark_as_read_token=event.message.mark_as_read_token
)
)line-openapi updates
Dependency updates
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.20 by @renovate[bot] in #874
- chore(deps): update github artifact actions (major) by @renovate[bot] in #876
- fix(deps): update dependency org.openapitools:openapi-generator to v7.17.0 by @renovate[bot] in #878
Full Changelog: v3.20.0...v3.21.0
This release is prepared by @habara-k