supertelegram 0.3.0 → 0.3.2

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.
Files changed (2) hide show
  1. package/README.md +7 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  telegram cli for ai to read/write messages using gramjs.
4
4
 
5
+ > **warning:** don't use this to send spam or abuse the telegram api. your account can get banned.
6
+
5
7
  ## installation
6
8
 
7
9
  ```bash
@@ -32,6 +34,7 @@ that's it! now you're ready to use telegram from the cli.
32
34
  ```bash
33
35
  # send a message
34
36
  telegram send @username "hello there"
37
+ telegram send "me" "note to self" # use "me" for saved messages
35
38
 
36
39
  # read messages (shows [photo], [video], [file] indicators)
37
40
  telegram read @username 10
@@ -51,12 +54,12 @@ telegram dialogs 10
51
54
  ```bash
52
55
  # send a file with optional caption
53
56
  telegram send-file @username photo.jpg
54
- telegram send-file @username video.mp4 "check this out!"
57
+ telegram send-file "me" video.mp4 "check this out!"
55
58
 
56
59
  # download media from a message
57
60
  # (use 'read' command to get message IDs)
58
61
  telegram download @username 12345 ./downloaded.jpg
59
- telegram download @username 12346 # auto-named file
62
+ telegram download "me" 12346 # auto-named file
60
63
  ```
61
64
 
62
65
  ### config
@@ -98,8 +101,8 @@ telegram send @friend "hey" --session ./custom.txt
98
101
 
99
102
  clone repo and install:
100
103
  ```bash
101
- git clone https://github.com/caffeinum/telegram-cli.git
102
- cd telegram-cli
104
+ git clone https://github.com/caffeinum/supertelegram.git
105
+ cd supertelegram
103
106
  bun install
104
107
  ```
105
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supertelegram",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "telegram cli for humans and bots",
5
5
  "module": "index.ts",
6
6
  "type": "module",