You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/types.ts
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -497,6 +497,12 @@ export type MessageCommon = {
497
497
* the quickReply property of the last message object is displayed.
498
498
*/
499
499
quickReply?: QuickReply;
500
+
/**
501
+
* [Change icon and display name](https://developers.line.biz/en/docs/messaging-api/icon-nickname-switch/)
502
+
*
503
+
* When sending a message from the LINE Official Account, you can specify the `sender.name` and the `sender.iconUrl` properties in [Message objects](https://developers.line.biz/en/reference/messaging-api/#message-objects).
504
+
*/
505
+
sender?: Sender;
500
506
};
501
507
502
508
/**
@@ -1744,6 +1750,23 @@ export type QuickReplyItem = {
1744
1750
action: Action;
1745
1751
};
1746
1752
1753
+
exporttypeSender={
1754
+
/**
1755
+
* Display name
1756
+
*
1757
+
* - Max character limit: 20
1758
+
* - Certain words such as `LINE` may not be used.
1759
+
*/
1760
+
name?: string;
1761
+
/**
1762
+
* Icon image URL
1763
+
*
1764
+
* - Max character limit: 1000
1765
+
* - URL scheme: https
1766
+
*/
1767
+
iconUrl?: string;
1768
+
};
1769
+
1747
1770
/**
1748
1771
* These are types of actions for your bot to take when a user taps a button or an image in a message.
0 commit comments