L
L
LikeKey2021-03-01 13:41:49
Java
LikeKey, 2021-03-01 13:41:49

What to do if the VK bot itself reacts to its messages?

More precisely, not on my messages, but on mine, if I write on behalf of the bot. An error 901 (no permission to send a message) crashes to the console, how can I make the bot react only to incoming messages using java sdk? On python, I know you just need to call the .from_user function, but I didn’t find anything like that in the official java sdk

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dima Pautov, 2017-11-24
@San4oPan40a

for starters, the selector is no longer correct

$(".btn btn-block btn-animate") // У вас так
$(".btn.btn-block.btn-animate") // А должно быть так

V
Viktor Yanyshev, 2017-11-24
@villiwalla

$.ajax({
....,
 success: function() {
  $('#catalog').modal('show');
 }
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question