better-tg-cli 0.25.0 → 0.25.1
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 +3 -2
- package/README.ru.md +3 -2
- package/dist/telegram.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ that AI agents (Claude Code, Codex, …) can drive it cheaply and safely.
|
|
|
28
28
|
$ telegram inbox -n 3
|
|
29
29
|
48 unread in 7 chats (showing 3)
|
|
30
30
|
1234567890 user unread=2 Alice @alice | see you at 7?
|
|
31
|
-
-1001234567 supergroup muted unread=41 Rust
|
|
31
|
+
-1001234567 supergroup muted unread=41 Rust Seattle @rust_sea | anyone tried 1.90?
|
|
32
32
|
-1009876543 channel unread=5 Changelog | v2.4 is out
|
|
33
33
|
$ telegram read @alice -n 1 --json
|
|
34
34
|
{"chatTitle":"Alice","messages":[{"id":812,"date":"2026-09-27T10:02:11.000Z","sender":"Alice","senderId":"1234567890","text":"see you at 7?"}]}
|
|
@@ -159,7 +159,8 @@ telegram download "Chat" 812 # save the attached file
|
|
|
159
159
|
telegram sync --chat "Chat" --output ./export --resume # incremental markdown export
|
|
160
160
|
|
|
161
161
|
telegram write-access on --for 1h # a human confirms this
|
|
162
|
-
|
|
162
|
+
telegram send @alice "on my way"
|
|
163
|
+
printf '%s' "$text" | telegram send @alice - # long or multi-line text: from stdin, no quoting problems
|
|
163
164
|
telegram reply "Chat" 812 "on it" --silent
|
|
164
165
|
telegram click @SomeBot 4410 "Settings" # press an inline button
|
|
165
166
|
```
|
package/README.ru.md
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
$ telegram inbox -n 3
|
|
29
29
|
48 unread in 7 chats (showing 3)
|
|
30
30
|
1234567890 user unread=2 Алиса @alice | в 7 в силе?
|
|
31
|
-
-1001234567 supergroup muted unread=41 Rust
|
|
31
|
+
-1001234567 supergroup muted unread=41 Rust Seattle @rust_sea | кто уже пробовал 1.90?
|
|
32
32
|
-1009876543 channel unread=5 Changelog | вышла v2.4
|
|
33
33
|
```
|
|
34
34
|
|
|
@@ -159,7 +159,8 @@ telegram download "Чат" 812 # сохранить вложе
|
|
|
159
159
|
telegram sync --chat "Чат" --output ./export --resume # инкрементальная выгрузка в markdown
|
|
160
160
|
|
|
161
161
|
telegram write-access on --for 1h # подтверждает человек
|
|
162
|
-
|
|
162
|
+
telegram send @alice "уже еду"
|
|
163
|
+
printf '%s' "$text" | telegram send @alice - # длинный или многострочный текст: из stdin, без проблем с кавычками
|
|
163
164
|
telegram reply "Чат" 812 "беру" --silent
|
|
164
165
|
telegram click @SomeBot 4410 "Настройки" # нажать инлайн-кнопку
|
|
165
166
|
```
|