MTPyroger/pyrogram
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
..
api Update Copyright 2020-03-21 15:43:32 +01:00
client Fix get_nearby_chats breaking with the new Layer (#446) 2020-08-21 07:30:42 +02:00
connection Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
crypto Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
errors Update Copyright 2020-03-21 15:43:32 +01:00
session Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00
__init__.py Change logging hierarchy for loading plugins (#451) 2020-08-21 07:28:27 +02:00