Skip to content

Qiscus Chat SDK for Javascript

Compare
Choose a tag to compare
@apiep apiep released this 09 Mar 07:05
· 149 commits to master since this release
  • Add functionality to not set sender property when requesting file list with method getFileList

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