Getting the user id of a username via plugin
I'm currently working on an example plugin and I would like to basically know the userid of a given mentioned username.
So for example, if a user comments and says 'Hey @someusername how are you?' I would like to find out the userid of 'someusername' via my plugin.
I can't seem to find any relevant method under
Userthat will allow me to get this info.
Thank you! @Giggiux