Qiscus Chat SDK for Javascript
- Add functionality to not set
sender
property when requesting file list with methodgetFileList
For example:
getFileList({ roomIds: [123], sender: null })
Will call ajax with payload:
{ roomIds: [123] }
While if you omit sender
parameter, it will default to the previous behaviors which is using currently
authenticated user id as sender
getFileList({ roomIds: [123] })
will call ajax with payload:
{ roomIds: [123], sender: 'guest-101' }
if currently authenticated user id are guest-101