Answer the question
In order to leave comments, you need to log in
How to make it so that when you add a bot to another conversation, it works everywhere?
You need to make the bot work in both conversations.
Here is the code:
import requests
import time
apiurl = 'https://api.vk.com/method/'
token = 'token'
chatid = 5
message_id = 2
forward_messages = 2
while True:
one = requests.get(apiurl + 'messages.send', {'v': 5.67, 'access_token': token, 'chat_id':
chatid, 'forward_messages': forward_messages})
two = requests.get(apiurl + 'messages.edit', {'v': 5.67, 'access_token': token, 'peer_id':
2000000000 + chatid, 'forward_messages': forward_messages})
print(two.json())
time.sleep(0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question