Archived
0

добавлен комментарий для long poll

This commit is contained in:
2018-12-10 12:48:57 +03:00
parent 06e419b582
commit 7c0af551d4

View File

@@ -115,6 +115,7 @@ public class VkApi implements Runnable {
}
}
// https://vk.com/dev/using_longpoll
public JsonObject longExecApi(String server, String key, long ts, long wait) throws IOException {
String url = String.format("https://%s?act=a_check&key=%s&ts=%d&wait=%d&mode=2&version=1",
server, key, ts, wait