T
T
ThreeDHead2019-03-19 17:30:52
Bots
ThreeDHead, 2019-03-19 17:30:52

How to find out what chats your bot is in?

Good evening!
How to find out which groups / chats your bot is in in order to send messages there?
getUpdates gives out some heresy.
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThreeDHead, 2019-03-26
@ThreeDHead

It is necessary from the very beginning to collect all identifiers of chats and groups through getUpdates and save them to a separate file/DB. Then, these identifiers can be used to make notifications.

D
Dimonchik, 2019-03-19
@dimonchik2013

open an acc from your phone and look at the list if you are too lazy to poke around in the API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question