D
D
Danil Sheblov2020-05-08 00:52:35
Python
Danil Sheblov, 2020-05-08 00:52:35

What to do if everyone has the same ID in VK conversations?

5eb482a87c684057460750.jpeg
5eb482b5992d0090950329.jpeg
5eb482bd0abd4491056926.jpeg

Hello again, I have my own VK bot, but in conversations everyone has the same ID, and everyone has the same balance, rating, etc., is there any way to fix this? Bota written in Python3, vk_api library, longpoll

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2020-05-08
@StockholmSyndrome

actually it is a peer_id, i.e. 2e9 (two billion) + chat_id (conversation id)
to get the sender id, you need to use from_id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question