ChannelMember

data class ChannelMember(@Json(name = "banned") val banned: Boolean, @Json(name = "channel_role") val channelRole: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "notifications_muted") val notificationsMuted: Boolean, @Json(name = "shadow_banned") val shadowBanned: Boolean, @Json(name = "updated_at") val updatedAt: OffsetDateTime, @Json(name = "ban_expires") val banExpires: OffsetDateTime? = null, @Json(name = "deleted_at") val deletedAt: OffsetDateTime? = null, @Json(name = "invite_accepted_at") val inviteAcceptedAt: OffsetDateTime? = null, @Json(name = "invite_rejected_at") val inviteRejectedAt: OffsetDateTime? = null, @Json(name = "invited") val invited: Boolean? = null, @Json(name = "is_moderator") val isModerator: Boolean? = null, @Json(name = "status") val status: String? = null, @Json(name = "user") val user: UserObject? = null, @Json(name = "user_id") val userId: String? = null)

Parameters

banned

Whether member is banned this channel or not

channelRole

Role of the member in the channel

createdAt

Date/time of creation

notificationsMuted
shadowBanned

Whether member is shadow banned in this channel or not

updatedAt

Date/time of the last update

banExpires

Expiration date of the ban

deletedAt
inviteAcceptedAt

Date when invite was accepted

inviteRejectedAt

Date when invite was rejected

invited

Whether member was invited or not

isModerator

Whether member is channel moderator or not

status
user
userId

Constructors

Link copied to clipboard
constructor(@Json(name = "banned") banned: Boolean, @Json(name = "channel_role") channelRole: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "notifications_muted") notificationsMuted: Boolean, @Json(name = "shadow_banned") shadowBanned: Boolean, @Json(name = "updated_at") updatedAt: OffsetDateTime, @Json(name = "ban_expires") banExpires: OffsetDateTime? = null, @Json(name = "deleted_at") deletedAt: OffsetDateTime? = null, @Json(name = "invite_accepted_at") inviteAcceptedAt: OffsetDateTime? = null, @Json(name = "invite_rejected_at") inviteRejectedAt: OffsetDateTime? = null, @Json(name = "invited") invited: Boolean? = null, @Json(name = "is_moderator") isModerator: Boolean? = null, @Json(name = "status") status: String? = null, @Json(name = "user") user: UserObject? = null, @Json(name = "user_id") userId: String? = null)

Properties

Link copied to clipboard
val banExpires: OffsetDateTime? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard
val deletedAt: OffsetDateTime? = null
Link copied to clipboard
val inviteAcceptedAt: OffsetDateTime? = null
Link copied to clipboard
val invited: Boolean? = null
Link copied to clipboard
val inviteRejectedAt: OffsetDateTime? = null
Link copied to clipboard
val isModerator: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: String? = null
Link copied to clipboard
val updatedAt: OffsetDateTime
Link copied to clipboard
val user: UserObject? = null
Link copied to clipboard
val userId: String? = null