HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

tgsend — Manage a Telegram account. See also: `tgcloud`, `tginfo`, `tgutil`. More information: <https://pypi.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandtelegramaccountclimanagetgsendseealso

Problem

How to use the tgsend command: Manage a Telegram account. See also: tgcloud, tginfo, tgutil. More information: <https://pypi.org/project/telegram-cloud/>.

Solution

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}}"

Code Snippets

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}}"

Context

tldr-pages: common/tgsend

Revisions (0)

No revisions yet.