Function useChatMessageActions

  • Parameters

    • __namedParameters: {
          roomId: any;
      }
      • roomId: any

    Returns {
        deleteChatMessage: ((__namedParameters) => void);
        sendChatMessage: ((messageArgs) => Promise<any>);
    }

    • deleteChatMessage: ((__namedParameters) => void)
        • (__namedParameters): void
        • Parameters

          • __namedParameters: {
                chatMessage: any;
                roomId: any;
            }
            • chatMessage: any
            • roomId: any

          Returns void

    • sendChatMessage: ((messageArgs) => Promise<any>)
        • (messageArgs): Promise<any>
        • Parameters

          Returns Promise<any>

Generated using TypeDoc