UserObject
constructor(@Json(name = "banned") banned: Boolean, @Json(name = "custom") custom: Map<String, Any?>, @Json(name = "id") id: String, @Json(name = "online") online: Boolean, @Json(name = "role") role: String, @Json(name = "ban_expires") banExpires: OffsetDateTime? = null, @Json(name = "created_at") createdAt: OffsetDateTime? = null, @Json(name = "deactivated_at") deactivatedAt: OffsetDateTime? = null, @Json(name = "deleted_at") deletedAt: OffsetDateTime? = null, @Json(name = "invisible") invisible: Boolean? = null, @Json(name = "language") language: String? = null, @Json(name = "last_active") lastActive: OffsetDateTime? = null, @Json(name = "privacy_settings") privacySettings: PrivacySettings? = null, @Json(name = "push_notifications") pushNotifications: PushNotificationSettings? = null, @Json(name = "revoke_tokens_issued_before") revokeTokensIssuedBefore: OffsetDateTime? = null, @Json(name = "teams") teams: List<String>? = null, @Json(name = "updated_at") updatedAt: OffsetDateTime? = null)
Parameters
banned
Whether a user is banned or not
custom
id
Unique user identifier
online
Whether a user online or not
role
Determines the set of user permissions
banExpires
Expiration date of the ban
createdAt
Date/time of creation
deactivatedAt
Date of deactivation
deletedAt
Date/time of deletion
invisible
language
Preferred language of a user
lastActive
Date of last activity
privacySettings
pushNotifications
revokeTokensIssuedBefore
Revocation date for tokens
teams
List of teams user is a part of
updatedAt
Date/time of the last update