ChatHandlers type
Objeto que contém todos os processadores necessários para componentes de chat.
Os componentes relacionados com o chat deste pacote são capazes de escolher processadores relevantes deste objeto. Veja <xref:useHandlers> e utilizePropsFor.
type ChatHandlers = {
onDeleteMessage: (messageId: string) => Promise<void>
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>
onMessageSeen: (chatMessageId: string) => Promise<void>
onRemoveParticipant: (userId: string) => Promise<void>
onSendMessage: (
content: string,
options?: SendMessageOptions
) => Promise<void>
onTyping: () => Promise<void>
onUpdateMessage: (messageId: string, content: string) => Promise<void>
updateThreadTopicName: (topicName: string) => Promise<void>
}