Commands for telegram-cli
@telegram
Call with telegram-cli.
If you want to use message ids (for deleting messages etc.), use telegram-cli -N.
For permanent-peer-ids: add --permanent-peer-ids.
Thought this would be useful, but it actually uses unreadable hashes.
I made a bash alias:
alias tg='telegram-cli -N'
- Show commands:
TAB TAB - Show contacts:
contact list - Show open conversations:
dialog list - More detailed help:
help [command] - Send message:
msg [peer] [text] - Chat history:
history [peer] [number of lines]
Documentation and info
See:
https://github.com/vysheng/tg/wiki/Telegram-CLI-Commands