Member

class Member : User

Represents a GroupChannel member.

Since

3.0.30

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Represents friend discovery key.

Link copied to clipboard

The friend name.

Link copied to clipboard

Whether the user is active.

Link copied to clipboard

Whether the Member is blocked by the SendbirdChat.currentUser.

Link copied to clipboard

Whether the Member is blocking the SendbirdChat.currentUser.

Link copied to clipboard

Whether the Member is muted or not.

Link copied to clipboard

The time this User has been last seen at. Zero if this User is online.

Link copied to clipboard

The Member's invitation state.

Link copied to clipboard

All meta data of the user.

Link copied to clipboard

The nickname of the user.

Link copied to clipboard

The User original profile URL.

Link copied to clipboard

The plain profile image URL, which does not contain SendbirdChat.eKey as a parameter. If the file encryption feature is enabled, accessing this plainProfileImageUrl will be denied.

Link copied to clipboard

The preferred languages of the user.

Link copied to clipboard

The profile image URL. If the file encryption feature is enabled, this will have SendbirdChat.eKey combined with the plainProfileImageUrl so the file can be accessed. For caching the file, it is recommended to use plainProfileImageUrl as the key of the file cache.

Link copied to clipboard

Restriction information for the current member. Only Nonnull if the member is muted.

Link copied to clipboard
var role: Role

The role of this member in the channel. Refer to Role.

Link copied to clipboard

The ID of the user.

Functions

Link copied to clipboard
fun createMetaData(metaDataMap: Map<String, String>, handler: MetaDataHandler?)

Creates meta data. This can be used to customize the user.

Link copied to clipboard

Deletes all meta data.

Link copied to clipboard

Deletes a meta data.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Gets meta data.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun serialize(): ByteArray

Serializes the Member instance. This byte array can be stored in the database in your application. The instance can be restored by buildFromSerializedData.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun updateMetaData(metaDataMap: Map<String, String>, handler: MetaDataHandler?)

Updates meta data.