allow to "move to top" accounts in the account selector

This commit is contained in:
adbenitez 2025-07-11 16:01:10 +02:00
parent 15ed570dce
commit 1d7d0dd329
3 changed files with 35 additions and 0 deletions

View file

@ -164,6 +164,10 @@ public class Rpc {
return gson.fromJson(getResult("create_broadcast", accountId, chatName), Integer.class);
}
public void setAccountsOrder(List<Integer> order) throws RpcException {
getResult("set_accounts_order", order);
}
private static class Request {
private final String jsonrpc = "2.0";
public final String method;