How can I create a 2 way chat in bubble

How can I create a 2 way chat in bubble

I am in the process to create a new app but, But I need to create a 2 way chat to keep in touch with other user.

Hit the search for ‘Chat’, this has already been discussed in the forums, there are also some showcase and templates available if I remember.

1 Like

I already did some research in the forum but the answers did not help me

Well you are better to ask specific questions to ask then, not a generic open question.

Anyway, here is a basic example, you will need to define a DataType to hold the messages. It may have fields such as;
ChatRoom (Text)
User (User)
Message (Text)

Then you could have a repeating group that simply does a search for messages in the relevant chatroom. As each user sends a message with the relevant room value set, the messages will appear automatically to other users in the room.

You can easily then build on this other functionality. Or extend it to private chat between two users in the room etc.

Hey Julio,

Addition with what @DaveA said please look at this https://widgets.airdev.co/widget/1496772972510x651241166982799700
It shows how to do 1-to-1 chat and the link below show how to do a group messenger https://widgets.airdev.co/widget/1472621296515x565472280839458100

Thank you William1

Ok, in the app i’m building the user has the ability to login, my question is: how can I make this chat private among all the different users?
because right now if I sign up, I should not have the previews chat, the chat should be empty and right now is not I always have the same chat for all the user. How can I fix it?

You should read the documentation of Not Real Twitter.

1 Like

This is where the permissions and roles come in.

You should read up on that aspect of Bubble.

Can anyone help me, I already created the chat for my app I’ve been reading all over the forum I’ve tried a lot of things, but I just don’t get to fix the an issue with my app

the problem is that in the same app I have 2 chats one is for the normal user and the other one is for the admin, what I need is the the user’s chat get connected with the admin chat, but I have tried a lot of things to make it work and is not working

I have a dashboard for users in which they have the user’s chat and and a inbox page for the admin, anyone has suggestion for me on how to link this 2 chats

This topic was automatically closed after 70 days. New replies are no longer allowed.