Skip to content

v12.3.0 Support mark as read by token API

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Nov 08:14
Immutable release. Only release title and notes can be modified.
246ec41

What's Changed

  • Support mark as read by token API by @github-actions[bot] in #757

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

$bot->markAsReadByToken(new MarkAsReadByTokenRequest([
    'markAsReadToken' => $message->markAsReadToken,
]))

line-openapi updates

Dependency updates

  • chore(deps): update actions/upload-artifact action to v5 by @renovate[bot] in #753

Other Changes

  • Remove Things examples by @eucyt in #754
  • Update documents and examples to use the constructor which sets the discriminator value automatically by @eucyt in #755

Full Changelog: v12.2.0...v12.3.0


This release is prepared by @habara-k