i have a contact with first name Toai
i have use the following method to search that contact:
TLRequestContactsSearch req = new TLRequestContactsSearch();req.setQ("Toai") ; // search contact with first name is Toai.TLContactsFound contacts = api.doRpcCallSide(req);
but it always return empty when i call
contacts.getResults();contacts.getUsers();
i have tested the same function in https://web.telegram.org and it's work.
after hit f12 i saw it's used same method [31704.282] Api call contacts.search
i have a contact with first name Toai i have use the following method to search that contact:
TLRequestContactsSearch req = new TLRequestContactsSearch();
req.setQ("Toai") ; // search contact with first name is Toai.
TLContactsFound contacts = api.doRpcCallSide(req);
but it always return empty when i call
contacts.getResults();
contacts.getUsers();
i have tested the same function in https://web.telegram.org and it's work. after hit f12 i saw it's used same method [31704.282] Api call contacts.search
Can any body tell me why it isn't work for me?