Skip to content

Commit d6001da

Browse files
authored
Add language support for profile API (#215)
* Add language support for profile API * Make language optional
1 parent 6f4f40b commit d6001da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export type Profile = {
1616
userId: string;
1717
pictureUrl: string;
1818
statusMessage: string;
19+
language?: string;
1920
};
2021

2122
/**
@@ -499,7 +500,7 @@ export type MessageCommon = {
499500
quickReply?: QuickReply;
500501
/**
501502
* [Change icon and display name](https://developers.line.biz/en/docs/messaging-api/icon-nickname-switch/)
502-
*
503+
*
503504
* 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).
504505
*/
505506
sender?: Sender;
@@ -1759,7 +1760,7 @@ export type Sender = {
17591760
*/
17601761
name?: string;
17611762
/**
1762-
* Icon image URL
1763+
* Icon image URL
17631764
*
17641765
* - Max character limit: 1000
17651766
* - URL scheme: https

0 commit comments

Comments
 (0)