Answer the question
In order to leave comments, you need to log in
Telebot not displaying admins?
I use the get_chat_administrators
method - but the bot displays only one administrator, and there are three of them.
bot.send_message(message.chat.id, bot.get_chat_administrators(message.chat.id))
{'user': {'id': ID, 'is_bot': False, 'first_name': 'ИМЯ', 'username': 'Ы', 'last_name': 'ФАМИЛИЯ', 'language_code': 'ru'}, 'status': 'administrator', 'until_date': None, 'can_be_edited': False, 'can_change_info': True, 'can_post_messages': None, 'can_edit_messages': None, 'can_delete_messages': True, 'can_invite_users': True, 'can_restrict_members': True, 'can_pin_messages': True, 'can_promote_members': True, 'can_send_messages': None, 'can_send_media_messages': None, 'can_send_other_messages': None, 'can_add_web_page_previews': None}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question