Skip to content

Commit af26e10

Browse files
authored
Update comments in types to reflect doc changes (#296)
1 parent 00cbb5a commit af26e10

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

lib/types.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ export type TextMessage = MessageCommon & {
604604
export type ImageMessage = MessageCommon & {
605605
type: "image";
606606
/**
607-
* Image URL (Max: 1000 characters)
607+
* Image URL (Max: 2000 characters)
608608
*
609609
* - **HTTPS**
610610
* - JPEG
@@ -613,7 +613,7 @@ export type ImageMessage = MessageCommon & {
613613
*/
614614
originalContentUrl: string;
615615
/**
616-
* Preview image URL (Max: 1000 characters)
616+
* Preview image URL (Max: 2000 characters)
617617
*
618618
* - **HTTPS**
619619
* - JPEG
@@ -629,7 +629,7 @@ export type ImageMessage = MessageCommon & {
629629
export type VideoMessage = MessageCommon & {
630630
type: "video";
631631
/**
632-
* URL of video file (Max: 1000 characters)
632+
* URL of video file (Max: 2000 characters)
633633
*
634634
* - **HTTPS**
635635
* - mp4
@@ -640,7 +640,7 @@ export type VideoMessage = MessageCommon & {
640640
*/
641641
originalContentUrl: string;
642642
/**
643-
* URL of preview image (Max: 1000 characters)
643+
* URL of preview image (Max: 2000 characters)
644644
*
645645
* - **HTTPS**
646646
* - JPEG
@@ -656,7 +656,7 @@ export type VideoMessage = MessageCommon & {
656656
export type AudioMessage = MessageCommon & {
657657
type: "audio";
658658
/**
659-
* URL of audio file (Max: 1000 characters)
659+
* URL of audio file (Max: 2000 characters)
660660
*
661661
* - **HTTPS**
662662
* - m4a
@@ -714,7 +714,7 @@ export type ImageMapMessage = MessageCommon & {
714714
type: "imagemap";
715715
/**
716716
* [Base URL](https://developers.line.biz/en/reference/messaging-api/#base-url) of image
717-
* (Max: 1000 characters, **HTTPS**)
717+
* (Max: 2000 characters, **HTTPS**)
718718
*/
719719
baseUrl: string;
720720
/**
@@ -727,7 +727,7 @@ export type ImageMapMessage = MessageCommon & {
727727
*/
728728
video?: {
729729
/**
730-
* URL of video file (Max: 1000 characters)
730+
* URL of video file (Max: 2000 characters)
731731
*
732732
* - **HTTPS**
733733
* - mp4
@@ -738,7 +738,7 @@ export type ImageMapMessage = MessageCommon & {
738738
*/
739739
originalContentUrl: string;
740740
/**
741-
* URL of preview image (Max: 1000 characters)
741+
* URL of preview image (Max: 2000 characters)
742742
*
743743
* - **HTTPS**
744744
* - JPEG
@@ -1293,7 +1293,7 @@ export type FlexFiller = {
12931293
export type FlexIcon = {
12941294
type: "icon";
12951295
/**
1296-
* Image URL
1296+
* Image URL (Max character limit: 2000)
12971297
*
12981298
* Protocol: HTTPS
12991299
* Image format: JPEG or PNG
@@ -1346,7 +1346,7 @@ export type FlexIcon = {
13461346
export type FlexImage = {
13471347
type: "image";
13481348
/**
1349-
* Image URL
1349+
* Image URL (Max character limit: 2000)
13501350
*
13511351
* - Protocol: HTTPS
13521352
* - Image format: JPEG or PNG
@@ -1695,7 +1695,7 @@ export type TemplateContent =
16951695
export type TemplateButtons = {
16961696
type: "buttons";
16971697
/**
1698-
* Image URL (Max: 1000 characters)
1698+
* Image URL (Max: 2000 characters)
16991699
*
17001700
* - HTTPS
17011701
* - JPEG or PNG
@@ -1809,7 +1809,7 @@ export type TemplateCarousel = {
18091809

18101810
export type TemplateColumn = {
18111811
/**
1812-
* Image URL (Max: 1000 characters)
1812+
* Image URL (Max: 2000 characters)
18131813
*
18141814
* - HTTPS
18151815
* - JPEG or PNG
@@ -1858,7 +1858,7 @@ export type TemplateImageCarousel = {
18581858

18591859
export type TemplateImageColumn = {
18601860
/**
1861-
* Image URL (Max: 1000 characters)
1861+
* Image URL (Max: 2000 characters)
18621862
*
18631863
* - HTTPS
18641864
* - JPEG or PNG

0 commit comments

Comments
 (0)