E
E
etozhesano2021-11-04 15:44:08
Bots
etozhesano, 2021-11-04 15:44:08

How can a bot get the name of a Telegram group knowing the ID?

Good afternoon.
The bot is in 60+- groups. There is a list of group names and their IDs. Some groups have changed their name. How can I check the current group name? Maybe there is a method directly or a tricky way? It is desirable that users in the group not be disturbed)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
etozhesano, 2021-11-04
@etozhesano

The getChat method has this information.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question