<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mesibo Group Management APIs on mesibo documentation</title><link>https://docs.mesibo.com/api/group-management/</link><description>Recent content in Mesibo Group Management APIs on mesibo documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.mesibo.com/api/group-management/index.xml" rel="self" type="application/rss+xml"/><item><title>Mesibo Group Management - Creating a Group</title><link>https://docs.mesibo.com/api/group-management/creating-a-group/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/group-management/creating-a-group/</guid><description>&lt;p&gt;You can create a new group by calling &lt;code&gt;createGroup&lt;/code&gt; API. It will send a request to the server to create a new group. When a group is created, &lt;code&gt;Mesibo_onGroupCreated&lt;/code&gt; callback function in the listener will be called with the group profile. You can then add members to the group using group profile APIs. Note that, you will be already added as the owner and the member of the group and hence you should not add yourself again.&lt;/p&gt;</description></item><item><title>Mesibo Group Management - Managing Group Members and Admins</title><link>https://docs.mesibo.com/api/group-management/members-and-admins/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/group-management/members-and-admins/</guid><description>&lt;h3 id="adding-group-members-and-admins"&gt;Adding Group Members and Admins&lt;a class="td-heading-self-link" href="#adding-group-members-and-admins" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;You can add members, and admins to the group by calling &lt;code&gt;addMembers&lt;/code&gt; API of the group profile. You need to pass the addresses of the users to be added as group members, permissions to be granted and admin permissions if you are adding them as group admins.&lt;/p&gt;
&lt;p&gt;You call the same API for adding members or modifying their member and admin permissions.&lt;/p&gt;
&lt;p&gt;When you add members or make them admin, they will be immediately notified by a listener function (explained later).&lt;/p&gt;</description></item><item><title>Mesibo Group Management - Group Operations</title><link>https://docs.mesibo.com/api/group-management/group-operations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/group-management/group-operations/</guid><description>&lt;h3 id="get-group-settings-and-permissions"&gt;Get Group Settings and Permissions&lt;a class="td-heading-self-link" href="#get-group-settings-and-permissions" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;You can get group settings, permissions and PINs (only if admin) &lt;code&gt;getSettings&lt;/code&gt; API of the group profile. When you call &lt;code&gt;getSettings&lt;/code&gt; API, &lt;code&gt;Mesibo_onGroupSettings&lt;/code&gt; callback function in the listener will be called with settings, permissions and PINs. If you are not a member, &lt;code&gt;Mesibo_onGroupError&lt;/code&gt; callback function in the listener will be called with an error code.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-proto" data-lang="proto"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;void&lt;/span&gt; &lt;span class="n"&gt;getSettings&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;GroupListener&lt;/span&gt; &lt;span class="n"&gt;listener&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="err"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;getSettings&lt;/code&gt; takes the following parameters:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Parameter&lt;/th&gt;
 &lt;th&gt;Description&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;listener&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Group listener instance which will be called when group settings are retrived. Note that, if you are using Javascript, you can pass listener or a callback function. For all other platforms, it is the listener.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;{:.proto-table}&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="delete-group"&gt;Delete Group&lt;a class="td-heading-self-link" href="#delete-group" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;You can delete the group by calling &lt;code&gt;deleteGroup&lt;/code&gt; API of the group profile. You need to have the necessary admin permissions to delete a group.&lt;/p&gt;</description></item><item><title>Mesibo Group Management - PIN-based Group Management</title><link>https://docs.mesibo.com/api/group-management/pin-based-management/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/group-management/pin-based-management/</guid><description>&lt;p&gt;The PINs based group management allows users to add themselves to a group by using a numerical PIN. The group admin can create a PIN with the necessary permissions and publish it to users so that they can join the group. The group admin can create multiple PINs with a different set of permissions. For example, the group admin can create a PIN that only allows limited functionality (say only to receive messages or group calls), while another PIN gives full functionalities like sending and receiving messages, making groups calls, etc.&lt;/p&gt;</description></item><item><title>Mesibo Group Listeners</title><link>https://docs.mesibo.com/api/group-management/listeners/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/group-management/listeners/</guid><description>&lt;p&gt;Your app can implement the &lt;code&gt;Mesibo.GroupListener&lt;/code&gt; to be notified of group events. The following listeners are a part of &lt;code&gt;Mesibo.GroupListener&lt;/code&gt;:&lt;/p&gt;
&lt;h4 id="mesibo_ongroupcreated"&gt;Mesibo_onGroupCreated&lt;a class="td-heading-self-link" href="#mesibo_ongroupcreated" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;Mesibo_onGroupCreated&lt;/code&gt; is called with the group profile when you create a group by calling &lt;code&gt;createGroup&lt;/code&gt; API.&lt;/p&gt;
&lt;h4 id="mesibo_ongroupjoined"&gt;Mesibo_onGroupJoined&lt;a class="td-heading-self-link" href="#mesibo_ongroupjoined" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;Mesibo_onGroupJoined&lt;/code&gt; is called with the group profile when you are added to the group&lt;/p&gt;
&lt;h4 id="mesibo_ongroupleft"&gt;Mesibo_onGroupLeft&lt;a class="td-heading-self-link" href="#mesibo_ongroupleft" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;Mesibo_onGroupLeft&lt;/code&gt; is called with the group profile when you leave or removed from the group&lt;/p&gt;</description></item><item><title>Mesibo Group Management - Special Groups</title><link>https://docs.mesibo.com/api/group-management/special-groups/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/api/group-management/special-groups/</guid><description>&lt;p&gt;In addition to groups you have created, mesibo provides a few special groups which always exist for each app you create. These groups make it easy to reach the different combinations of contacts and subscribers.&lt;/p&gt;
&lt;p&gt;For example, you can send messages to all users who have subscribed to your profile update by sending messages to MESIBO_GROUP_SUBSCRIBERS without any additional coding. The members of these special groups are dynamically updated in real-time depending on the type of the group, and you don&amp;rsquo;t need to do any coding to reach these special audiences.&lt;/p&gt;</description></item></channel></rss>