@@ -13,7 +13,7 @@ pip install ipush
1313- ** 钉钉群**
1414
1515``` python
16- from ipush.notify.dingtalk import Dingtalk
16+ from ipush import Dingtalk
1717
1818notify = Dingtalk(" token" , " secret" )
1919notify.send(" ipush test" )
@@ -22,7 +22,7 @@ notify.send("ipush test")
2222- ** 飞书群**
2323
2424``` python
25- from ipush.notify.feishu import Feishu
25+ from ipush import Feishu
2626
2727notify = Feishu(" token" , " secret" )
2828notify.send(" ipush test" )
@@ -31,7 +31,7 @@ notify.send("ipush test")
3131- ** Lark 群**
3232
3333``` python
34- from ipush.notify.lark import Lark
34+ from ipush import Lark
3535
3636notify = Lark(" token" , " secret" )
3737notify.send(" ipush test" )
@@ -40,7 +40,7 @@ notify.send("ipush test")
4040- ** Bark**
4141
4242``` python
43- from ipush.notify.bark import Bark
43+ from ipush import Bark
4444
4545notify = Bark(" token" )
4646notify.send(" ipush test" , " title" )
@@ -51,7 +51,7 @@ notify.send("ipush test custom url")
5151- ** Chanify**
5252
5353``` python
54- from ipush.notify.chanify import Chanify
54+ from ipush import Chanify
5555
5656notify = Chanify(" token" )
5757notify.send(" ipush test" )
@@ -62,7 +62,7 @@ notify.send("ipush test custom url")
6262- ** PushDeer**
6363
6464``` python
65- from ipush.notify.pushdeer import PushDeer
65+ from ipush import PushDeer
6666
6767notify = PushDeer(" token" )
6868notify.send(" ipush test" )
@@ -73,7 +73,7 @@ notify.send("ipush test custom url")
7373- ** PushPlus**
7474
7575``` python
76- from ipush.notify.pushplus import PushPlus
76+ from ipush import PushPlus
7777
7878notify = PushPlus(" token" )
7979notify.send(" ipush test" , " title" )
@@ -82,7 +82,7 @@ notify.send("ipush test", "title")
8282- ** Showdoc**
8383
8484``` python
85- from ipush.notify.showdoc import Showdoc
85+ from ipush import Showdoc
8686
8787notify = Showdoc(" token" )
8888notify.send(" ipush test" , " title" )
@@ -91,8 +91,19 @@ notify.send("ipush test", "title")
9191- ** Xizhi**
9292
9393``` python
94- from ipush.notify.xizhi import Xizhi
94+ from ipush import Xizhi
9595
9696notify = Xizhi(" token" )
9797notify.send(" ipush test" , " title" )
9898```
99+
100+ - ** Telegram**
101+
102+ ``` python
103+ from ipush import Telegram
104+
105+ notify = Telegram(" token" )
106+ notify.send(" ipush test" , " chat_id" )
107+ notify.seturl(" https://self-hosted" )
108+ notify.send(" ipush test custom url" )
109+ ```
0 commit comments