Files
cheatsheet-tldr/tldr/tgsend
2025-10-19 00:22:04 +00:00

19 lines
507 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# tgsend
> Manage a Telegram account.
> See also: `tgcloud`, `tginfo`, `tgutil`.
> More information: <https://pypi.org/project/telegram-cloud/>.
- Send a message to a chat:
`tgsend {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} "{{message}}"`
- Send a message to chat with silent notification:
`tgsend {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} --silent "{{message}}"`