addProfileToChatRoom

abstract fun addProfileToChatRoom(chatRoomId: String, profileId: String, liveLikeCallback: LiveLikeCallback<ChatRoomMembership>)

Adds a user profile to the specified chat room, granting membership.

Parameters

chatRoomId

The unique identifier of the chat room where the user's profile will be added.

profileId

The unique identifier of the user profile to be added to the chat room.

liveLikeCallback

A callback to handle the result of adding the user's profile to the chat room, typically returning the updated chat room membership.