How can I mention Telegram users without a username?
问题 I want mention users even those which d o not have a username . If a user has set up a username I return Hi @username as an answer but if a user does not have one I can't do that. I tried using the unique User ID e.g. @5642166 but that did not work. How can I achieve that? 回答1: According to official documentation it is possible to mention user by its numerical id with markup: Markdown style To use this mode, pass Markdown in the parse_mode field when using sendMessage . Use the following