Learn how to manage dialogs and messages.
Chat is one of the core features of QuickBlox. Here, you will learn how to create and manage dialogs and messages via the Dashboard. You will also learn how to set up automatic push notifications for offline users.
Visit Key Concepts page to learn the most important QuickBlox concepts.
To view a list of dialogs, follow the steps below:
To create a dialog, follow the steps below:
Let’s see what capabilities an account owner has with regard to the dialog type.
Capabilities | Private | Group | Public |
---|---|---|---|
Create dialog | ✗ | ✓ | ✓ |
To update a dialog, follow the steps below:
Let’s see what capabilities an account owner has with regard to the dialog type.
Capabilities | Private | Group | Public |
---|---|---|---|
Update a dialog name | ✗ | ✓ | ✓ |
Update a photo | ✗ | ✓ | ✓ |
Add occupants | ✗ | ✓ | ✗ |
Remove yourself | ✗ | ✓ | ✗ |
Remove occupants | ✗ | ✓ | ✗ |
Update custom parameters | ✗ | ✗ | ✗ |
If an account owner removes a dialog occupant, the occupant ID is removed from the occupants IDs list of this dialog. As a result, the dialog is removed from the user’s list of dialogs. However, the dialog remains in the history of other users who are still present in the occupants IDs list.
To delete a dialog, follow the steps below:
Let’s see what capabilities an account owner has with regard to the dialog type.
Capabilities | Private | Group | Public |
---|---|---|---|
Delete dialog for all users | ✓ | ✓ | ✓ |
To view messages history, follow the steps below:
To delete a message, follow the steps below:
Send notifications about new messages to the user when their app is not running by using offline messaging functionality. This functionality allows to customize automatic push notifications displayed on a user’s device when they are offline. In other words, if your opponent is offline when you are writing a message, they automatically receive a push notification.
Make sure to subscribe your users to pushes using SDKs. Review Push Notifications section for more details.
Only FCM data messages can be sent from the Android app. QuickBlox doesn’t support FCM notification messages.
To process FCM data messages in your app when the app is in the background, you need to handle them. If not handled, they will not pop on the screen even if the app has received such push notifications. See FCM documentation to learn more about data messages.
Enable offline messaging from the Dashboard as follows:
You can configure an offline messaging template from the Dashboard as follows:
Available for Growth/HIPAA Cloud/Enterprise plan
You can set the custom template in the Offline messaging text section using the following template variables:
Currently, push notifications are supported in a mobile environment only.
You can ban a user account so the user can no longer connect to the chat. See the ban user page to learn how to ban a user.
Learn how to manage dialogs and messages.
Chat is one of the core features of QuickBlox. Here, you will learn how to create and manage dialogs and messages via the Dashboard. You will also learn how to set up automatic push notifications for offline users.
Visit Key Concepts page to learn the most important QuickBlox concepts.
To view a list of dialogs, follow the steps below:
To create a dialog, follow the steps below:
Let’s see what capabilities an account owner has with regard to the dialog type.
Capabilities | Private | Group | Public |
---|---|---|---|
Create dialog | ✗ | ✓ | ✓ |
To update a dialog, follow the steps below:
Let’s see what capabilities an account owner has with regard to the dialog type.
Capabilities | Private | Group | Public |
---|---|---|---|
Update a dialog name | ✗ | ✓ | ✓ |
Update a photo | ✗ | ✓ | ✓ |
Add occupants | ✗ | ✓ | ✗ |
Remove yourself | ✗ | ✓ | ✗ |
Remove occupants | ✗ | ✓ | ✗ |
Update custom parameters | ✗ | ✗ | ✗ |
If an account owner removes a dialog occupant, the occupant ID is removed from the occupants IDs list of this dialog. As a result, the dialog is removed from the user’s list of dialogs. However, the dialog remains in the history of other users who are still present in the occupants IDs list.
To delete a dialog, follow the steps below:
Let’s see what capabilities an account owner has with regard to the dialog type.
Capabilities | Private | Group | Public |
---|---|---|---|
Delete dialog for all users | ✓ | ✓ | ✓ |
To view messages history, follow the steps below:
To delete a message, follow the steps below:
Send notifications about new messages to the user when their app is not running by using offline messaging functionality. This functionality allows to customize automatic push notifications displayed on a user’s device when they are offline. In other words, if your opponent is offline when you are writing a message, they automatically receive a push notification.
Make sure to subscribe your users to pushes using SDKs. Review Push Notifications section for more details.
Only FCM data messages can be sent from the Android app. QuickBlox doesn’t support FCM notification messages.
To process FCM data messages in your app when the app is in the background, you need to handle them. If not handled, they will not pop on the screen even if the app has received such push notifications. See FCM documentation to learn more about data messages.
Enable offline messaging from the Dashboard as follows:
You can configure an offline messaging template from the Dashboard as follows:
Available for Growth/HIPAA Cloud/Enterprise plan
You can set the custom template in the Offline messaging text section using the following template variables:
Currently, push notifications are supported in a mobile environment only.
You can ban a user account so the user can no longer connect to the chat. See the ban user page to learn how to ban a user.