Answer the question
In order to leave comments, you need to log in
Continuous messages?
Is it possible in any way, using Python, to organize an uninterrupted chain of different messages in vk to one friend?
Answer the question
In order to leave comments, you need to log in
import vk_api
vk = vk_api.VkApi(token=<ваш токен>)
messages = [<ссобщение1>, <сообщение2>...<сообщениеN>]
for i in messages:
vk.method('messages.send', {'peer_id':<айди вашего друга>, message:i, 'random_id':0})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question