gives a spike on incoming message

gives a spike when watering a message and does not show the keyboard

used library: vk_api

tried: change token it worked

mistake

part of the code: def write_msg (user_id, message): vk.method ('messages.send', {'user_id': user_id, 'message': message, 'random_id': random.randint (0, 2048), "keyboard": key})

token = "my token"

vk = vk_api.VkApi (token = token)


Ответы (0 шт):