OwnUser

constructor(@Json(name = "banned") banned: Boolean, @Json(name = "channel_mutes") channelMutes: List<ChannelMute>, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "custom") custom: Map<String, Any?>, @Json(name = "devices") devices: List<Device>, @Json(name = "id") id: String, @Json(name = "language") language: String, @Json(name = "mutes") mutes: List<UserMute>, @Json(name = "online") online: Boolean, @Json(name = "role") role: String, @Json(name = "total_unread_count") totalUnreadCount: Int, @Json(name = "unread_channels") unreadChannels: Int, @Json(name = "unread_count") unreadCount: Int, @Json(name = "unread_threads") unreadThreads: Int, @Json(name = "updated_at") updatedAt: OffsetDateTime, @Json(name = "blocked_user_ids") blockedUserIds: List<String>? = null, @Json(name = "deactivated_at") deactivatedAt: OffsetDateTime? = null, @Json(name = "deleted_at") deletedAt: OffsetDateTime? = null, @Json(name = "invisible") invisible: Boolean? = null, @Json(name = "last_active") lastActive: OffsetDateTime? = null, @Json(name = "latest_hidden_channels") latestHiddenChannels: List<String>? = null, @Json(name = "privacy_settings") privacySettings: PrivacySettings? = null, @Json(name = "push_notifications") pushNotifications: PushNotificationSettings? = null, @Json(name = "teams") teams: List<String>? = null)

Parameters

banned
channelMutes
createdAt
custom
devices
id
language
mutes
online
role
totalUnreadCount
unreadChannels
unreadCount
unreadThreads
updatedAt
blockedUserIds
deactivatedAt
deletedAt
invisible
lastActive
latestHiddenChannels
privacySettings
pushNotifications
teams