Puts a dialog at the top of the list, as a new message in it does, without reloading. A list that hasn't loaded yet is left alone: it loads fresh.
Optionallimit: number
Keep the first page to this many dialogs, for short lists like the dropdown's.
Shows a dialog that has a new message where the list's sort puts it, without reloading. By the last message, that is the top. By when it was started, a listed dialog stays where it is, and one not listed goes among the loaded ones in order (ties by id, as the server breaks them), or is left out when it falls past them. A sort this doesn't know leaves the list as it is.
Optionallimit: number
Under the last-message sort, keep the first page to this many dialogs.
Takes a dialog off the list, as leaving it does, without reloading.
AbstractrequestGet the parameters that should be passed in the API request. Do not include page offset unless subclass overrides loadPage.
The sort the list is in: the one chosen, or the first.