Skip to main content

Broadcast Messages

The Broadcast Messages component renders a list of broadcast messages.
Broadcast Messages allows a specific user to send messages and announcements to a larger group of users at once.

Usage

 import React from 'react';
import {SCContextProvider} from '@selfcommunity/react-core';
import {BroadcastMessages} from '@selfcommunity/react-ui';

function App() {
const conf = {
portal: '<community-path>',
session: {
type: 'OAuth',
token: '<community-token>',
refreshToken: '<community-refresh-token>',
refreshTokenEndpoint: '<community-refresh-endpoint>',
},
};
return (
<SCContextProvider conf={conf}><BroadcastMessages /></SCContextProvider>
);
}