What's Changed
- Support mark as read by token API by @github-actions[bot] in #1443
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
client.markMessagesAsReadByToken({
markAsReadToken: event.message.markAsReadToken
})line-openapi updates
Dependency updates
- Update openapi-generator-version to v7.17.0 by @renovate[bot] in #1441
- Update dependency @types/express to v5.0.5 by @renovate[bot] in #1436
- Update dependency @types/node to v22.18.13 by @renovate[bot] in #1439
- Update dependency axios to v1.13.1 by @renovate[bot] in #1437
- Update dependency msw to v2.11.6 by @renovate[bot] in #1433
- Update dependency @types/node to v24 by @renovate[bot] in #1434
Other Changes
- Use npm ci instead of npm install by @habara-k in #1432
- Set npm version as 11.6.0 in renovate by @eucyt in #1440
Full Changelog: v10.4.0...v10.5.0
This release is prepared by @habara-k