MTPyroger/pyrogram/client/methods/chats
elandorr ce0ddcddb2
Fix get_nearby_chats breaking with the new Layer (#446)
* fix for new format

This fixes the `AttributeError: 'PeerUser' object has no attribute 'channel_id'`.
Maybe we should also have a method to show nearby users?

* Update get_nearby_chats.py

Use isinstance instead of type

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2020-08-21 07:30:42 +02:00
..
__init__.py Remove set_chat/profile_video 2020-07-27 15:03:23 +02:00
add_chat_members.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
archive_chats.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
create_channel.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
create_group.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
create_supergroup.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
delete_channel.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
delete_chat_photo.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
delete_supergroup.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
delete_user_history.py Some fixes and speed improvments (#439) 2020-07-12 06:43:30 +02:00
export_chat_invite_link.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
get_chat_member.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
get_chat_members_count.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
get_chat_members.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
get_chat.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
get_dialogs_count.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
get_dialogs.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
get_nearby_chats.py Fix get_nearby_chats breaking with the new Layer (#446) 2020-08-21 07:30:42 +02:00
iter_chat_members.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
iter_dialogs.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
join_chat.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
kick_chat_member.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
leave_chat.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
pin_chat_message.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
promote_chat_member.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
restrict_chat_member.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
set_administrator_title.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
set_chat_description.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
set_chat_permissions.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
set_chat_photo.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
set_chat_title.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
set_slow_mode.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
unarchive_chats.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
unban_chat_member.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
unpin_chat_message.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
update_chat_username.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00