📄️ create_conversation_link
This function is to generate url which points to new conversation screen or directly to conversation screen
📄️ create_new_conversation
This function is to create new empty conversation programmatically and get new conversation id
📄️ get_private_conversation_id
This function is to get existing or create new private conversation with user
📄️ get_unique_conversation_id
This function is to create get existing unique conversation based on set of user ids and unique key.
📄️ get_user_messages_url
This function is to generate url which points to user personal inbox with specific conversation opened
📄️ new_message
This function is to send new replies in existing conversations or create new conversations programmatically
📄️ add_participant_to_thread
Adding user to existing conversation
📄️ remove_participant_from_thread
Remove user from existing conversation
📄️ send_realtime_event
Sends custom realtime event directly to user browser using WebSocket servers
📄️ archive_thread
This function is equivalent of deleting the conversation by user. Its only hides the conversation from the conversations list, but it not actually deleted from database and can be restored later
📄️ get_conversation_layout
Outputs single conversation layout, for embedding somewhere for custom purposes
📄️ get_conversations_layout
This function allows to display an interactive conversations list anywhere at your website
📄️ get_recipients_ids
Retrieves all user ids which are participating in conversation
📄️ is_user_participant
Checking if user is participant of conversation with given ID