Skip to content

Commit

Permalink
Update comments in types to reflect doc changes (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlackty authored Aug 10, 2021
1 parent 00cbb5a commit af26e10
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ export type TextMessage = MessageCommon & {
export type ImageMessage = MessageCommon & {
type: "image";
/**
* Image URL (Max: 1000 characters)
* Image URL (Max: 2000 characters)
*
* - **HTTPS**
* - JPEG
Expand All @@ -613,7 +613,7 @@ export type ImageMessage = MessageCommon & {
*/
originalContentUrl: string;
/**
* Preview image URL (Max: 1000 characters)
* Preview image URL (Max: 2000 characters)
*
* - **HTTPS**
* - JPEG
Expand All @@ -629,7 +629,7 @@ export type ImageMessage = MessageCommon & {
export type VideoMessage = MessageCommon & {
type: "video";
/**
* URL of video file (Max: 1000 characters)
* URL of video file (Max: 2000 characters)
*
* - **HTTPS**
* - mp4
Expand All @@ -640,7 +640,7 @@ export type VideoMessage = MessageCommon & {
*/
originalContentUrl: string;
/**
* URL of preview image (Max: 1000 characters)
* URL of preview image (Max: 2000 characters)
*
* - **HTTPS**
* - JPEG
Expand All @@ -656,7 +656,7 @@ export type VideoMessage = MessageCommon & {
export type AudioMessage = MessageCommon & {
type: "audio";
/**
* URL of audio file (Max: 1000 characters)
* URL of audio file (Max: 2000 characters)
*
* - **HTTPS**
* - m4a
Expand Down Expand Up @@ -714,7 +714,7 @@ export type ImageMapMessage = MessageCommon & {
type: "imagemap";
/**
* [Base URL](https://developers.line.biz/en/reference/messaging-api/#base-url) of image
* (Max: 1000 characters, **HTTPS**)
* (Max: 2000 characters, **HTTPS**)
*/
baseUrl: string;
/**
Expand All @@ -727,7 +727,7 @@ export type ImageMapMessage = MessageCommon & {
*/
video?: {
/**
* URL of video file (Max: 1000 characters)
* URL of video file (Max: 2000 characters)
*
* - **HTTPS**
* - mp4
Expand All @@ -738,7 +738,7 @@ export type ImageMapMessage = MessageCommon & {
*/
originalContentUrl: string;
/**
* URL of preview image (Max: 1000 characters)
* URL of preview image (Max: 2000 characters)
*
* - **HTTPS**
* - JPEG
Expand Down Expand Up @@ -1293,7 +1293,7 @@ export type FlexFiller = {
export type FlexIcon = {
type: "icon";
/**
* Image URL
* Image URL (Max character limit: 2000)
*
* Protocol: HTTPS
* Image format: JPEG or PNG
Expand Down Expand Up @@ -1346,7 +1346,7 @@ export type FlexIcon = {
export type FlexImage = {
type: "image";
/**
* Image URL
* Image URL (Max character limit: 2000)
*
* - Protocol: HTTPS
* - Image format: JPEG or PNG
Expand Down Expand Up @@ -1695,7 +1695,7 @@ export type TemplateContent =
export type TemplateButtons = {
type: "buttons";
/**
* Image URL (Max: 1000 characters)
* Image URL (Max: 2000 characters)
*
* - HTTPS
* - JPEG or PNG
Expand Down Expand Up @@ -1809,7 +1809,7 @@ export type TemplateCarousel = {

export type TemplateColumn = {
/**
* Image URL (Max: 1000 characters)
* Image URL (Max: 2000 characters)
*
* - HTTPS
* - JPEG or PNG
Expand Down Expand Up @@ -1858,7 +1858,7 @@ export type TemplateImageCarousel = {

export type TemplateImageColumn = {
/**
* Image URL (Max: 1000 characters)
* Image URL (Max: 2000 characters)
*
* - HTTPS
* - JPEG or PNG
Expand Down

0 comments on commit af26e10

Please sign in to comment.