Agent

abstract class Agent

Represents all info about an agent.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val firstName: String?

The first name of the agent, or null when not provided by the backend (e.g. when the agent's personal information is hidden).

Link copied to clipboard

The full name of the agent, or null when neither first name nor last name was provided by the backend, or both are blank.

Link copied to clipboard
abstract val id: Int

The id of the agent.

Link copied to clipboard
abstract val imageUrl: String?

The URL for the profile photo of the agent, or null when not provided by the backend (e.g. when the agent's personal information is hidden).

Link copied to clipboard
abstract val isBotUser: Boolean?

Whether the agent is a bot, or null when the agent's bot status is not known.

Link copied to clipboard
abstract val isSurveyUser: Boolean?

Whether the agent is for automated surveys, or null when the agent's survey status is not known.

Link copied to clipboard
abstract val isTyping: Boolean

Indicates that agent is currently typing.

Link copied to clipboard
abstract val lastName: String?

The surname of the agent, or null when not provided by the backend (e.g. when the agent's personal information is hidden).

Link copied to clipboard
abstract val nickname: String?

The optional nickname of the agent.