To add an in-line or comment mention, type @ followed by the name or email address of the workspace member or guest.
Currently, it’s not possible to mention teams, just individuals.
Guests can be mentioned in comments, but not in-line mentions.
Note: To mention someone in a comment they must have access to the file — In contrast, you can mention someone in-line regardless of their access to the specific file.