Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • R reveSaaSDocumentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ifta
  • reveSaaSDocumentation
  • Wiki
  • Opening Chat

Opening Chat · Changes

Page history
Create Opening Chat authored Oct 28, 2019 by Ifta Noor Mahmood's avatar Ifta Noor Mahmood
Hide whitespace changes
Inline Side-by-side
Showing with 45 additions and 0 deletions
+45 -0
  • Opening-Chat.md Opening-Chat.md +45 -0
  • No files found.
Opening-Chat.md 0 → 100644
View page @ 758c81c8
For starting a chat you can just open the Reve SaaS Dashboard and from chat page, you can create and start chat or from contact page you can start a single chat.
But if you want to start chat directly to a subscriber or group from your app, you need to use the following apis.
**1. Opening a single chat :**
This will directly launch the chat window with the user. You do not need to create chat with single user if not created before. With the first message send, the chat will be created autometically.
`ReveSaaS.openSingleChat(activity, numberToChatWithCountryCode);`
*Example*
` ReveSaaS.openSingleChat(MainActivity.this, "+8801844097722");`
**2. Creating a single chat :**
This will allow to choose a user and start chat with him.
`ReveSaaS.createSingleChat(activity);`
*Example*
` ReveSaaS.createSingleChat(MainActivity.this);`
**3. Opening a group chat :**
This will allow to choose multiple user and start group chat with them.
`ReveSaaS.createGroupChat(activity);`
*Example*
` ReveSaaS.createGroupChat(MainActivity.this);`
**4. Opening a group chat :**
This will allow to launch e pre-created group chat directly. But for that you need to provide the groupId.
`ReveSaaS.openGroupChat(activity,groupId);`
*Example*
` ReveSaaS.createGroupChat(MainActivity.this,"22014");`
Clone repository
  • Configure SaaS module
  • Firebase Messaging Service (Push Messaging)
  • Get chat backup restore to work
  • Get maps service to work
  • Opening Chat
  • Opening the SaaS dashboard
  • Prepare your project
  • Starting a Call
  • Starting the SaaS service
  • Home