better-tg-cli 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +89 -184
- package/SKILL.md +1 -1
- package/dist/telegram.mjs +1 -1
- package/package.json +5 -4
- package/reference.md +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-tg-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Unofficial agent-friendly Telegram client for the command line (MTProto, layer 229)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/telegram.mjs",
|
|
@@ -40,12 +40,13 @@
|
|
|
40
40
|
"url": "https://github.com/TheVilfer/better-tg-cli/issues"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/node": "^
|
|
43
|
+
"@types/node": "^26.6.2",
|
|
44
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
44
45
|
"big-integer": "^1.6.52",
|
|
45
|
-
"commander": "^
|
|
46
|
+
"commander": "^15.0.0",
|
|
46
47
|
"teleproto": "^1.229.0",
|
|
47
48
|
"tsx": "^4.23.15",
|
|
48
|
-
"typescript": "
|
|
49
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
49
50
|
"vitest": "^5.0.2"
|
|
50
51
|
},
|
|
51
52
|
"engines": {
|
package/reference.md
CHANGED
|
@@ -106,7 +106,12 @@ Buttons that need 2FA take `--password`. `--no-wait` skips waiting for the bot's
|
|
|
106
106
|
|
|
107
107
|
`me` / `self` / `saved` / `Saved Messages` / `Избранное` → your Saved Messages. A numeric ID must
|
|
108
108
|
exactly match a dialog ID (the `id` from `chats`). `@username` resolves exactly. Anything else
|
|
109
|
-
matches titles
|
|
109
|
+
matches titles.
|
|
110
|
+
|
|
111
|
+
- **Reads:** an exact title first, then a substring.
|
|
112
|
+
- **Writes** (every command gated by write access) accept only an exact, unique title. A substring
|
|
113
|
+
or a title shared by several chats is refused with up to 5 candidates (`id type title @username`).
|
|
114
|
+
Retry with the ID.
|
|
110
115
|
|
|
111
116
|
## Troubleshooting
|
|
112
117
|
|