Templates · Placeholders
%USERID% #
User id (number); or the sender-chat id when the message is sent on behalf of a group/channel.
%USERNAME% #
The username without @ (empty if the user has none).
%NAME% #
Display name (first + last name).
%MENTION% #
A clickable mention of the user (HTML link to the profile).
%NAMEMENTION% #
Same as %MENTION%, but the visible text is always the person name, even when they have a username — %MENTION% would show «@username» there. A suspicious name is replaced with «id<number>», same as everywhere else.
%CHATURL% #
A link to the chat/channel. For join-request templates this is the chat the user is being accepted into.