<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>UI Configuration - Texts, Localization, Colors and Features on mesibo documentation</title><link>https://docs.mesibo.com/ui-modules/config/</link><description>Recent content in UI Configuration - Texts, Localization, Colors and Features on mesibo documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.mesibo.com/ui-modules/config/index.xml" rel="self" type="application/rss+xml"/><item><title>Messaging UI - Themes, Colors and Customize Screen</title><link>https://docs.mesibo.com/ui-modules/config/themes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/themes/</guid><description>&lt;p&gt;The messaging UI has a light and a dark theme, and follows the system setting by default. mesibo
lets the app set the colors of both themes, the text size and the chat wallpaper, so that the
messaging screens match the rest of the app.&lt;/p&gt;
&lt;p&gt;The users of the app can also choose their own look, in the ready-to-use Customize screen. The app
saves the look they choose, called a customization, and can keep it on its own server to restore it
on the user&amp;rsquo;s other devices.&lt;/p&gt;</description></item><item><title>Messaging UI - Chat List Configuration</title><link>https://docs.mesibo.com/ui-modules/config/chat-list/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/chat-list/</guid><description>&lt;p&gt;The chat list is the main screen of most messaging apps. It shows the user&amp;rsquo;s one-to-one and group
chats, each with its picture, the last message, the time and the number of unread messages. mesibo
lets the app set its title, where the search field is, which filters are shown above the chats,
whether chats can be archived, and what a swipe on a chat does.&lt;/p&gt;
&lt;p&gt;These options are in the &lt;code&gt;userList&lt;/code&gt; group, and the contact lists (new chat, forward, group members)
in the &lt;code&gt;contacts&lt;/code&gt; group.&lt;/p&gt;</description></item><item><title>Messaging UI - Chat Screen Configuration</title><link>https://docs.mesibo.com/ui-modules/config/chat-screen/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/chat-screen/</guid><description>&lt;p&gt;The chat screen is where users read and send messages. mesibo lets the app choose which actions a
message has, what users can attach and send, how pictures are edited before they are sent, and how
messages are shown.&lt;/p&gt;
&lt;p&gt;The configuration of the chat screen is described in the following sections:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Features&lt;/strong&gt;: the actions on a message, such as reply, forward, edit, copy, star, keep and
reactions, and voice messages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Attachments&lt;/strong&gt;: the attach button, the camera button and the tiles of the attachment sheet.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Media picker and photo editor&lt;/strong&gt;: picking photos and videos, the photo editor, and the size of
pictures sent.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Message options&lt;/strong&gt;: when a message disappears or expires, and its sensitivity.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Disappearing messages&lt;/strong&gt;: the disappearing messages screen of a chat.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Message status&lt;/strong&gt;: the icons by the time of a message.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Message info&lt;/strong&gt;: when a message was delivered and read, by each member of a group.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Photo and video viewer&lt;/strong&gt;: viewing the photos and videos of a chat full screen.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="features"&gt;Features&lt;a class="td-heading-self-link" href="#features" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Option&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;code&gt;messages.enableForward&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;Forward&lt;/em&gt; a message to other chats&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableEdit&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;Edit&lt;/em&gt; a sent message&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableReply&lt;/code&gt;, &lt;code&gt;messages.enableSwipeToReply&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;Reply&lt;/em&gt; to a message, and reply by swiping the message&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableCopy&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;Copy&lt;/em&gt; the text of a message&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableStar&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;Star&lt;/em&gt; a message&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableReactions&lt;/code&gt;, &lt;code&gt;messages.reactions&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Reactions, and the emoji shown on a long press. An empty list shows no emoji&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableReplyPrivately&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;Reply privately&lt;/em&gt; to a received group message, in the one-to-one chat with its sender&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableSenderProfile&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;In a group chat, a tap on a sender&amp;rsquo;s name opens the profile popup of the sender&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.enableKeep&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;Keep&lt;/em&gt; a disappearing message: the user&amp;rsquo;s copy no longer disappears, see &lt;a href="https://docs.mesibo.com/ui-modules/config/privacy/#sensitive-messages"&gt;Sensitive messages&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messages.showMissedCalls&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Missed calls in the chat&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;voiceMessages.enabled&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Voice messages: the microphone button in the message input&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messageAppearance.showBubbleTail&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The tail of a message bubble&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messageAppearance.showLargeEmoji&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;A message of only emoji is shown larger&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messageAppearance.showWallpaperPattern&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The faint pattern on the chat background&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messageAppearance.textSize&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The text size of messages, see &lt;a href="https://docs.mesibo.com/ui-modules/config/themes/#text-size"&gt;Text size&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;messageAppearance.wallpaperPath&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;A photo as the chat background, see &lt;a href="https://docs.mesibo.com/ui-modules/config/themes/#wallpaper"&gt;Wallpaper&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="attachments"&gt;Attachments&lt;a class="td-heading-self-link" href="#attachments" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Option&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;code&gt;attachments.enabled&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The attach button and the camera button in the message input&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;attachments.buttonStyle&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The attach button: a paper clip (&lt;code&gt;ATTACH_BUTTON_CLIP&lt;/code&gt;, default) or a plus (&lt;code&gt;ATTACH_BUTTON_PLUS&lt;/code&gt;)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;attachments.buttonImageResource&lt;/code&gt; (Android), &lt;code&gt;attachments.buttonImage&lt;/code&gt; (iOS)&lt;/td&gt;
 &lt;td&gt;The app&amp;rsquo;s own icon for the attach button&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;attachments.tiles&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The tiles of the attachment sheet&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;attachments.showRecentPhotos&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Recent photos at the top of the attachment sheet. On iOS, only when the user has given photo access&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The attach button opens the attachment sheet. The sheet has one tile per type of attachment:
gallery, camera, video, document, audio and location. &lt;code&gt;attachments.getTile(type)&lt;/code&gt; returns a
built-in tile. The app can change the title, image or color of a tile, disable it, remove it,
reorder the tiles, or add its own tile with a click handler.&lt;/p&gt;</description></item><item><title>Messaging UI - Profile Configuration</title><link>https://docs.mesibo.com/ui-modules/config/profiles/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/profiles/</guid><description>&lt;p&gt;mesibo provides ready-to-use screens to view and edit user profiles and group profiles: a profile
screen with the picture, the name, the status and the settings of the chat, an editor with multiple
profile photos, and a media screen with the photos, videos, documents and links of a chat.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;profileViewer&lt;/code&gt; group sets the profile screen and the media screen. The &lt;code&gt;profileEditor&lt;/code&gt; group
sets the editor of the user&amp;rsquo;s own profile and of group profiles.&lt;/p&gt;</description></item><item><title>Messaging UI - Encryption and Sensitive Messages</title><link>https://docs.mesibo.com/ui-modules/config/privacy/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/privacy/</guid><description>&lt;p&gt;mesibo provides ready-to-use screens for end-to-end encryption, and controls for sensitive messages.
With end-to-end encryption, only the users of a chat can read its messages. Sensitive messages stay
covered until the user opens them, and can be protected from being forwarded, copied, kept or
captured.&lt;/p&gt;
&lt;p&gt;The texts of the encryption screens are in the &lt;code&gt;encryption&lt;/code&gt; group, and the options of sensitive
messages in the &lt;code&gt;sensitivity&lt;/code&gt; group.&lt;/p&gt;
&lt;h2 id="end-to-end-encryption-screens"&gt;End-to-end encryption screens&lt;a class="td-heading-self-link" href="#end-to-end-encryption-screens" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;mesibo provides two end-to-end encryption screens. Their texts are in the &lt;code&gt;encryption&lt;/code&gt; group.&lt;/p&gt;</description></item><item><title>Importing and Exporting the UI Configuration</title><link>https://docs.mesibo.com/ui-modules/config/json/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/json/</guid><description>&lt;p&gt;Every option of the messaging UI can be written as JSON, with the same names as in code. The same
JSON applies on Android, iOS and Flutter. Uses:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;One file with the look and features of the app, for all platforms.&lt;/li&gt;
&lt;li&gt;A configuration sent from the app&amp;rsquo;s server, to change the UI without a new app release.&lt;/li&gt;
&lt;li&gt;A look chosen in the &lt;a href="https://docs.mesibo.com/ui-modules/config/themes/#customize-screen"&gt;Customize screen&lt;/a&gt;, saved on the app&amp;rsquo;s
server and restored on the user&amp;rsquo;s other devices.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="format"&gt;Format&lt;a class="td-heading-self-link" href="#format" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The JSON has one object per group. Each object has options of that group, with their names in code
(see &lt;a href="https://docs.mesibo.com/ui-modules/config/"&gt;UI Configuration&lt;/a&gt;):&lt;/p&gt;</description></item><item><title>Migrating from 2.9.0 to the Latest UI</title><link>https://docs.mesibo.com/ui-modules/config/migrating/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/migrating/</guid><description>&lt;p&gt;An app moving from mesibo 2.9.0, or any later version, to the latest messaging UI needs to rename the
options it uses. The tables below list the new name of every option, so that the app can update its
code, its JSON files and its saved customizations.&lt;/p&gt;
&lt;p&gt;The options of the messaging UI moved from one large class, &lt;code&gt;MesiboUiDefaults&lt;/code&gt;, to
&lt;code&gt;MesiboUiConfig&lt;/code&gt;, a configuration of small groups (see &lt;a href="https://docs.mesibo.com/ui-modules/config/"&gt;UI Configuration&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MesiboUI.getUiDefaults()&lt;/code&gt; is replaced by &lt;code&gt;MesiboUI.getConfig()&lt;/code&gt; from API version &lt;code&gt;v2.15.0&lt;/code&gt;. The names are the same on
Android and iOS. Inside a group, the group&amp;rsquo;s name is left out of the option&amp;rsquo;s name, for example
&lt;code&gt;showMuteInProfileView&lt;/code&gt; is now &lt;code&gt;profileViewer.enableMute&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Dialogs</title><link>https://docs.mesibo.com/ui-modules/config/dialogs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.mesibo.com/ui-modules/config/dialogs/</guid><description>&lt;p&gt;&lt;code&gt;MesiboDialogs&lt;/code&gt; shows the same alerts and bottom sheets as the messaging UI. The app can use it for
its own dialogs, so that they look the same. &lt;code&gt;MesiboDialogs.Options&lt;/code&gt; (&lt;code&gt;MesiboDialogOptions&lt;/code&gt; on iOS)
sets the content:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Option&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;code&gt;title&lt;/code&gt;, &lt;code&gt;message&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The title and the text&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;positiveLabel&lt;/code&gt;, &lt;code&gt;onPositive&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The positive button and its handler. No label: &lt;code&gt;common.okTitle&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;negativeLabel&lt;/code&gt;, &lt;code&gt;onNegative&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The negative button and its handler. No label: no negative button&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;destructive&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The positive button in red&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;sheet&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;A bottom sheet instead of a centered dialog&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;items&lt;/code&gt;, &lt;code&gt;onSelect&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;A list of choices instead of a message. &lt;code&gt;onSelect&lt;/code&gt; gets the index of the tapped item&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;destructiveItems&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The indexes of items shown in red&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;









&lt;ul class="nav nav-tabs" role="tablist"&gt;
 
 &lt;li class="nav-item" role="presentation"&gt;
 &lt;button
 class="nav-link active"
 id="tab-lang-1-java"
 data-bs-toggle="tab"
 data-bs-target="#tabpane-lang-1-java"
 type="button"
 role="tab"
 aria-controls="tabpane-lang-1-java"
 aria-selected="true"
 data-tab-group="lang"
 data-tab-name="Java"
 &gt;Java&lt;/button&gt;
 &lt;/li&gt;
 
 &lt;li class="nav-item" role="presentation"&gt;
 &lt;button
 class="nav-link"
 id="tab-lang-1-kotlin"
 data-bs-toggle="tab"
 data-bs-target="#tabpane-lang-1-kotlin"
 type="button"
 role="tab"
 aria-controls="tabpane-lang-1-kotlin"
 aria-selected="false"
 data-tab-group="lang"
 data-tab-name="Kotlin"
 &gt;Kotlin&lt;/button&gt;
 &lt;/li&gt;
 
 &lt;li class="nav-item" role="presentation"&gt;
 &lt;button
 class="nav-link"
 id="tab-lang-1-swift"
 data-bs-toggle="tab"
 data-bs-target="#tabpane-lang-1-swift"
 type="button"
 role="tab"
 aria-controls="tabpane-lang-1-swift"
 aria-selected="false"
 data-tab-group="lang"
 data-tab-name="Swift"
 &gt;Swift&lt;/button&gt;
 &lt;/li&gt;
 
 &lt;li class="nav-item" role="presentation"&gt;
 &lt;button
 class="nav-link"
 id="tab-lang-1-objective-c"
 data-bs-toggle="tab"
 data-bs-target="#tabpane-lang-1-objective-c"
 type="button"
 role="tab"
 aria-controls="tabpane-lang-1-objective-c"
 aria-selected="false"
 data-tab-group="lang"
 data-tab-name="Objective-C"
 &gt;Objective-C&lt;/button&gt;
 &lt;/li&gt;
 
&lt;/ul&gt;
&lt;div class="tab-content"&gt;
 
 &lt;div
 class="tab-pane fade show active"
 id="tabpane-lang-1-java"
 role="tabpanel"
 aria-labelledby="tab-lang-1-java"
 &gt;
 &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;Options&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;Options&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Delete chats?&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;positiveLabel&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Delete&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;negativeLabel&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;MesiboUI&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;getConfig&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="na"&gt;common&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;cancelTitle&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;destructive&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;onPositive&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;deleteChats&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;show&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Signed Out&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Login again to continue.&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 &lt;/div&gt;
 
 &lt;div
 class="tab-pane fade"
 id="tabpane-lang-1-kotlin"
 role="tabpanel"
 aria-labelledby="tab-lang-1-kotlin"
 &gt;
 &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-kotlin" data-lang="kotlin"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="py"&gt;o&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Options&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Delete chats?&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;positiveLabel&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Delete&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;negativeLabel&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;MesiboUI&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getConfig&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="n"&gt;common&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cancelTitle&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;destructive&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="k"&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;onPositive&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Runnable&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;deleteChats&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nc"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;show&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nc"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Signed Out&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Login again to continue.&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 &lt;/div&gt;
 
 &lt;div
 class="tab-pane fade"
 id="tabpane-lang-1-swift"
 role="tabpanel"
 aria-labelledby="tab-lang-1-swift"
 &gt;
 &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-swift" data-lang="swift"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nv"&gt;o&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;MesiboDialogOptions&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;Delete chats?&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;positiveLabel&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;Delete&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;negativeLabel&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;MesiboUI&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getConfig&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="n"&gt;common&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cancelTitle&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;destructive&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;onPositive&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="kc"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;deleteChats&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;show&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;Signed Out&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;Login again to continue.&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 &lt;/div&gt;
 
 &lt;div
 class="tab-pane fade"
 id="tabpane-lang-1-objective-c"
 role="tabpanel"
 aria-labelledby="tab-lang-1-objective-c"
 &gt;
 &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-objc" data-lang="objc"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;MesiboDialogOptions&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;o&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;MesiboDialogOptions&lt;/span&gt; &lt;span class="n"&gt;new&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;@&amp;#34;Delete chats?&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;positiveLabel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;@&amp;#34;Delete&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;negativeLabel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;MesiboUI&lt;/span&gt; &lt;span class="n"&gt;getConfig&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="n"&gt;common&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cancelTitle&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;destructive&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;YES&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;onPositive&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;self&lt;/span&gt; &lt;span class="n"&gt;deleteChats&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt; &lt;span class="nl"&gt;show&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nb"&gt;self&lt;/span&gt; &lt;span class="nl"&gt;options&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;MesiboDialogs&lt;/span&gt; &lt;span class="nl"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nb"&gt;self&lt;/span&gt; &lt;span class="nl"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s"&gt;@&amp;#34;Signed Out&amp;#34;&lt;/span&gt; &lt;span class="nl"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s"&gt;@&amp;#34;Login again to continue.&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 &lt;/div&gt;
 
&lt;/div&gt;</description></item></channel></rss>