# File message does not appear on channel after sent

**URL:** <https://community.sendbird.com/t/file-message-does-not-appear-on-channel-after-sent/5125>\
**Category:** JavaScript\
**Tags:** file-message\
**Created:** [July 21, 2022, 4:29pm UTC](https://community.sendbird.com/t/file-message-does-not-appear-on-channel-after-sent/5125 "2022-07-21T16:29:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eueddem\_Kim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/eueddem_kim/32/2007_2.png) [@Eueddem\_Kim](https://community.sendbird.com/u/Eueddem_Kim)\
**Post date:** [July 21, 2022, 4:29pm UTC](https://community.sendbird.com/t/file-message-does-not-appear-on-channel-after-sent/5125/1 "2022-07-21T16:29:34Z")

</div>

Hello,

I’m using @sendbird/chat 4.0.4 on react-native 0.63.4 based app.

On the latest project, I need to implement file upload on chat, so I added this logic:

```auto
  const messageAttachmentParams: FileMessageCreateParams[] = messageAttachments.map(
    attachment => {
      const { uri, name, size, type } = attachment;
      const param: FileMessageCreateParams = {
        pushNotificationDeliveryOption: PushNotificationDeliveryOption.DEFAULT,
        file: {
          name,
          uri,
          type,
        },
        fileName: name,
        mimeType: type as string,
        fileSize: size as number,
        thumbnailSizes: [{ maxWidth: 200, maxHeight: 200 }],
      };

      return param;
    },
  );

  channel
    .sendFileMessages(messageAttachmentParams)
    .onPending((message: SendableMessage) => {
      console.log("onPending", message);
    })
    .onSucceeded((message: SendableMessage) => {
      console.log("onSucceed", message);
    })
    .onFailed((error: Error) => {
      console.log("onFailed", error);
    });

```

After that, `onSucceeded` was called as expected, and a receiver could see the file message sent, but nothing appeared on sender screen. (the message was displayed after reloading chat data)  
Do I need to do anything else after sending file messages?

And one more, how can I get file transmission progress? I remember that v3 has `fileProgressHandlerCallback`, but I couldn’t find anything on v4. it looks `onPending` does not return actual progress.

---

<div class="post-metadata">

**Author:** ![Eueddem\_Kim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/eueddem_kim/32/2007_2.png) [@Eueddem\_Kim](https://community.sendbird.com/u/Eueddem_Kim)\
**Post date:** [July 21, 2022, 8:58pm UTC](https://community.sendbird.com/t/file-message-does-not-appear-on-channel-after-sent/5125/2 "2022-07-21T20:58:06Z")

</div>

Oh, NVM. I found why - my app’s issue.
