File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -292,9 +292,7 @@ export default class Client {
292
292
return ensureJSON ( res ) ;
293
293
}
294
294
295
- public async getRichMenuAlias (
296
- richMenuAliasId : string ,
297
- ) : Promise < any > {
295
+ public async getRichMenuAlias ( richMenuAliasId : string ) : Promise < any > {
298
296
const res = await this . http . get < any > (
299
297
`${ MESSAGING_API_PREFIX } /richmenu/alias/${ richMenuAliasId } ` ,
300
298
) ;
Original file line number Diff line number Diff line change @@ -577,13 +577,25 @@ export type TextMessage = MessageCommon & {
577
577
/**
578
578
* Message text. You can include the following emoji:
579
579
*
580
+ * - LINE emojis. Use a $ character as a placeholder and specify the product ID and emoji ID of the LINE emoji you want to use in the emojis property.
580
581
* - Unicode emoji
581
- * - LINE original emoji
582
+ * - (Deprecated) LINE original unicode emojis
582
583
* ([Unicode codepoint table for LINE original emoji](https://developers.line.biz/media/messaging-api/emoji-list.pdf))
583
584
*
584
- * Max: 2000 characters
585
+ * Max: 5000 characters
585
586
*/
586
587
text : string ;
588
+
589
+ /**
590
+ * One or more LINE emoji.
591
+ *
592
+ * Max: 20 LINE emoji
593
+ */
594
+ emojis ?: {
595
+ index : number ;
596
+ productId : string ;
597
+ emojiId : string ;
598
+ } [ ] ;
587
599
} ;
588
600
589
601
/**
@@ -2088,7 +2100,7 @@ export type Size = {
2088
2100
* When a control associated with this action is tapped, the URI specified in
2089
2101
* the `uri` property is opened.
2090
2102
*/
2091
- export type RichMenuSwitchAction = {
2103
+ export type RichMenuSwitchAction = {
2092
2104
type : "richmenuswitch" ;
2093
2105
/**
2094
2106
* Action label. Optional for rich menus. Read when the user's device accessibility feature is enabled.
@@ -2103,7 +2115,7 @@ export type Size = {
2103
2115
* String returned by the postback.data property of the postback event via a webhook
2104
2116
* Max character limit: 300
2105
2117
*/
2106
- data : string ;
2118
+ data : string ;
2107
2119
} ;
2108
2120
2109
2121
/**
You can’t perform that action at this time.
0 commit comments