
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
mui-react-chat
Advanced tools
npm install sportstalk-react-chat --save
yarn add sportstalk-react-chat
This library version using the Sportstalk Chat SDK v3.17
import React from 'react'
import { SportstalkChat, MessageItemActions } from 'sportstalk-react-chat'
export function Example() {
renderCustomActions = props =>
<MessageItemActions {...props} onDeleteMessage={...} />
return (
<SportstalkChat
appId={[YOUR_APP_ID]}
apiToken={[YOUR_API_TOKEN]}
renderActions={renderCustomActions}
/>
)
}
Name | Type | Required | Description |
---|---|---|---|
appId | string | Yes | Sportstalk app ID |
apiToken | string | Yes | Sportstalk app token |
ref | ReactRef | No | Access to Sportstalk Client SDK ( see here) |
onSend | function | No | Callback function when user send message |
renderLoading | function | No | Custom loading view compontnt when initializing app |
renderAvatar | function | No | Custom message avatar |
renderMessage | function | No | Custom text message |
renderAdvertisement | function | No | Custom component for Advertisement messages |
renderInputToolbar | function | No | Custom input bar |
renderActions | function | No | Custom action on the right of the messages |
Common message interface
interface IMessage {
id: string;
text: string;
direction: Message.MessageDirection;
createdAt?: string;
updatedAt?: string;
author?: TypedMessageAuthor;
replyTo?: Partial<IMessage>;
type?: Message.MessageType;
reactions: TypedMessageReaction[];
reports: TypedMessageReport[];
customPayload?: any;
}
User interface
interface User {
userid: string;
handle?: string;
handlelowercase?: string;
displayname?: string;
pictureurl?: string;
profileurl?: string;
banned?: boolean;
shadowbanned?: boolean;
role?: UserRole;
customtags?: string[];
shadowbanexpires?: string | null | undefined;
}
FAQs
## 1. Installation
The npm package mui-react-chat receives a total of 0 weekly downloads. As such, mui-react-chat popularity was classified as not popular.
We found that mui-react-chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.