<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Get Started with mesibo on mesibo documentation</title><link>https://docs.mesibo.com/tutorials/get-started/</link><description>Recent content in Get Started with mesibo on mesibo documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.mesibo.com/tutorials/get-started/index.xml" rel="self" type="application/rss+xml"/><item><title>Creating User Access Tokens</title><link>https://docs.mesibo.com/tutorials/get-started/create-users/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/create-users/</guid><description>&lt;p&gt;Now that you have created an Application and obtained the &lt;code&gt;App Token&lt;/code&gt;, the next step is to create user access tokens. A user access token is required by every user to authenticate with mesibo and use its real-time APIs — messaging, calls, conferencing, and more. Your client applications (Android, iOS, Flutter, Web, etc.) use these tokens to connect to mesibo on behalf of your users.&lt;/p&gt;
&lt;p&gt;User access tokens are generated by your backend server using the mesibo Backend API. Each token is bound to three things: the &lt;strong&gt;App Token&lt;/strong&gt; that identifies your Application, the &lt;strong&gt;Address&lt;/strong&gt; that identifies the user, and the &lt;strong&gt;App ID&lt;/strong&gt; that identifies where the token is permitted to be used.&lt;/p&gt;</description></item><item><title>Configure Tokens and Run Sample App</title><link>https://docs.mesibo.com/tutorials/get-started/configure-and-run/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/configure-and-run/</guid><description>&lt;p&gt;We are now ready to configure the app with user access tokens and run it. We&amp;rsquo;ll first briefly understand the initialization code, then run the app, all in just 4 steps:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Before proceeding further:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download the source code of the app in this tutorial from the mesibo &lt;a href="https://github.com/mesibo/samples"&gt;GitHub repositories&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Open it in your IDE (Android Studio, Xcode etc). Follow along as you go through this tutorial.&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;h2 id="step-1-set-up-mesibo-listeners"&gt;Step 1: Set Up mesibo Listeners&lt;a class="td-heading-self-link" href="#step-1-set-up-mesibo-listeners" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;mesibo is a real-time, asynchronous platform. Messages, calls, and status updates can arrive at any moment — your app does not poll or check for them. Instead, you register &lt;strong&gt;listeners&lt;/strong&gt; that mesibo calls instantly the moment an event occurs.&lt;/p&gt;</description></item><item><title>Users and Groups</title><link>https://docs.mesibo.com/tutorials/get-started/users-and-groups/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/users-and-groups/</guid><description>&lt;p&gt;Before driving into messaging, calls, and other aspects, let&amp;rsquo;s first understand the concept of end-points or destinations.&lt;/p&gt;
&lt;p&gt;For instance, when you send an SMS, the destination is a phone number. When sending an email, the destination is an email address. Similarly, in mesibo, the address (previously used for creating tokens) serves as the destination for one-to-one messages or calls. As mentioned earlier, the address could be any string, as defined by your application. In your application, a user is identified by their address.&lt;/p&gt;</description></item><item><title>Sending and Receiving Messages</title><link>https://docs.mesibo.com/tutorials/get-started/sending-and-receiving-messages/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/sending-and-receiving-messages/</guid><description>&lt;p&gt;In this section, we will describe how to send and receive messages.&lt;/p&gt;
&lt;p&gt;mesibo allows you to send and receive various types of real-time messages - plain text, rich message with media such as image, audio, video, doc, etc, URL preview, location, binary data, etc.&lt;/p&gt;
&lt;p&gt;A message has various properties, for example, id, status, expiry, etc. Refer to the &lt;a href="https://docs.mesibo.com/api/messaging"&gt;messaging api documentation&lt;/a&gt; for more details.&lt;/p&gt;
&lt;h2 id="sending-messages"&gt;Sending Messages&lt;a class="td-heading-self-link" href="#sending-messages" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;To send messages, you only need to create a &lt;code&gt;MesiboMessage&lt;/code&gt; object using the destination profile, which could be user profile or a group profile.&lt;/p&gt;</description></item><item><title>Reading Messages &amp; Call History from Database</title><link>https://docs.mesibo.com/tutorials/get-started/reading-messages-from-database/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/reading-messages-from-database/</guid><description>&lt;p&gt;In this section, we will describe how to read messages from the database.&lt;/p&gt;
&lt;p&gt;mesibo provides a set of APIs to read messages and call history stored in the database and sending read receipts. The messages you read will be delivered to &lt;code&gt;Mesibo_onMessage&lt;/code&gt; lisetener. You can then use &lt;code&gt;msg.isRealtimeMessage()&lt;/code&gt; or &lt;code&gt;msg.isDbMessage()&lt;/code&gt; to differentiate between real-time and database message.&lt;/p&gt;
&lt;p&gt;To read stored messages from the database, you need to create a read session and set the criteria to read messages; for example,&lt;/p&gt;</description></item><item><title>Creating Groups</title><link>https://docs.mesibo.com/tutorials/get-started/create-groups/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/create-groups/</guid><description>&lt;p&gt;Group messaging is no different from the one-to-one messaging. You can invoke the same messaging APIs to send a group message, instead of the user&amp;rsquo;s profile, you need to use group profile.&lt;/p&gt;
&lt;p&gt;mesibo allows you to create various types of groups, with different level of permissions for members and admins. You can learn more about it in &lt;a href="https://docs.mesibo.com/api/group-management/"&gt;Group Management APIs&lt;/a&gt; documentation.&lt;/p&gt;
&lt;p&gt;In this section, we will quickly learn to create a group.&lt;/p&gt;</description></item><item><title>Video and Voice Calls</title><link>https://docs.mesibo.com/tutorials/get-started/video-and-voice-calls/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/video-and-voice-calls/</guid><description>&lt;p&gt;mesibo allows you to enable peer-to-peer HD video and voice calls between your users in just a few lines of code. As with messaging, mesibo video and voice calls are end-to-end encrypted and hence secure. mesibo does not charge any additional amount for the voice or video call APIs.&lt;/p&gt;
&lt;p&gt;Making and receiving voice &amp;amp; video calls with mesibo is simple. You only need to initialize &lt;a href="https://docs.mesibo.com/api/calls/mesibocall"&gt;MesiboCall&lt;/a&gt; once using just one line of code! Then, mesibo will automatically handle incoming calls. For outgoing calls, you can invoke call API as required.&lt;/p&gt;</description></item><item><title>Video and Voice Conferencing (Group Calls)</title><link>https://docs.mesibo.com/tutorials/get-started/video-and-voice-conference/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/video-and-voice-conference/</guid><description>&lt;p&gt;In this section, we will quickly learn how to add Video and Voice Conferencing (group calling) to your apps, in just one line of code.&lt;/p&gt;
&lt;p&gt;For detailed documentation and examples for conferencing refer to &lt;a href="https://docs.mesibo.com/api/conferencing"&gt;Mesibo Conferencing Docs&lt;/a&gt; and download the example source code for conferencing from &lt;a href="https://github.com/mesibo/conferencing"&gt;GitHub&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To add mesibo Group Calling to your app, you only need to initialize &lt;a href="https://docs.mesibo.com/api/calls/mesibocall"&gt;MesiboCall&lt;/a&gt; once using just one line of code. This you would have already done in the previous section.&lt;/p&gt;</description></item><item><title>Hosting Media and Files</title><link>https://docs.mesibo.com/tutorials/get-started/file-transfer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/file-transfer/</guid><description>&lt;p&gt;In this part, we will describe how to host media and files on your server instead of the mesibo file server.&lt;/p&gt;
&lt;h2 id="hosting-media-and-files-on-your-server"&gt;Hosting Media and Files on Your Server&lt;a class="td-heading-self-link" href="#hosting-media-and-files-on-your-server" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;As we learned before, mesibo allows you to send and receive any arbitrary file (image, audio, video, doc, etc) in real-time.&lt;/p&gt;
&lt;p&gt;By default, all media and files you send are stored on the mesibo file server. However most mesibo users, especially those having sensitive data (financial institutes, healthcare, dating, etc.) prefer to store files on their servers. We highly recommend that &lt;strong&gt;you should use the mesibo server only for initial development and use your own servers for deployment&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Multi-Device Synchronization</title><link>https://docs.mesibo.com/tutorials/get-started/synchronization/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/synchronization/</guid><description>&lt;p&gt;In this part, we will learn about synchronizing messages and user data on multiple devices with mesibo.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Note, to use the synchronization feature, you need to use the mesibo &lt;a href="https://docs.mesibo.com/on-premise"&gt;On-Premise&lt;/a&gt;, which allows you to store all the messages in your data center.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;You MUST go through the following prerequisites before you read further.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Familiar with reading messages.&lt;/li&gt;
&lt;li&gt;Run &lt;a href="https://docs.mesibo.com/on-premise"&gt;mesibo On-Premise&lt;/a&gt;. See &lt;a href="https://docs.mesibo.com/on-premise"&gt;On-Premise Docs&lt;/a&gt; for installation instructions and more.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="multi-device-synchronization"&gt;Multi-Device Synchronization&lt;a class="td-heading-self-link" href="#multi-device-synchronization" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;mesibo stores your app’s messages on the server till they are delivered. Once the app receives messages, they are stored on the local device database so that your app can quickly access them later (both when online and offline). This is a very optimal approach used by many popular and high user density apps like Whatsapp.&lt;/p&gt;</description></item><item><title>Other Topics</title><link>https://docs.mesibo.com/tutorials/get-started/other-topics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/other-topics/</guid><description>&lt;p&gt;Now that you have a basic understanding of mesibo&amp;rsquo;s APIs, we suggest you read through the more detailed &lt;a href="https://docs.mesibo.com/api"&gt;API documentation&lt;/a&gt;, which covers additional topics such as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/messaging/conversation-threads/"&gt;Message Reply and forward&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/messaging/message-retraction/"&gt;Message retraction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/messaging/disappearing-messages/"&gt;Disappearing messages&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/push-notifications"&gt;Push Notifications&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/webhooks"&gt;Webhooks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/presence"&gt;Presence and Typing Indicators&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/messaging/restricted-communication/"&gt;Pairing Users&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/users-and-profiles/blocking-users/"&gt;Blocking and Unblocking Users&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api/phone-contacts-and-addressbook/"&gt;Phone Contacts APIs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.mesibo.com/api"&gt;And more&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Get Started | UI Modules</title><link>https://docs.mesibo.com/tutorials/get-started/ui-modules/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/ui-modules/</guid><description>&lt;p&gt;In this part, we will cover how to use mesibo in your UI apps and mesibo UI modules.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Read the &lt;a href="https://docs.mesibo.com/tutorials/get-started/"&gt;First App&lt;/a&gt; Guide.&lt;/li&gt;
&lt;li&gt;Read one of the Android, iOS, JS section of this tutorial.&lt;/li&gt;
&lt;li&gt;Install Mesibo UI Modules by following &lt;a href="https://docs.mesibo.com/install/android/#install-mesibo-ui-and-voicevideo-calls-framework"&gt;Instructions for Android&lt;/a&gt; and &lt;a href="https://docs.mesibo.com/install/ios/#step-4-install-mesibo-ui-and-calls-framework"&gt;Instructions for iOS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="ready-to-use-ui-modules"&gt;Ready to use UI Modules&lt;a class="td-heading-self-link" href="#ready-to-use-ui-modules" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Mesibo provides a variety of pre-built UI components that allow you to quickly add messaging, voice &amp;amp; video call graphical user interface in your app. Mesibo UI modules are completely customizable. You can not only customize colors, icons, etc but also customize how each message is rendered. This enables you to create powerful chatbots in no-time.&lt;/p&gt;</description></item><item><title>Get Started | User Authentication in your App</title><link>https://docs.mesibo.com/tutorials/get-started/auth/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/tutorials/get-started/auth/</guid><description>&lt;p&gt;A typical first step in every app is user authentication. This generally involves a login form where users enter their credentials. Note that &lt;strong&gt;mesibo does not recommend or enforce any particular authentication method&lt;/strong&gt;. You can use any authentication mechanism suitable to your app, for example, email, phone, user-id, LDAP, RADIUS, OAuth2, Kerberos, SAML, fingerprint, etc. All you need to do is to generate a mesibo access token for the user only after your user passed your authentication.&lt;/p&gt;</description></item></channel></rss>