Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

fix for new format#446

Merged
delivrance merged 2 commits intopyrogram:developfrom
elandorr:develop
Aug 21, 2020
Merged

fix for new format#446
delivrance merged 2 commits intopyrogram:developfrom
elandorr:develop

Conversation

@elandorr
Copy link
Copy Markdown
Contributor

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

elandorr and others added 2 commits July 27, 2020 17:32
This fixes the `AttributeError: 'PeerUser' object has no attribute 'channel_id'`.
Maybe we should also have a method to show nearby users?
Use isinstance instead of type
@delivrance delivrance merged commit ce0ddcd into pyrogram:develop Aug 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants