tock / ai.tock.bot.api.model.context / UserData

UserData

data class UserData (source)

Constructors

<init>

UserData(firstName: String? = null, lastName: String? = null, email: String? = null, timezone: ZoneId, locale: Locale, picture: String? = null, gender: String? = null, test: Boolean = false)

Properties

email

Email of the user.

var email: String?

firstName

First name of the user.

var firstName: String?

gender

Gender of the user.

var gender: String?

lastName

Last name of the user.

var lastName: String?

locale

Locale of the user.

var locale: Locale

picture

Picture url of the user.

var picture: String?

test

Is it a test user?

var test: Boolean

timezone

Timezone of the user.

var timezone: ZoneId