UserName from fragment )
For example if I get participants of a group if they have some username like @firend and @dearFarshad I can get them in a list but what should I do for channel ?
The same thing? Channel object has .usernames same as User, or you mean list purchasd usernames
I mean channel purchased usernames list
get_entity(channel).usernames should have what you want.
Thank you very much 🤩
Can I do it with a bot ?with https://core.telegram.org/method/channels.updateUsername
only the owner can set usernames, and fragment ones need toggleUsername, not that
Can you help me with channel id instead of channel? #question2 I want to get all the fragment usernames connected to the channel, is it possible to do this?
1- it's the same thing. get_entity(channel_id or username).usernames 2- same above, .usernames (with 's', hash is the collectable usernames)
Обсуждают сегодня