Skip to content

Commit 32ae943

Browse files
committed
Fix the location of markAsReadToken in webhook
1 parent 023cc24 commit 32ae943

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

webhook.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,6 @@ components:
219219
id:
220220
type: string
221221
description: "Message ID"
222-
markAsReadToken:
223-
type: string
224-
description: |+
225-
Token used to mark the message as read.
226222
discriminator:
227223
propertyName: type
228224
mapping:
@@ -278,6 +274,10 @@ components:
278274
quotedMessageId:
279275
type: string
280276
description: "Message ID of a quoted message. Only included when the received message quotes a past message."
277+
markAsReadToken:
278+
type: string
279+
description: |+
280+
Token used to mark the message as read.
281281
Emoji:
282282
required:
283283
- index
@@ -366,6 +366,10 @@ components:
366366
type: string
367367
description: |+
368368
Quote token to quote this message.
369+
markAsReadToken:
370+
type: string
371+
description: |+
372+
Token used to mark the message as read.
369373
ImageSet:
370374
type: object
371375
required:
@@ -400,6 +404,10 @@ components:
400404
type: string
401405
description: |+
402406
Quote token to quote this message.
407+
markAsReadToken:
408+
type: string
409+
description: |+
410+
Token used to mark the message as read.
403411
AudioMessageContent:
404412
allOf:
405413
- $ref: "#/components/schemas/MessageContent"
@@ -414,6 +422,10 @@ components:
414422
type: integer
415423
format: int64
416424
description: "Length of audio file (milliseconds)"
425+
markAsReadToken:
426+
type: string
427+
description: |+
428+
Token used to mark the message as read.
417429
FileMessageContent:
418430
allOf:
419431
- $ref: "#/components/schemas/MessageContent"
@@ -429,6 +441,10 @@ components:
429441
fileSize:
430442
type: integer
431443
description: "File size in bytes"
444+
markAsReadToken:
445+
type: string
446+
description: |+
447+
Token used to mark the message as read.
432448
LocationMessageContent:
433449
allOf:
434450
- $ref: "#/components/schemas/MessageContent"
@@ -452,6 +468,10 @@ components:
452468
type: number
453469
format: double
454470
description: "Longitude"
471+
markAsReadToken:
472+
type: string
473+
description: |+
474+
Token used to mark the message as read.
455475
StickerMessageContent:
456476
externalDocs:
457477
url: https://developers.line.biz/en/reference/messaging-api/#wh-sticker
@@ -508,6 +528,10 @@ components:
508528
type: string
509529
description: |+
510530
Message ID of a quoted message. Only included when the received message quotes a past message.
531+
markAsReadToken:
532+
type: string
533+
description: |+
534+
Token used to mark the message as read.
511535
512536
# https://developers.line.biz/en/reference/messaging-api/#unsend-event
513537
UnsendEvent:

0 commit comments

Comments
 (0)