LineProfile

class LineProfile(val userId: String, val displayName: String, val pictureUrl: String?, val statusMessage: String?)

The signed-in user, as LINE describes them.

Present only when LineScope.Profile was granted.

Constructors

Link copied to clipboard
constructor(userId: String, displayName: String, pictureUrl: String?, statusMessage: String?)

Properties

Link copied to clipboard

The user's LINE display name. They can change it at any time, so treat it as a label, never as a key.

Link copied to clipboard

Profile image. Append /large or /small for other sizes. Null when the user has no picture set.

Link copied to clipboard

The user's status message, if any.

Link copied to clipboard

Stable identifier, formatted U followed by 32 hex characters. It is scoped to the provider that owns the channel, not to the channel itself: every channel under one provider sees the same ID for the same person, and moving a channel to another provider changes it for everyone.

Functions

Link copied to clipboard
open override fun toString(): String