Function addMessageListener

  • Adds a listener to a chatroom that calls passed callback function when event fires.

    Parameters

    Returns Promise<void>

    Since

    0.1.0

    Example

    addMessageListener({roomId: string}, function(e){console.log(e)})
    

Generated using TypeDoc