добавлен комментарий для long poll
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user