# \#js

**URL:** https://community.sendbird.com/tag/js/59.md

[Latest](https://community.sendbird.com/latest.md) · [Categories](https://community.sendbird.com/categories.md) · [Tags](https://community.sendbird.com/tags.md)

---

## [How to Send Auth User Bearer Token in Headers for Chatbot Function Call](https://community.sendbird.com/t/how-to-send-auth-user-bearer-token-in-headers-for-chatbot-function-call/10074)

<div class="topic-metadata">

**Author:** [@Narek\_Martirosyan](https://community.sendbird.com/u/Narek_Martirosyan)\
**Replies:** 1\
**Last updated:** [September 27, 2024, 6:31am UTC](https://community.sendbird.com/t/how-to-send-auth-user-bearer-token-in-headers-for-chatbot-function-call/10074 "2024-09-27T06:31:37Z")

</div>

Hello, community! I’ve integrated the SendBird AI Chatbot into my Laravel application (with a JS script). When users inquire about their orders (e.g., “Where is my order?”), I’ve set up a function that requests order de…

---

## [Possible to filter ChannelList query by multiple metadata\_keys?](https://community.sendbird.com/t/possible-to-filter-channellist-query-by-multiple-metadata-keys/173)

<div class="topic-metadata">

**Author:** [@pjack3191](https://community.sendbird.com/u/pjack3191)\
**Replies:** 12\
**Last updated:** [July 31, 2024, 3:45pm UTC](https://community.sendbird.com/t/possible-to-filter-channellist-query-by-multiple-metadata-keys/173 "2024-07-31T15:45:16Z")

</div>

Hi, I need to filter a channel list query by multiple metadata\_keys via query params – is this possible? Or is it only possible to use one metadata\_key per query? Thanks, Patrick

---

## [I want to send push notification for the call in web using firebase push notification system](https://community.sendbird.com/t/i-want-to-send-push-notification-for-the-call-in-web-using-firebase-push-notification-system/6849)

<div class="topic-metadata">

**Author:** [@Ashish\_Kumar\_Kumar](https://community.sendbird.com/u/Ashish_Kumar_Kumar)\
**Replies:** 1\
**Last updated:** [April 28, 2023, 6:07pm UTC](https://community.sendbird.com/t/i-want-to-send-push-notification-for-the-call-in-web-using-firebase-push-notification-system/6849 "2023-04-28T18:07:58Z")

</div>

i integrated the fcm messaging system in nextjs after that im accessing the current token and sending to the sendbird and also save the server in the sendbird dashboard. After doing all these im getting the notification …

---

## [onTypingStatusUpdated fires false events](https://community.sendbird.com/t/ontypingstatusupdated-fires-false-events/4314)

<div class="topic-metadata">

**Author:** [@Ronen\_Meiri](https://community.sendbird.com/u/Ronen_Meiri)\
**Replies:** 5\
**Last updated:** [December 26, 2022, 4:00am UTC](https://community.sendbird.com/t/ontypingstatusupdated-fires-false-events/4314 "2022-12-26T04:00:27Z")

</div>

Hey, I found something odd while testing one of our features in the chat (over GiftedChat ) . In our code we register on the channel to : channelHandler.onTypingStatusUpdated. our chat setup, is a group channel with a…

---

## [Is it possible on the first load of the page to minimize this sb\_widget like on the screenshot below?](https://community.sendbird.com/t/is-it-possible-on-the-first-load-of-the-page-to-minimize-this-sb-widget-like-on-the-screenshot-below/5612)

<div class="topic-metadata">

**Author:** [@Karl\_Angelo\_Tanjuan](https://community.sendbird.com/u/Karl_Angelo_Tanjuan)\
**Replies:** 0\
**Last updated:** [September 20, 2022, 8:36am UTC](https://community.sendbird.com/t/is-it-possible-on-the-first-load-of-the-page-to-minimize-this-sb-widget-like-on-the-screenshot-below/5612 "2022-09-20T08:36:11Z")

</div>

Sample code: sbWidget.startWithConnect(app\_id, user\_id, nickname, function() {}); Sendbird Javascript API, please help if it’s possible, thank you.

---

## [Web Widget Chat: How to add search functionality for Channels and Users?](https://community.sendbird.com/t/web-widget-chat-how-to-add-search-functionality-for-channels-and-users/1009)

<div class="topic-metadata">

**Author:** [@tahiralvi](https://community.sendbird.com/u/tahiralvi)\
**Replies:** 10\
**Last updated:** [September 17, 2022, 4:04am UTC](https://community.sendbird.com/t/web-widget-chat-how-to-add-search-functionality-for-channels-and-users/1009 "2022-09-17T04:04:01Z")

</div>

Hi, All (@Sravan\_S), History: I have added Web Widget Chat in my web application. Everything is working fine so far. Query: A New requirement is coming from the client to provide a search on Channels and Users in web…

---

## [Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'onUserLeft')](https://community.sendbird.com/t/uncaught-in-promise-typeerror-cannot-read-properties-of-undefined-reading-onuserleft/4860)

<div class="topic-metadata">

**Author:** [@jkepps](https://community.sendbird.com/u/jkepps)\
**Replies:** 13\
**Last updated:** [June 27, 2022, 5:29pm UTC](https://community.sendbird.com/t/uncaught-in-promise-typeerror-cannot-read-properties-of-undefined-reading-onuserleft/4860 "2022-06-27T17:29:55Z")

</div>

I implemented an onUserLeft function on the channel handler and immediately started getting the following error every time it is invoked. Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'on…

---

## [Looking for a Platform API Text Chat Example](https://community.sendbird.com/t/looking-for-a-platform-api-text-chat-example/4744)

<div class="topic-metadata">

**Author:** [@scottpatrickwright](https://community.sendbird.com/u/scottpatrickwright)\
**Replies:** 8\
**Last updated:** [May 26, 2022, 11:13pm UTC](https://community.sendbird.com/t/looking-for-a-platform-api-text-chat-example/4744 "2022-05-26T23:13:31Z")

</div>

Hi, I am working on an application where the chat is integrated with our server side code. I am having difficulty finding examples of code using the Platform API. I have seen the docs but I would like to see some example…

---

## [Uncaught SendBirdDeskError: SendBird SDK is missing](https://community.sendbird.com/t/uncaught-sendbirddeskerror-sendbird-sdk-is-missing/3612)

<div class="topic-metadata">

**Author:** [@Sandor\_Fulop](https://community.sendbird.com/u/Sandor_Fulop)\
**Replies:** 7\
**Last updated:** [January 19, 2022, 1:41pm UTC](https://community.sendbird.com/t/uncaught-sendbirddeskerror-sendbird-sdk-is-missing/3612 "2022-01-19T13:41:07Z")

</div>

If I try to use Sendbird Javascript SDK v3.1.1 or upper with Sendbird Desk Javascript SDK v1.0.19 I will get this error: Uncaught SendBirdDeskError: SendBird SDK is missing. If I change the Sendbird Javascript SDK to v3…

---

## [Join Public group channel](https://community.sendbird.com/t/join-public-group-channel/2027)

<div class="topic-metadata">

**Author:** [@11110](https://community.sendbird.com/u/11110)\
**Replies:** 8\
**Last updated:** [January 18, 2022, 1:41am UTC](https://community.sendbird.com/t/join-public-group-channel/2027 "2022-01-18T01:41:23Z")

</div>

if (groupChannel.isPublic) { groupChannel.join(function(response, error) { if (error) { // Handle error. } ... }); } 도큐먼트상에서는 이렇게 접속을 한다는데, 예시가 혹시 있을까요 …? 쿠키에 저장한 유저아이디와 채팅방 …

---

## [JS SyncManager... broken?](https://community.sendbird.com/t/js-syncmanager-broken/2904)

<div class="topic-metadata">

**Author:** [@Alex\_Choi](https://community.sendbird.com/u/Alex_Choi)\
**Replies:** 0\
**Last updated:** [August 17, 2021, 12:19am UTC](https://community.sendbird.com/t/js-syncmanager-broken/2904 "2021-08-17T00:19:44Z")

</div>

Sendbird in js. "sendbird": "^3.0.154", "sendbird-syncmanager": "^1.1.27", In a react-native app. Trying to get started with loading channels. Wasn’t able to create a new ChannelCollection. Then tried just logging as a…

---

## [Delete group channel, occur this issue](https://community.sendbird.com/t/delete-group-channel-occur-this-issue/2388)

<div class="topic-metadata">

**Author:** [@11110](https://community.sendbird.com/u/11110)\
**Replies:** 4\
**Last updated:** [June 3, 2021, 3:08am UTC](https://community.sendbird.com/t/delete-group-channel-occur-this-issue/2388 "2021-06-03T03:08:26Z")

</div>

after i make a group channel, i try to delete group channel. but i cannot delete this, and print error SendBirdException: Not authorized. “To delete the channel, the user should be an operator.”. at A.value (http://loc…

---

## [How enable the logLevel for Sendbird Widget Chat?](https://community.sendbird.com/t/how-enable-the-loglevel-for-sendbird-widget-chat/2271)

<div class="topic-metadata">

**Author:** [@tahiralvi](https://community.sendbird.com/u/tahiralvi)\
**Replies:** 2\
**Last updated:** [May 21, 2021, 8:51am UTC](https://community.sendbird.com/t/how-enable-the-loglevel-for-sendbird-widget-chat/2271 "2021-05-21T08:51:00Z")

</div>

Hi @Sravan\_S, @imju, @Jason, I used the sendbird chat widget (js version) in my application. Now I want to enable all types of logging (LogLevel) for sendbird chat. Along with that, I want to trace that log via console…

---

## [Sendbird createChannel 안에서 기능동작이 되지 않습니다](https://community.sendbird.com/t/sendbird-createchannel/2031)

<div class="topic-metadata">

**Author:** [@11110](https://community.sendbird.com/u/11110)\
**Replies:** 0\
**Last updated:** [April 8, 2021, 2:53am UTC](https://community.sendbird.com/t/sendbird-createchannel/2031 "2021-04-08T02:53:11Z")

</div>

sb.GroupChannel.createChannel(params, function (groupChannel, error) { //alert("@@@@@@loading creaqted"); alert("@detected2"); tempURL= groupChannel.channelUrl; document.getElementById('chatUrl').value = \`${groupChan…

---

## [그룹 채팅에서 권한 없이 클릭으로 들어올수 있는 기능 구현 질문드립니다](https://community.sendbird.com/t/topic/2021)

<div class="topic-metadata">

**Author:** [@11110](https://community.sendbird.com/u/11110)\
**Replies:** 10\
**Last updated:** [April 7, 2021, 8:47am UTC](https://community.sendbird.com/t/topic/2021 "2021-04-07T08:47:57Z")

</div>

지난번 친절한 답변 감사합니다 다름이아니라 이번에는 오픈채팅에 있는것들보다는 그룹채팅의 ui 와 기능이 맘에들어서, 그룹채팅으로 기능구현을 하고 있는대에 그 채팅방의 url 을 가져와서 다른사람이 입장하려고하니 권한 제한이 걸리는대 혹시 이 부분에 대해서는 해결책이 있을까요 …?

---

## [How to send a admin message in group channel using chat.js or via API](https://community.sendbird.com/t/how-to-send-a-admin-message-in-group-channel-using-chat-js-or-via-api/1343)

<div class="topic-metadata">

**Author:** [@Rajeev\_Bhaskaran](https://community.sendbird.com/u/Rajeev_Bhaskaran)\
**Replies:** 5\
**Last updated:** [December 11, 2020, 9:42pm UTC](https://community.sendbird.com/t/how-to-send-a-admin-message-in-group-channel-using-chat-js-or-via-api/1343 "2020-12-11T21:42:32Z")

</div>

where can i see the documentation to send admin message in group channel. How can i do it chat.js or via API call.?

---

## [Cannot get an error code when a banned user tries to join](https://community.sendbird.com/t/cannot-get-an-error-code-when-a-banned-user-tries-to-join/931)

<div class="topic-metadata">

**Author:** [@louie.oohii](https://community.sendbird.com/u/louie.oohii)\
**Replies:** 1\
**Last updated:** [September 10, 2020, 9:24pm UTC](https://community.sendbird.com/t/cannot-get-an-error-code-when-a-banned-user-tries-to-join/931 "2020-09-10T21:24:24Z")

</div>

I cannot get an error code when a banned user tries to join. I am using v3.0.131 now. It seems to occur since v3.0.127 update. ... // Trying to show an error message with a reason when a banned user joins …
