avoid messages sent by admins but I'm worried of high traffic that it might check everyone and do a call.
You can't. must cache admins them beforehand once, then regularly with triggered refresh by the user
What's the best way to cache? get_participants or get_permissions?
Cheapest doesn't matter. on the long term the get_participants is more consistent, and in batch, so take a cooldown for a while after reach caching
Обсуждают сегодня