Messaging UI - Chat List Settings
The userList group sets the chat list: the list of one-to-one and group chats.
| Setting | Description |
|---|---|
userList.title | The title of the chat list. Empty: the app name |
userList.searchMode | Where the search field is, see Search |
userList.enableFilters, userList.filters | The filters above the chats, see Filters |
userList.enableArchive | Archived chats |
userList.unarchiveOnNewMessage | A new message moves an archived chat back to the chat list |
userList.enableSwipeActions | Swiping a chat, see Swipe actions |
userList.showDrafts | A chat with an unsent message shows Draft: and the text |
userList.showOnlineIndicator | A green dot on the picture of a user who is online |
userList.enableProfilePopup | A tap on a picture opens the profile popup |
contacts.enableEnterAddress | A row in the contacts list to start a chat with a phone number or address |
The colors of the chat list are on the Themes and Colors page.
Search
userList.searchMode sets where the search field is:
| Mode | Android | iOS | JSON | Description |
|---|---|---|---|---|
| Button (default) | MesiboUI.SEARCH_BUTTON | MESIBO_SEARCH_BUTTON | "button" | A search button in the toolbar opens the search field |
| Top | MesiboUI.SEARCH_TOP | MESIBO_SEARCH_TOP | "top" | The search field is always shown, under the title |
| System | MesiboUI.SEARCH_SYSTEM | MESIBO_SEARCH_SYSTEM | "system" | The platform places it. On iOS 26 and later on iPhone, at the bottom. On Android, the same as Button |
| None | MesiboUI.SEARCH_NONE | MESIBO_SEARCH_NONE | "none" | No search |
The search button is the rightmost button of the toolbar. When there is no room, it moves into the More menu.
Filters
userList.enableFilters shows a row of filters above the chats. userList.filters sets which
filters are shown, their titles, and their order. The first filter is selected when the list opens.
| Filter | Android | iOS | JSON | Shows |
|---|---|---|---|---|
| All | CHATFILTER_ALL | MESIBO_CHATFILTER_ALL | "all" | every chat |
| Unread | CHATFILTER_UNREAD | MESIBO_CHATFILTER_UNREAD | "unread" | chats with unread messages |
| Favorites | CHATFILTER_FAVORITES | MESIBO_CHATFILTER_FAVORITES | "favorites" | favorite chats |
| Groups | CHATFILTER_GROUPS | MESIBO_CHATFILTER_GROUPS | "groups" | group chats |
| Online | CHATFILTER_ONLINE | MESIBO_CHATFILTER_ONLINE | "online" | users who are online |
All five are shown by default. filters is a list of MesiboUiOption: the filter in value, and
its title in title. A filter left out of the list is hidden.
config.userList.filters = new MesiboUiOption[]{
new MesiboUiOption(MesiboUI.CHATFILTER_ALL, "All"),
new MesiboUiOption(MesiboUI.CHATFILTER_UNREAD, "Unread"),
new MesiboUiOption(MesiboUI.CHATFILTER_GROUPS, "Groups")};
config.userList.filters = arrayOf(
MesiboUiOption(MesiboUI.CHATFILTER_ALL, "All"),
MesiboUiOption(MesiboUI.CHATFILTER_UNREAD, "Unread"),
MesiboUiOption(MesiboUI.CHATFILTER_GROUPS, "Groups"))
config.userList.filters = [
MesiboUiOption(Int(MESIBO_CHATFILTER_ALL), title: "All"),
MesiboUiOption(Int(MESIBO_CHATFILTER_UNREAD), title: "Unread"),
MesiboUiOption(Int(MESIBO_CHATFILTER_GROUPS), title: "Groups")]
config.userList.filters = @[[MesiboUiOption option:MESIBO_CHATFILTER_ALL title:@"All"],
[MesiboUiOption option:MESIBO_CHATFILTER_UNREAD title:@"Unread"],
[MesiboUiOption option:MESIBO_CHATFILTER_GROUPS title:@"Groups"]];
{"userList": {"filters": [{"value": "all", "title": "All"},
{"value": "unread", "title": "Unread"},
{"value": "groups", "title": "Groups"}]}}
Swipe actions
A chat in the chat list can be swiped:
| Swipe | Android | iOS |
|---|---|---|
| Left | Archive, or Unarchive in the archived chats. When userList.enableArchive is off: Delete, after a confirmation | Shows the Delete, Mute and Archive buttons |
| Right | Mark as read, or as unread | Shows the Read or Unread button |
On Android, a full swipe does the action. On iOS, a swipe shows buttons.
userList.enableSwipeActions set to false (NO) turns swiping off. The same actions stay in the
bar shown on a long press.