vysheng / tg

telegram-cli
GNU General Public License v2.0
6.5k stars 1.54k forks source link

Send message to chat with a title containing several words #1645

Closed nautics889 closed 4 years ago

nautics889 commented 4 years ago

How to send message to peer that has several words in his name/it's title separated by spaces? I couldn't found existing topic with this issue, probably there is something related in readme, but i didn't manage to find. I tried to wrap name in quotes like this: msg 'Firstname Lastname' test but it didn't work.

ByteWoofer commented 4 years ago

Tab autocomplete revealed to me that spaces are automatically replaced with underscores.

For example:

Messaging a user "The Wolf" can be done by msg The_Wolf <message>