-
```
import com.vk.api.sdk.httpclient.HttpTransportClient;
import com.vk.api.sdk.client.*;
import com.vk.api.sdk.objects.*;
import com.vk.api.sdk.objects.messages.*;
import com.vk.api.sdk.client.a…
Dim00 updated
2 months ago
-
прикрепляю код написанный
import vk_api
from vk_api.longpoll import VkLongPoll, VkEventType
def auth():
login = '+логин'
password = 'пароль'
vk_session = vk_api.VkApi(login, pass…
-
Здравствуйте решил попробовать LongPoll в вашей библиотеке, обзавелся кодом с описания выглядит так:
```
use getjump\Vk\Core;
use getjump\Vk\Wrapper\LongPoll;
$vk = Core::getInstance()->apiVersion…
-
https://vk.com/dev/using_longpoll
ghost updated
8 months ago
-
Написал бота, который отправляет гифку в ответ на сообщение определенного пользователя в беседе. Хочу сделать так, чтобы это сообщение было ответом, а не просто сообщением (пример, как хотелось реализ…
-
Все версии самые последние
Код(вставил только то что имеет отношение к проблеме т.к. файл на 2000 строк, если чего-то не дописал то сорян):
```
class CreateLongPoll(VkLongPoll):
def listen(sel…
-
Доброго времени суток!
Пытаюсь наладить работу c User Long Poll API, но получаю ошибку Can't parse json response.
```
MessagesGetLongPollServerQuery longPollServer = vkApiClient.messages().getLongP…
-
В какой-то момент бот перестаёт отправлять сообщения из Телеграмм в ВК в групповом чате куда он добавлен. В логах повторяющееся сообщение:
`WARNING:vk_messages:Longpoll id 1: {'ts': 1723203814, 'upda…
-
Сейчас мой бот в Вк обрабатывает сообщения синхронно:
1) Получил сообщение от пользователя,
2) Формирует для него ответ и отправляет
*При этом если напишет кто-то ещё, то бот не ответит ему, пок…
ghost updated
4 years ago
-
ВКонтакте заблокирован на территории Украины. В связи с этим нужно использовать прокси. Но проблема в том, что ничего не работает. Что я делаю не так?
### Окружение
vk_api: 11.8.0
API: …