Commit e84323b
Support mark as read by token API (#757)
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 <[email protected]>1 parent eccfbf2 commit e84323b
File tree
39 files changed
+6029
-695
lines changed- docs
- classes
- files
- indices
- js
- namespaces
- packages
- reports
- src
- clients/messaging-api/lib
- Api
- Model
- webhook
- lib/Model
- test/Model
39 files changed
+6029
-695
lines changedLines changed: 777 additions & 342 deletions
Large diffs are not rendered by default.
Lines changed: 2232 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 144 additions & 38 deletions
Large diffs are not rendered by default.
Lines changed: 144 additions & 38 deletions
Large diffs are not rendered by default.
Lines changed: 146 additions & 40 deletions
Large diffs are not rendered by default.
Lines changed: 148 additions & 42 deletions
Large diffs are not rendered by default.
Lines changed: 165 additions & 59 deletions
Large diffs are not rendered by default.
Lines changed: 150 additions & 44 deletions
Large diffs are not rendered by default.
Lines changed: 146 additions & 40 deletions
Large diffs are not rendered by default.
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
286 | 293 | | |
287 | 294 | | |
288 | 295 | | |
| |||
541 | 548 | | |
542 | 549 | | |
543 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
544 | 586 | | |
545 | 587 | | |
546 | 588 | | |
| |||
664 | 706 | | |
665 | 707 | | |
666 | 708 | | |
| 709 | + | |
667 | 710 | | |
668 | 711 | | |
669 | 712 | | |
| |||
0 commit comments