[Problem/Question]
When the function is called, it throws an error “Connection is required, please reconnect”.
But the connection is open and sendUserMessage function works well.
Hi Sendbird Team, What is the issue?
I have been developing some apps using Sendbird Chat & Desk & Call.
Please take a look at the issue.
[SDK Version]
@sendbird/chat 4.1.5
// Here is my code
const params = {
** file: file, // Or .fileUrl = FILE_URL (You can also send a file message with a file URL.)**
** thumbnailSizes: [{maxWidth: 200, maxHeight: 200}],**
** };**
** channel.sendFileMessage(params)**
** .onSucceeded((message) => {**
** console.log(message);**
** })**
** .onFailed(error => {**
** console.log(error);**
** });**