Send Telegram Message
Send a message from your personal Telegram account (not a bot) via MTProto.
Preflight
Before sending, verify:
- Session exists at
~/.local/share/telethon/<profile>.session- If missing, run
/tlg:setupfirst
- If missing, run
- 1Password CLI available:
op --version
Usage
/usr/bin/env bash << 'SEND_EOF'
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/tlg}"
# Default profile (eon)
uv run --python 3.13 "$PLUGIN_DIR/scripts/send.py" send @username "Hello"
# By chat ID
uv run --python 3.13 "$PLUGIN_DIR/scripts/send.py" send 2124832490 "Hello"
# Specific profile
uv run --python 3.13 "$PLUGIN_DIR/scripts/send.py" -p missterryli send @username "Hello"
SEND_EOF
Profiles
| Profile | Account | User ID |
| --------------- | ------------------ | ---------- |
| eon (default) | @EonLabsOperations | 90417581 |
| missterryli | @missterryli | 2124832490 |
Parameters
| Parameter | Type | Description |
| -------------- | ---------- | ----------------------------------------------------------- |
| -p/--profile | string | Account profile (default: eon) |
| recipient | string/int | Username (@user), phone (+1234567890), or chat ID (integer) |
| message | string | Message text (cannot be empty) |
Error Handling
| Error | Cause | Fix |
| ------------------------- | ------------------- | ----------------------------- |
| Unknown profile | Invalid -p value | Use eon or missterryli |
| Cannot find any entity | Bad username/ID | Verify with dialogs command |
| message cannot be empty | Empty string passed | Provide message text |