Answer the question
In order to leave comments, you need to log in
How to get the owner of a telegram chat?
I use Telebot, I didn’t find anything in the documentation about working with chats. How to get the owner and administrators of a chat?
When adding telegrams to a conversation, it is necessary that the bot receives the id / username of the owner and administrators.
Answer the question
In order to leave comments, you need to log in
https://github.com/eternnoir/pyTelegramBotAPI#methods
All API methods are located in the TeleBot class. They are renamed to follow common Python naming conventions. Eg getMe is renamed to get_me and sendMessage to send_message.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question