# Message Management

## Broadcast Messages

The Broadcast channel is heavily adopted by corporate users who constantly promote or advertise their products, or make the announcement to drive awareness. Unlink other channel types, broadcast channels only allow admin users to send messages from the Console, and everyone else in the channel will be under read-only mode. Here are the steps to follow to send a broadcast message on Console.

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2F7qqQNvJlrUqxGblmj7TG%2FScreenshot%202567-11-12%20at%204.49.11%20PM.jpg?alt=media&#x26;token=92892a4c-0de5-48e4-a2d5-f4f00bd96756" alt=""><figcaption></figcaption></figure>

1\. Create a channel and select **Broadcast** in **Channel Type**. Refer to the[ Create Channel](../channel-management#create-channel) page for instructions on how to create a channel.

2\. Select the broadcast channel that you created and click **Broadcast Message**.

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2FXMHStnfdeqZ9e4SQgqYk%2FScreenshot%202567-11-12%20at%204.54.11%20PM.png?alt=media&#x26;token=aa037e0f-1ac7-4e87-8e2b-831c7447a69b" alt=""><figcaption></figcaption></figure>

3\. Choose the message type, and write your message.

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2Fb5O5iamiu2HnZJbSDBUS%2FScreenshot%202567-11-12%20at%204.55.09%20PM.png?alt=media&#x26;token=8b7dbd77-5a81-4915-b11d-c3790a018c4c" alt=""><figcaption></figcaption></figure>

5\. Click **Broadcast**.

{% hint style="info" %}
You can mention channel members in your broadcast messages by typing **@** to activate the mention suggestion and selecting their names in the suggestion list. Up to **30** channel members can be mentioned per message.
{% endhint %}

## Translate Messages

{% hint style="info" %}
Message translation in Console is currently available. To enable this feature in your application, please submit your request to the [**social.plus Help Center**](https://socialplus.atlassian.net/servicedesk/customer/portals).
{% endhint %}

Message translation feature allows admins, moderators to automatically translate messages into English in channel. This feature is designed to help admins, moderators understand content written in other languages by providing near real-time translation capabilities.

### How it works?

Message Translation automatically detects the language and translates it to English. Admins have the option to show or hide translated messages by clicking the toggle located in the top-right section of the messages interface.

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2FUTs1vBAIzflTFP8PsV0I%2FScreenshot%202568-07-04%20at%2017.30.52.png?alt=media&#x26;token=a657d041-33ca-4b6b-ae52-e4806aa20b07" alt=""><figcaption><p>Messages in original language</p></figcaption></figure>

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2Fc2BJrZQYIeCr65wYkE3f%2FScreenshot%202568-07-04%20at%2017.31.02.png?alt=media&#x26;token=6163c3a6-d1ba-43da-9ac8-164cd6e745ca" alt=""><figcaption><p>Messages in English (Translated)</p></figcaption></figure>

## Live Messages

Admins can join a channel and view messages being sent in real-time. They also will be able to filter messages by certain parameters, check current members in the channel and modify channel details such as tags and metadata.

Admins will also be able to broadcast messages directly in the channel.

### List of Message Types

The SDK supports the sending and receiving of 5 types of messages:

| Type   | Description                                              |
| ------ | -------------------------------------------------------- |
| Text   | A message that contains only text                        |
| Image  | A message that contains an image                         |
| File   | A message that contains a file                           |
| Audio  | A message that contains an audio                         |
| Custom | A message that contains any data the user wants to store |

For more information on each of the message types, see [social.plus Message Types](https://docs.amity.co/amity-chat/core-concepts/messaging#message-types)

### Pausing Data Stream

Because the messages are being sent in real-time, sometimes an Admin will have difficulty moderating when the messages are appearing quickly. In this scenario, Admins can pause the incoming data stream so that they can take action on a message. **This pause does not prevent users from sending messages in a channel** but simply stops the Admin Panel from receiving new messages. Once the live message has been unpaused, Admin will see all the messages again.

### Message Filters

Admins can filter what messages are to be shown on the live message stream. Currently, the SDK supports two types of filters:

1. Filter by Flagged\
   Show only messages that have been flagged by the admin or users.\\
2. Filter by Threaded\
   Show only messages that are parent messages.

### View Mentioned Users

The mentioned feature in chat can be used to call attention to all or specific members in a channel. To view the members being mentioned in a message:

1. Go to **Channels Management** and select a channel.
2. In the channel's page, the **Mentioned Users** column will list the members mentioned by a specific user in a message.

<table data-header-hidden><thead><tr><th width="210">Mention</th><th width="232.33333333333331">Description</th><th>Mentioned users format</th></tr></thead><tbody><tr><td>Mention</td><td>Description</td><td>Mentioned users format</td></tr><tr><td><code>@user</code></td><td>Mentions a specific channel member</td><td><code>userDisplayName(UserId)</code></td></tr><tr><td><code>@all</code></td><td>Mentions all channel members</td><td><code>All channel members</code></td></tr></tbody></table>

Mentioning `@all` members in the channel can be turned OFF:

1. Go to **Settings** > **Feature Settings**.
2. In **Feature Settings** page, uncheck **Allow to mention everyone in the channel** under Events. You can turn ON `@all` mention again.

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2FNK04AW7RpmTG3FBfbrAD%2FScreenshot%202567-11-12%20at%204.57.38%20PM.png?alt=media&#x26;token=c465e058-785d-4f16-a81f-91755fc0bda2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Turning OFF`@all` mentioning will only disable mentioning all members in the channel. However, you can still mention individual members because mentioning`@user` cannot be turned OFF.
{% endhint %}

### List of Message Actions

| Action           | Description                                                                             |
| ---------------- | --------------------------------------------------------------------------------------- |
| Clear flagged    | Clears all flags on a message                                                           |
| Delete message   | Deletes the message\*                                                                   |
| Add to blocklist | Admin can select from the message any word or letter they wish to add to the blocklist  |
| Mute user        | User will be unable to send messages in channel                                         |
| Ban user         | User will be immediately kicked from channel and have all messages deleted from channel |

**\*Note:** The message will still be marked as sent by the user but with no text.
