RoomMemberContent

@JsonClass(generateAdapter = true)
data class RoomMemberContent(    @Json(name = "membership") val membership: Membership,     @Json(name = "reason") val reason: String? = null,     @Json(name = "displayname") val displayName: String? = null,     @Json(name = "avatar_url") val avatarUrl: String? = null,     @Json(name = "is_direct") val isDirect: Boolean = false,     @Json(name = "third_party_invite") val thirdPartyInvite: Invite? = null,     @Json(name = "unsigned") val unsignedData: UnsignedData? = null)

Class representing the EventType.STATE_ROOM_MEMBER state event content.

Constructors

Link copied to clipboard
fun RoomMemberContent(    @Json(name = "membership") membership: Membership,     @Json(name = "reason") reason: String? = null,     @Json(name = "displayname") displayName: String? = null,     @Json(name = "avatar_url") avatarUrl: String? = null,     @Json(name = "is_direct") isDirect: Boolean = false,     @Json(name = "third_party_invite") thirdPartyInvite: Invite? = null,     @Json(name = "unsigned") unsignedData: UnsignedData? = null)

Properties

Link copied to clipboard
val avatarUrl: String? = null
Link copied to clipboard
val displayName: String? = null
Link copied to clipboard
val isDirect: Boolean = false
Link copied to clipboard
val membership: Membership
Link copied to clipboard
val reason: String? = null
Link copied to clipboard
val safeReason: String?
Link copied to clipboard
val thirdPartyInvite: Invite? = null
Link copied to clipboard
val unsignedData: UnsignedData? = null