Skip to content

@line/bot-sdk


@line/bot-sdk / messagingApi / UserProfileResponse

Type Alias: UserProfileResponse

UserProfileResponse = object

Defined in: lib/messaging-api/model/userProfileResponse.ts:16

See

https://developers.line.biz/en/reference/messaging-api/#get-profile

Properties

displayName

displayName: string

Defined in: lib/messaging-api/model/userProfileResponse.ts:20

User's display name


language?

optional language?: string

Defined in: lib/messaging-api/model/userProfileResponse.ts:36

User's language, as a BCP 47 language tag. Not included in the response if the user hasn't yet consented to the LINE Privacy Policy.


pictureUrl?

optional pictureUrl?: string

Defined in: lib/messaging-api/model/userProfileResponse.ts:28

Profile image URL. https image URL. Not included in the response if the user doesn't have a profile image.


statusMessage?

optional statusMessage?: string

Defined in: lib/messaging-api/model/userProfileResponse.ts:32

User's status message. Not included in the response if the user doesn't have a status message.


userId

userId: string

Defined in: lib/messaging-api/model/userProfileResponse.ts:24

User ID