yep, that's options number 2 🙂
I will implement that
Why not give an option to provide their user name and then convert it in the code?
Hi @<1523701842515595264:profile|PleasantOwl46> , In the info section you can see the user name but not ID (However it is returned in the API request the webUI sends)
What is your use case?
I manage clearml-server for many users
wrote a script that pulls tasks (for review - pending deletion) and limit for specific user (saw the REST can limit only by user id
)
so user will need to provide the script his own user id
in advance
I guess my options are:
- maintain stastic list of users (which I get from
users.get_all
endpoint) - add to my script another query that will match user name to user id, before running the
tasks_get.all
for specific userid