import { ChatSendMessageCommandArguments, SendChatMessageArguments, CreatePrivateChatCommandArguments } from './types'; export declare const chat: (pluginName: string) => { /** * Sends chat message to specific chat. * * @param SendChatMessageArguments the text, custom metadata(optional), optional flag * to tell whether or not the message will be custom, and the chatId; * Refer to {@link SendChatMessageArguments} to understand the argument * structure. */ sendChatMessage: (chatMessageArguments: SendChatMessageArguments) => void; /** * Sends chat message to the public chat. * * @param chatSendMessageCommandArguments the text and custom metadata(optional) * to be sent in the public chat message. * Refer to {@link ChatSendMessageCommandArguments} to understand the argument * structure. */ sendPublicChatMessage: (chatSendPublicChatMessageCommandArguments: ChatSendMessageCommandArguments) => void; /** * Sends custom chat message to the public chat. Custom messages are not rendered by * the BBB client and are meant to be rendered in a custom manner by the plugin. * * @param chatSendMessageCommandArguments the text and custom metadata(optional) * to be sent in the public chat message. * Refer to {@link ChatSendMessageCommandArguments} to understand the argument * structure. */ sendCustomPublicChatMessage: (chatSendCustomPublicChatMessageCommandArguments: ChatSendMessageCommandArguments) => void; /** * Creates a private chat with a specific user. * * @param createPrivateChatCommandArguments the userId of the user to create a private chat with. * Refer to {@link CreatePrivateChatCommandArguments} to understand the argument * structure. */ createPrivateChat: (createPrivateChatCommandArguments: CreatePrivateChatCommandArguments) => void; };