LiveLikeChatClient

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addCurrentProfileToChatRoom(chatRoomId: String, liveLikeCallback: LiveLikeCallback<ChatRoomMembership>)

Adds the current user's profile to the specified chat room, granting membership.

Link copied to clipboard
abstract fun addProfileToChatRoom(chatRoomId: String, profileId: String, liveLikeCallback: LiveLikeCallback<ChatRoomMembership>)

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

Link copied to clipboard
abstract fun createChatRoom(title: String? = null, visibility: Visibility? = null, tokenGates: List<ChatRoomTokenGate>? = null, liveLikeCallback: LiveLikeCallback<ChatRoom>)

Creates a new chat room with the specified parameters.

Link copied to clipboard

Removes the current user's profile from the specified chat room, revoking membership.

Link copied to clipboard
abstract fun getChatRoom(id: String, liveLikeCallback: LiveLikeCallback<ChatRoom>)

Retrieves a chat room with the specified unique identifier.

Link copied to clipboard
abstract fun getChatRoomMemberships(chatRoomRequestOptions: ChatRoomRequestOptions, liveLikeCallback: LiveLikeCallback<List<LiveLikeProfile>>)

Fetches chat room membership, provided chat room id

Link copied to clipboard
abstract fun getCurrentProfileChatRoomList(liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<ChatRoom>>)

Retrieves a list of chat rooms associated with the current user's profile.

Retrieves a list of chat room invitations received by the current user's profile with the specified invitation status.

Retrieves a list of chat room invitations sent by the current user's profile with the specified invitation status.

Link copied to clipboard
abstract fun getMembersOfChatRoom(chatRoomId: String, liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<LiveLikeProfile>>)

Retrieves a list of members (profiles) in the specified chat room.

Link copied to clipboard
abstract fun getPinMessageInfoList(chatRoomId: String, order: LiveLikeOrdering, pagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<PinMessageInfo>>)

Retrieves a list of pinned messages (PinMessageInfo) in the specified chat room.

Link copied to clipboard
abstract fun getProfileChatRoomMemberships(profileChatRoomMembershipRequestOption: ProfileChatRoomMembershipRequestOption, liveLikeCallback: LiveLikeCallback<List<ChatRoom>>)

Fetches chat room membership for a single or multiple profiles

Link copied to clipboard
abstract fun getProfileMutedStatus(chatRoomId: String, liveLikeCallback: LiveLikeCallback<ChatProfileMuteStatus>)

Retrieves the muted status of the current user's profile for the specified chat room.

Link copied to clipboard
abstract fun getSmartContracts(liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<SmartContractDetails>>)

Retrieves a list of smart contracts with their details.

Link copied to clipboard
abstract fun getTokenGatedChatRoomAccessDetails(walletAddress: String, chatRoomId: String, liveLikeCallback: LiveLikeCallback<TokenGatingStatus>)

Checks if the wallet passes the required token gating criteria

Link copied to clipboard
abstract fun pinMessage(messageId: String, chatRoomId: String, chatMessagePayload: LiveLikeChatMessage, liveLikeCallback: LiveLikeCallback<PinMessageInfo>)

Pins a specific chat message within a chat room, making it a pinned message.

Link copied to clipboard
abstract fun sendChatRoomInviteToProfile(chatRoomId: String, profileId: String, liveLikeCallback: LiveLikeCallback<ChatRoomInvitation>)

Sends a chat room invitation to a specific user profile for the specified chat room.

Link copied to clipboard
abstract fun unPinMessage(pinMessageInfoId: String, liveLiveLikeCallback: LiveLikeCallback<LiveLikeEmptyResponse>)

Unpins a previously pinned chat message with the specified PinMessageInfo identifier.

Link copied to clipboard
abstract fun updateChatRoom(chatRoomId: String, title: String? = null, visibility: Visibility? = null, liveLikeCallback: LiveLikeCallback<ChatRoom>)

Updates an existing chat room with the specified parameters.

Link copied to clipboard
abstract fun updateChatRoomInviteStatus(chatRoomInvitation: ChatRoomInvitation, invitationStatus: ChatRoomInvitationStatus, liveLikeCallback: LiveLikeCallback<ChatRoomInvitation>)

Updates the status of a chat room invitation with the specified new status.