Skip to content

Conversation

@habara-k
Copy link
Contributor

@habara-k habara-k commented Nov 5, 2025

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 MessageEvent 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/

@habara-k habara-k requested a review from a team November 5, 2025 05:27
webhook.yml Outdated
properties:
replyToken:
type: string
markAsReadToken:
Copy link
Contributor

@Yang-33 Yang-33 Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be in MessageContent, and not in MessageEvent? because https://developers.line.biz/en/reference/messaging-api/#message-event explains it as message.markAsReadToken

@habara-k habara-k force-pushed the support-mark-as-read-by-token branch from 1453bea to 32ae943 Compare November 6, 2025 03:41
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

PHP

You can check generated code in php

Check the diff here

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

NODEJS

You can check generated code in nodejs

Check the diff here

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

JAVA

You can check generated code in java

Check the diff here

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

GO

You can check generated code in go

Check the diff here

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

PYTHON

You can check generated code in python

Check the diff here

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

RUBY

You can check generated code in ruby

Check the diff here

@habara-k habara-k requested review from a team, Yang-33 and eucyt November 6, 2025 05:01
@habara-k habara-k added this pull request to the merge queue Nov 7, 2025
Merged via the queue into main with commit 360cf19 Nov 7, 2025
23 checks passed
@habara-k habara-k deleted the support-mark-as-read-by-token branch November 7, 2025 05:25
habara-k pushed a commit to line/line-bot-sdk-php that referenced this pull request Nov 7, 2025
line/line-openapi#115

## 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 `MessageEvent`
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/

---------

Co-authored-by: github-actions <github-actions@github.com>
habara-k pushed a commit to line/line-bot-sdk-ruby that referenced this pull request Nov 7, 2025
line/line-openapi#115

## 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 `MessageEvent`
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/

Co-authored-by: github-actions <github-actions@github.com>
habara-k pushed a commit to line/line-bot-sdk-java that referenced this pull request Nov 7, 2025
line/line-openapi#115

## 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 `MessageEvent`
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/

Co-authored-by: github-actions <github-actions@github.com>
habara-k pushed a commit to line/line-bot-sdk-python that referenced this pull request Nov 7, 2025
line/line-openapi#115

## 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 `MessageEvent`
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/

Co-authored-by: github-actions <github-actions@github.com>
habara-k pushed a commit to line/line-bot-sdk-go that referenced this pull request Nov 7, 2025
line/line-openapi#115

## 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 `MessageEvent`
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/

Co-authored-by: github-actions <github-actions@github.com>
habara-k pushed a commit to line/line-bot-sdk-nodejs that referenced this pull request Nov 7, 2025
line/line-openapi#115

## 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 `MessageEvent`
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/

Co-authored-by: github-actions <github-actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants