-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[FEATURE] messages.getAllChats method not found in Bot class #2512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@goedzo Wiki of python-telegram-bot |
@Bibo-Joshi Why is this closed? The official API support this feature: |
That's Mtproto, not the bot API. The Bot API documentation is linked in the FAQ entry that I pointed you to. |
@Bibo-Joshi thanks for the quick reply, but now I am a little confused here. What is the difference between Mtproto and the API? Nevertheless my goal is to get the chatID from all the groups my bot is in. Is this even possible? |
See tdlib/telegram-bot-api#1 (comment) |
I want to get all the chats my bot is in, and the messages.getAllChats from the API should give these:
https://core.telegram.org/method/messages.getAllChats
However I am unable to find this method in the Bot class.
getChat(chat_id, timeout=None, api_kwargs=None) is implemented in Bot class, so to me it seems logically that getAllChats can also be added to the same object.
The text was updated successfully, but these errors were encountered: