Open EccoBlackfin opened 7 years ago
That would be not so easy. There are groups with 1000+ users. Besides, a list of offline users is of no use. I don't think the bot has access to the information who is online.
Could the http server be used to write a list of names when !names is called and then outputting link there to channel updating it whenever !names is called?
But what would be the point in doing for the channels like [t.me/wikipedia_zh] where there are 1800+ users? It is not impossible, but it is pointless.
I'd be willing to bet there are far more channels with under one hundred users than there are with 1800+. I know that all the channels I'm in(including the two that use this) there are between 20-50 users at any given time, and it's rather difficult to memorize people's telegram names when you need to ping them. For example, "Hey Mike!" would be fine on IRC, because Mike is the person's screenname. But on telegram, you'd have to say "Hey @thatonedudewiththehair4665!" in order to get a response out of them, since Mike is only the displayed name (plus, you'd still have to memorize that he joined the room six months ago). Knowing who you're talking to at any given time is an incredibly useful feature.
In the end, it will be a pointless bet -- there will be no way to obtain the stats, and it would create flooding issue on both the platforms.
I use this with the user api and not the bot api in telegram. I send a ".contacts
@ImTheDeveloper do you have this implemented in a fork, a different bot, or what? Currently missing that feature in teleirc :)
Have the bot respond to a request like !names (to keep it from interfering with IRC's commands), causing it to send a PM to the IRC user with a list of names of the users on Telegram.