Telethon icon indicating copy to clipboard operation
Telethon copied to clipboard

Handle callable `from_users` for `NewMessage` events

Open mehdiirh opened this issue 1 year ago • 3 comments

mehdiirh avatar Sep 04 '24 17:09 mehdiirh

I'd prefer to avoid new features in v1. What would be the use case for this?

Lonami avatar Sep 04 '24 22:09 Lonami

Hi Retrieving eligible users dynamically from the database, instead of hard coding them. like admins

mehdiirh avatar Sep 07 '24 11:09 mehdiirh

Why not make the call directly? This PR doesn't support async, and after it's set, if it changes later, it won't re-fetch them either.

Lonami avatar Sep 07 '24 16:09 Lonami