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 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.
1. Create a channel and select Broadcast in Channel Type. Refer to the Create Channel page for the instructions on how to create a channel.
2. Select the broadcast channel that you created and click Broadcast Message.
3. Chose the message type, and write your message.
5. Click Broadcast.
You can mention channel members in your broadcast messages by typing @ to activate mention suggestion and selecting their names in the suggestion list. Up to 30 channel members can be mentioned per message.
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.
The SDK supports the sending and receiving of 5 types of messages:
For more information on each of the message types, see Amity Message Types
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.
Admins can filter what messages are to be shown on the live message stream. Currently, the SDK supports two types of filters:
Filter by Flagged Show only messages that have been flagged by admin or users
Filter by Threaded Show only messages that are parent message
The mention 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:
Go to Channels Management and select a channel.
In the channel's page, the Mentioned users column will list the members mentioned by a specific user in a message.
Mentioning @all
members in the channel can be turned OFF:
Go to Settings > Feature Settings.
In Feature Settings page, uncheck Allow to mention everyone in channel under Events. You can check to turn ON @all
mention again.
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.
*Note: Message will still be marked as sent by user but with no text.
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
Mention
Description
Mentioned users format
@user
Mentions a specific channel member
userDisplayName(UserId)
@all
Mentions all channel members
All channel members
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