Chat / Flutter
Chat Flutter v3
Chat Flutter
Chat
Flutter
Version 3
Home
/
Chat
/
Flutter
/
Message

Overview

Sendbird Chat SDK for Flutter provides expansive messaging features to enhance users' chat experience. Basic and foundational messaging features such as sending, copying, updating, and deleting a message make up the essential chat experience. You can also load as well as receive messages through channel event handlers. Features related to marking messages as read, counting the number of unread messages, adding extra data to a message, and reporting a message are available to support a wide range of user 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 on 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 functionalities that our Chat SDK provides.

Sending a message

FunctionalityDescriptionOpen channelGroup channel

Send a message

Sends a text or file message to a channel.

Send an admin message

Sends a message from an admin to a channel on the Sendbird Dashboard or using the Chat Platform API.

Track file upload progress using a handler

Tracks the progress of a file upload.

Cancel an in-progress file upload

Cancels a file upload that hasn't been completed yet.

Share an encrypted file

Encrypts files and thumbnail images for secure access to users in a channel.

Spam flood protection

Customizes the number of messages a user can send to a channel per second.

Smart throttling

Customizes the number of messages displayed in a channel per second.

Receiving messages through event handler

FunctionalityDescriptionOpen channelGroup channel

Receive messages in a channel

Receives messages sent by other users in a channel through the channel event handler.

Using message threading

FunctionalityDescriptionOpen channelGroup channel

Create a message thread

Sends a reply to a specific message in a channel. This can create a message thread.

List replies in a message thread

Retrieves replies to a parent message.

Managing polls

FunctionalityDescriptionOpen channelGroup channel

Create a poll

Creates a poll with at least one poll option and sends as a user message.

Retrieve a poll

Retrieves a specific poll in a channel.

Update a poll

Updates a poll in a channel.

Delete a poll

Deletes a poll in a channel.

Close a poll

Closes a poll in a channel.

Add a poll option

Adds a voting option for a poll in a channel.

Retrieve a poll option

Retrieves a specific poll option in a channel.

Update a poll option

Updates a poll option in a channel.

Delete a poll option

Deletes a poll option in a channel.

Cast or cancel a vote

Adds or removes a vote from a poll option.

Retrieve a list of polls

Retrieves a list of polls in a channel.

Retrieve a list of voters

Retrieves a list of voters of a poll in a channel.

List changelogs of polls

List changelogs of polls by specifying a timestamp or a token.

Retrieving a message

FunctionalityDescriptionOpen channelGroup channel

Retrieve a message

Retrieves a specific message in a channel.

Retrieve the last message of a group channel

Retrieves the last message in a channel.

Managing a message

FunctionalityDescriptionOpen channelGroup channel

Copy a message

Copies a message in a channel and sends it to the same channel or another channel.

Update a message

Updates a text or file message in a channel. Users can only update their own messages. Operators can update any messages in the channel.

Delete a message

Deletes a text or file message in a channel. Users can only delete their own messages. Operators can delete any messages in the channel.

React to a message

Adds an emoji to a message.

Clear the chat history in a channel

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.

Send typing indicators to other users

Indicates to other users in the channel that a user is typing up a message to the channel.

Display Open Graph tags in a message

Displays a URL link preview when a message contains a web page URL.

Generate thumbnails of a file message

Creates a thunmbnail of an image file.

Loading messages

FunctionalityDescriptionOpen channelGroup channel

Load previous messages

Retrieves a set number of previous messages in a channel.

Load messages by timestamp or message ID

Retrieves a set number of messages sent to the channel before or after a specified timestamp or message ID.

Listing changelogs

FunctionalityDescriptionOpen channelGroup channel

List changelogs of messages

Retrieves message changelogs by timestamp or token.

Marking messages as read

FunctionalityDescriptionOpen channelGroup channel

Mark messages as read

Marks messages in a channel as read when a user enters the channel or brings the opened channel view to the foreground.

Marking messages as delivered

FunctionalityDescriptionOpen channelGroup channel

Mark messages as delivered

Marks messages as delivered when a user who is online receives messages from the Sendbird server.

Mentioning other users in a message

FunctionalityDescriptionOpen channelGroup channel

Mention other users in a message

Includes other users in the channel in a message.

Retrieving unread count

FunctionalityDescriptionOpen channelGroup channel

Retrieve number of unread messages in a channel

Retrieves the number of messages in a channel a user hasn't read.

Retrieve number of unread messages in all channels

Retrieves the number of messages a user hasn't read in all channels they are in.

Retrieve number of channels with unread messages

Retrieves the number of channels where a user hasn't read one or more messages.

Retrieve number of members who haven’t received a message

Retrieves the number of users in a channel who have yet to receive a specific message.

Retrieve number of members who haven’t read a message

Retrieves the number of users in a channel who haven't read a specific message.

Categorizing messages

FunctionalityDescriptionOpen channelGroup channel

Categorize messages by custom type

Specifies a custom message type to search or filter messages by.

Adding extra data to a message

FunctionalityDescriptionOpen channelGroup channel

Add extra data to a message

Adds one or more key-value items to a message to add extra information.

Translating messages

FunctionalityDescriptionOpen channelGroup channel

Auto-translate messages

Translates messages into specified languages and sends to channel.

Translate messages on-demand

Translates messages according to user needs.

Translation engine

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.