# Is there way to hide MediaResourceType.document in actionSheet of messageInputView?

**URL:** <https://community.sendbird.com/t/is-there-way-to-hide-mediaresourcetype-document-in-actionsheet-of-messageinputview/1908>\
**Category:** iOS\
**Created:** [March 18, 2021, 5:49am UTC](https://community.sendbird.com/t/is-there-way-to-hide-mediaresourcetype-document-in-actionsheet-of-messageinputview/1908 "2021-03-18T05:49:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JinyoungKim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/jinyoungkim/32/1093_2.png) [@JinyoungKim](https://community.sendbird.com/u/JinyoungKim)\
**Post date:** [March 18, 2021, 5:49am UTC](https://community.sendbird.com/t/is-there-way-to-hide-mediaresourcetype-document-in-actionsheet-of-messageinputview/1908/1 "2021-03-18T05:49:42Z")

</div>

Is there way to hide MediaResourceType.file in actionSheet of messageInputView?

---

<div class="post-metadata">

**Author:** ![hoons](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/hoons/32/77_2.png) [@hoons](https://community.sendbird.com/u/hoons)\
**Post date:** [March 23, 2021, 11:52pm UTC](https://community.sendbird.com/t/is-there-way-to-hide-mediaresourcetype-document-in-actionsheet-of-messageinputview/1908/2 "2021-03-23T23:52:30Z")

</div>

Hi @JinyoungKim,

There’s no way to customize the menu to hide the `MediaResourceType.file ` item at the moment.

---

<div class="post-metadata">

**Author:** ![hoons](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/hoons/32/77_2.png) [@hoons](https://community.sendbird.com/u/hoons)\
**Post date:** [March 29, 2021, 12:08am UTC](https://community.sendbird.com/t/is-there-way-to-hide-mediaresourcetype-document-in-actionsheet-of-messageinputview/1908/3 "2021-03-29T00:08:37Z")

</div>

Hi @JinyoungKim, I’ve checked it again and there is a way to have your own customized menu.

There is `SBUMessageInputView.onClickAddButton(_ sender:)` method which is called when you click on the `+` button from the message input view.  
You can override the `SBUMessageInputView` class and implement this method to open your custom menu.
