This is the new Docs for Chat SDK v4 for JavaScript. To see the previous Docs, click here.
Overview
Chat SDK for Javascript provides expansive messaging features to enhance users' chatting experience. The basic and foundational messaging features such as sending, copying, updating, and deleting a message offer essential chat experience. Also, it allows you to load messages as well as receive messages through channel event handlers. Features related to marking messages as read, getting statistics on unread messages, adding extra data to a message, reporting a message, and local caching are available to meet users' customized needs.
Message types
There are three types of messages in Sendbird Chat.
Text message: A text message sent by a user in a channel.
File message: A file message sent by a user in a channel.
Admin message: A message sent only by an admin through the Chat API or the Sendbird Dashboard.
Functionalities by topic
Users can interact with other users in a channel by sending, receiving, replying to messages, and more. The following is a list of features that our Chat SDK provides. All the functionalities are supported in both open channels and group channels, unless noted otherwise.
Clears the chat history from the channel view of the current user. Messages aren't deleted from the Sendbird system's database and other users in the channel can still view all the messages in their own channel view.
Sendbird’s message auto-translation and on-demand features are powered by Google Cloud Translation API's recognition engine. The recognition engine supports a wide variety of languages for the Neural Machine Translation (NMT) model.