File tree Expand file tree Collapse file tree 25 files changed +86
-48
lines changed Expand file tree Collapse file tree 25 files changed +86
-48
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,13 @@ import { MessageBase } from "./models";
19
19
export type AudioMessage = MessageBase & {
20
20
type : "audio" ;
21
21
/**
22
+ *
23
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#audio-message">originalContentUrl Documentation</a>
22
24
*/
23
- originalContentUrl ? : string /**/ ;
25
+ originalContentUrl : string /**/ ;
24
26
/**
27
+ *
28
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#audio-message">duration Documentation</a>
25
29
*/
26
- duration ? : number /**/ ;
30
+ duration : number /**/ ;
27
31
} ;
Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ export type ButtonsTemplate = TemplateBase & {
34
34
title ?: string /**/ ;
35
35
/**
36
36
*/
37
- text ? : string /**/ ;
37
+ text : string /**/ ;
38
38
/**
39
39
*/
40
40
defaultAction ?: Action /**/ ;
41
41
/**
42
42
*/
43
- actions ? : Array < Action > /**/ ;
43
+ actions : Array < Action > /**/ ;
44
44
} ;
Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ export type CarouselColumn = {
27
27
title ?: string /**/ ;
28
28
/**
29
29
*/
30
- text ? : string /**/ ;
30
+ text : string /**/ ;
31
31
/**
32
32
*/
33
33
defaultAction ?: Action /**/ ;
34
34
/**
35
35
*/
36
- actions ? : Array < Action > /**/ ;
36
+ actions : Array < Action > /**/ ;
37
37
} ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export type CarouselTemplate = TemplateBase & {
19
19
type : "carousel" ;
20
20
/**
21
21
*/
22
- columns ? : Array < CarouselColumn > /**/ ;
22
+ columns : Array < CarouselColumn > /**/ ;
23
23
/**
24
24
*/
25
25
imageAspectRatio ?: string /**/ ;
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ export type ConfirmTemplate = TemplateBase & {
19
19
type : "confirm" ;
20
20
/**
21
21
*/
22
- text ? : string /**/ ;
22
+ text : string /**/ ;
23
23
/**
24
24
*/
25
- actions ? : Array < Action > /**/ ;
25
+ actions : Array < Action > /**/ ;
26
26
} ;
Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ export type FlexBox = FlexComponentBase & {
20
20
type : "box" ;
21
21
/**
22
22
*/
23
- layout ? : FlexBox . LayoutEnum /**/ ;
23
+ layout : FlexBox . LayoutEnum /**/ ;
24
24
/**
25
25
*/
26
26
flex ?: number /**/ ;
27
27
/**
28
28
*/
29
- contents ? : Array < FlexComponent > /**/ ;
29
+ contents : Array < FlexComponent > /**/ ;
30
30
/**
31
31
*/
32
32
spacing ?: string /**/ ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export type FlexButton = FlexComponentBase & {
28
28
style ?: FlexButton . StyleEnum /**/ ;
29
29
/**
30
30
*/
31
- action ? : Action /**/ ;
31
+ action : Action /**/ ;
32
32
/**
33
33
*/
34
34
gravity ?: FlexButton . GravityEnum /**/ ;
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ export type FlexCarousel = FlexContainerBase & {
19
19
type : "carousel" ;
20
20
/**
21
21
*/
22
- contents ? : Array < FlexBubble > /**/ ;
22
+ contents : Array < FlexBubble > /**/ ;
23
23
} ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export type FlexIcon = FlexComponentBase & {
20
20
*
21
21
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">url Documentation</a>
22
22
*/
23
- url ? : string /**/ ;
23
+ url : string /**/ ;
24
24
/**
25
25
*
26
26
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">size Documentation</a>
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ export type FlexMessage = MessageBase & {
23
23
*
24
24
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#flex-message">altText Documentation</a>
25
25
*/
26
- altText ? : string /**/ ;
26
+ altText : string /**/ ;
27
27
/**
28
28
*
29
29
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#flex-message">contents Documentation</a>
30
30
*/
31
- contents ? : FlexContainer /**/ ;
31
+ contents : FlexContainer /**/ ;
32
32
} ;
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ export type FlexVideo = FlexComponentBase & {
19
19
type : "video" ;
20
20
/**
21
21
*/
22
- url ? : string /**/ ;
22
+ url : string /**/ ;
23
23
/**
24
24
*/
25
- previewUrl ? : string /**/ ;
25
+ previewUrl : string /**/ ;
26
26
/**
27
27
*/
28
- altContent ? : FlexComponent /**/ ;
28
+ altContent : FlexComponent /**/ ;
29
29
/**
30
30
*/
31
31
aspectRatio ?: string /**/ ;
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ import { Action } from "./action";
15
15
export type ImageCarouselColumn = {
16
16
/**
17
17
*/
18
- imageUrl ? : string /**/ ;
18
+ imageUrl : string /**/ ;
19
19
/**
20
20
*/
21
- action ? : Action /**/ ;
21
+ action : Action /**/ ;
22
22
} ;
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ export type ImageCarouselTemplate = TemplateBase & {
19
19
type : "image_carousel" ;
20
20
/**
21
21
*/
22
- columns ? : Array < ImageCarouselColumn > /**/ ;
22
+ columns : Array < ImageCarouselColumn > /**/ ;
23
23
} ;
Original file line number Diff line number Diff line change @@ -19,9 +19,13 @@ import { MessageBase } from "./models";
19
19
export type ImageMessage = MessageBase & {
20
20
type : "image" ;
21
21
/**
22
+ *
23
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#image-message">originalContentUrl Documentation</a>
22
24
*/
23
- originalContentUrl ? : string /**/ ;
25
+ originalContentUrl : string /**/ ;
24
26
/**
27
+ *
28
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#image-message">previewImageUrl Documentation</a>
25
29
*/
26
- previewImageUrl ? : string /**/ ;
30
+ previewImageUrl : string /**/ ;
27
31
} ;
Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ export type ImagemapActionBase = {
34
34
*
35
35
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#imagemap-action-objects">area Documentation</a>
36
36
*/
37
- area ? : ImagemapArea /**/ ;
37
+ area : ImagemapArea /**/ ;
38
38
} ;
Original file line number Diff line number Diff line change 13
13
export type ImagemapArea = {
14
14
/**
15
15
*/
16
- x ? : number /**/ ;
16
+ x : number /**/ ;
17
17
/**
18
18
*/
19
- y ? : number /**/ ;
19
+ y : number /**/ ;
20
20
/**
21
21
*/
22
- width ? : number /**/ ;
22
+ width : number /**/ ;
23
23
/**
24
24
*/
25
- height ? : number /**/ ;
25
+ height : number /**/ ;
26
26
} ;
Original file line number Diff line number Diff line change 13
13
export type ImagemapBaseSize = {
14
14
/**
15
15
*/
16
- height ? : number /**/ ;
16
+ height : number /**/ ;
17
17
/**
18
18
*/
19
- width ? : number /**/ ;
19
+ width : number /**/ ;
20
20
} ;
Original file line number Diff line number Diff line change @@ -25,22 +25,22 @@ export type ImagemapMessage = MessageBase & {
25
25
*
26
26
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#imagemap-message">baseUrl Documentation</a>
27
27
*/
28
- baseUrl ? : string /**/ ;
28
+ baseUrl : string /**/ ;
29
29
/**
30
30
*
31
31
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#imagemap-message">altText Documentation</a>
32
32
*/
33
- altText ? : string /**/ ;
33
+ altText : string /**/ ;
34
34
/**
35
35
*
36
36
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#imagemap-message">baseSize Documentation</a>
37
37
*/
38
- baseSize ? : ImagemapBaseSize /**/ ;
38
+ baseSize : ImagemapBaseSize /**/ ;
39
39
/**
40
40
*
41
41
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#imagemap-message">actions Documentation</a>
42
42
*/
43
- actions ? : Array < ImagemapAction > /**/ ;
43
+ actions : Array < ImagemapAction > /**/ ;
44
44
/**
45
45
*
46
46
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#imagemap-message">video Documentation</a>
Original file line number Diff line number Diff line change @@ -19,15 +19,23 @@ import { MessageBase } from "./models";
19
19
export type LocationMessage = MessageBase & {
20
20
type : "location" ;
21
21
/**
22
+ *
23
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#location-message">title Documentation</a>
22
24
*/
23
- title ? : string /**/ ;
25
+ title : string /**/ ;
24
26
/**
27
+ *
28
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#location-message">address Documentation</a>
25
29
*/
26
- address ? : string /**/ ;
30
+ address : string /**/ ;
27
31
/**
32
+ *
33
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#location-message">latitude Documentation</a>
28
34
*/
29
- latitude ? : number /**/ ;
35
+ latitude : number /**/ ;
30
36
/**
37
+ *
38
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#location-message">longitude Documentation</a>
31
39
*/
32
- longitude ? : number /**/ ;
40
+ longitude : number /**/ ;
33
41
} ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export type MessageImagemapAction = ImagemapActionBase & {
19
19
type : "message" ;
20
20
/**
21
21
*/
22
- text ? : string /**/ ;
22
+ text : string /**/ ;
23
23
/**
24
24
*/
25
25
label ?: string /**/ ;
Original file line number Diff line number Diff line change @@ -19,13 +19,19 @@ import { MessageBase } from "./models";
19
19
export type StickerMessage = MessageBase & {
20
20
type : "sticker" ;
21
21
/**
22
+ *
23
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#sticker-message">packageId Documentation</a>
22
24
*/
23
- packageId ? : string /**/ ;
25
+ packageId : string /**/ ;
24
26
/**
27
+ *
28
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#sticker-message">stickerId Documentation</a>
25
29
*/
26
- stickerId ? : string /**/ ;
30
+ stickerId : string /**/ ;
27
31
/**
28
32
* Quote token of the message you want to quote.
33
+ *
34
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#sticker-message">quoteToken Documentation</a>
29
35
*/
30
36
quoteToken ?: string /**/ ;
31
37
} ;
Original file line number Diff line number Diff line change @@ -20,9 +20,13 @@ import { MessageBase } from "./models";
20
20
export type TemplateMessage = MessageBase & {
21
21
type : "template" ;
22
22
/**
23
+ *
24
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#template-messages">altText Documentation</a>
23
25
*/
24
- altText ? : string /**/ ;
26
+ altText : string /**/ ;
25
27
/**
28
+ *
29
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#template-messages">template Documentation</a>
26
30
*/
27
- template ? : Template /**/ ;
31
+ template : Template /**/ ;
28
32
} ;
Original file line number Diff line number Diff line change @@ -20,13 +20,19 @@ import { MessageBase } from "./models";
20
20
export type TextMessage = MessageBase & {
21
21
type : "text" ;
22
22
/**
23
+ *
24
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#text-message">text Documentation</a>
23
25
*/
24
- text ? : string /**/ ;
26
+ text : string /**/ ;
25
27
/**
28
+ *
29
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#text-message">emojis Documentation</a>
26
30
*/
27
31
emojis ?: Array < Emoji > /**/ ;
28
32
/**
29
33
* Quote token of the message you want to quote.
34
+ *
35
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#text-message">quoteToken Documentation</a>
30
36
*/
31
37
quoteToken ?: string /**/ ;
32
38
} ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export type URIImagemapAction = ImagemapActionBase & {
19
19
type : "uri" ;
20
20
/**
21
21
*/
22
- linkUri ? : string /**/ ;
22
+ linkUri : string /**/ ;
23
23
/**
24
24
*/
25
25
label ?: string /**/ ;
Original file line number Diff line number Diff line change @@ -19,12 +19,18 @@ import { MessageBase } from "./models";
19
19
export type VideoMessage = MessageBase & {
20
20
type : "video" ;
21
21
/**
22
+ *
23
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#video-message">originalContentUrl Documentation</a>
22
24
*/
23
- originalContentUrl ? : string /**/ ;
25
+ originalContentUrl : string /**/ ;
24
26
/**
27
+ *
28
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#video-message">previewImageUrl Documentation</a>
25
29
*/
26
- previewImageUrl ? : string /**/ ;
30
+ previewImageUrl : string /**/ ;
27
31
/**
32
+ *
33
+ * @see <a href="https://developers.line.biz/en/reference/messaging-api/#video-message">trackingId Documentation</a>
28
34
*/
29
35
trackingId ?: string /**/ ;
30
36
} ;
You can’t perform that action at this time.
0 commit comments