You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+4
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ If you need help, or want to talk to the authors, feel free to chat with us at o
20
20
***Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
21
21
***Explain which behavior you expected to see instead and why.**
22
22
***If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
23
+
***Provide log related to the issue.** Use `python3 main.py -vv` to start the logging process, and submit the entire log from the first step you performed.
23
24
24
25
Provide more context by answering these questions:
25
26
@@ -32,6 +33,9 @@ Include details about your configuration and environment:
32
33
***What's the name and version of the OS you're using?**
33
34
***Which channel caused the problem?** Or did the framework cause it?
34
35
36
+
!!! attention
37
+
When submitting your log, please remember to hide your private information.
38
+
35
39
## Suggesting enhancements
36
40
37
41
If you have any suggestions, feel free to raise it up in the issue list. Please try to provide as much details as you can, that includes:
[](https://ehforwarderbot.readthedocs.io/en/dev/)
@@ -26,8 +28,9 @@ _Codename_ **EH Forwarder Bot** (EFB) is an extensible chat tunnel framework whi
26
28
## Feel like contributing?
27
29
Anyone is welcomed to raise an issue or submit a pull request, just remember to read through and understand the [contribution guideline](CONTRIBUTING.md) before you do so.
28
30
29
-
## Special thanks
30
-
*@clairvoyantegg for documentation refine.
31
+
## Related articles
32
+
*[EFB How-to: Send and Receive Messages from WeChat on Telegram (zh-CN)](https://blog.1a23.com/2017/01/09/EFB-How-to-Send-and-Receive-Messages-from-WeChat-on-Telegram-zh-CN/)
33
+
_(安装并使用 EFB:在 Telegram 收发微信消息)_
31
34
32
35
## License
33
36
EFB framework is licensed under [GNU General Public License 3.0](https://www.gnu.org/licenses/gpl-3.0.txt).
Copy file name to clipboardexpand all lines: docs/CONTRIBUTING.md
+1
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ If you need help, or want to talk to the authors, feel free to chat with us at o
20
20
***Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
21
21
***Explain which behavior you expected to see instead and why.**
22
22
***If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
23
+
***Provide log related to the issue.** Use `python3 main.py -vv` to start the logging process, and submit the entire log from the first step you performed.
23
24
24
25
Provide more context by answering these questions:
Copy file name to clipboardexpand all lines: docs/ETM.md
+12-4
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ In a nutshell, ETM offers the following commands, you can also send it to BotFat
78
78
79
79
```
80
80
link - Link a remote chat to a group.
81
+
unlink_all - Unlink all remote chats from a group.
81
82
chat - Generate a chat head.
82
83
recog - Recognize a speech by replying to it.
83
84
extra - Access extra functionalities.
@@ -99,6 +100,8 @@ extra - Access extra functionalities.
99
100
* Can read all messages send from the related remote chat;
100
101
* May NOT send message on your behalf.
101
102
103
+
Also, you can send `/unlink_all` to a group to unlink all remote chats from it.
104
+
102
105
### Send a message
103
106
#### Send to a linked chat
104
107
You can send message as you do in a normal Telegram chat.
@@ -193,7 +196,8 @@ it-IT | - | Italian
193
196
sv-SE | - | Swedish
194
197
195
198
## Known issues
196
-
* In rare cases, some messages may take 20 to 35 minutes to be delivered to user. (Upstream library [python-telegram-bot#364](https://github.com/python-telegram-bot/python-telegram-bot/issues/364))
199
+
* In rare cases, some messages may take 20 to 35 minutes to be delivered to user. (Upstream library [python-telegram-bot#364](https://github.com/python-telegram-bot/python-telegram-bot/issues/364), said to be fixed in version 6.)
200
+
* Too often invitation of the bot to groups will trigger Telegram's anti-spam mechanism. If you see "Could not add user, please try again later", you really need to "try again later". No joking.
197
201
198
202
## Experimental flags
199
203
The following flags are experimental features, may change, break, or disappear at any time. Use at your own risk.
@@ -209,10 +213,14 @@ eh_telegram_master = {
209
213
}
210
214
```
211
215
212
-
*`no_conversion`_(bool)_[Default: False]
216
+
*`no_conversion`_(bool)_[Default: `False`]
213
217
Disable audio conversion, send all audio file as is, and let Telegram to handle it.
214
-
*`join_msg_threshold_secs`_(int)_[Default: 15]
218
+
*`join_msg_threshold_secs`_(int)_[Default: `15`]
215
219
Threshold in seconds for message joining. Messages sent from the same person from the same chat between the threshold time will be joined together.
216
220
_Only works in linked chats._
217
-
*`chats_per_page`_(int)_[Default: 10]
221
+
*`chats_per_page`_(int)_[Default: `10`]
218
222
Number of chats shown in when choosing for `/chat` and `/link` command. An overly large value may lead to malfunction of such commands.
223
+
*`text_as_html`_(bool)_[Default: `False`]
224
+
Parse all text messages as Telegram HTML. Tags supported: `a`, `b`, `strong`, `i`, `em`, `code`, `pre`.
225
+
*`multiple_slave_chats`_(bool)_[Default: `False`]
226
+
Link more than one remote chat to one Telegram group. Send and reply as you do with an unlinked chat.
Copy file name to clipboardexpand all lines: docs/EWS.md
+12-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# EFB WeChat Slave Channel
2
2
3
-
EFB WeChat Slave Channel is a slave channel for EFB based on [ItChat](https://github.com/littlecodersh/ItChat) and WeChat Web <spanstyle="font-size: 0.5em;">(rev.eng.)</span> API.
3
+
EFB WeChat Slave (EWS) is a slave channel for EFB based on [ItChat](https://github.com/littlecodersh/ItChat) and WeChat Web <spanstyle="font-size: 0.5em;">(rev.eng.)</span> API.
4
4
5
5
## Specs
6
6
* Unique name: `eh_wechat_slave`
@@ -92,5 +92,15 @@ eh_wechat_slave = {
92
92
}
93
93
```
94
94
95
-
*`refresh_friends`_(bool)_[Default: False]
95
+
*`refresh_friends`_(bool)_[Default: `False`]
96
96
Always refresh chat lists when asked. (Except from the extra function.)
97
+
*`uid_order`_(list of str)_[Default: `["NickName"]`]
98
+
Fallback order of resolving `uid` from WeChat user info. Highest priority goes to index 0. The list **MUST** be non empty with only values below, and the last element associate to a rather stable and available value for most chats, if not all of them.
99
+
Available values: _(U, G, M means the value is available to users, groups, and group members respectively)_
100
+
*`"NickName"`: [UGM] Name of the user/group
101
+
*`"alias"`: [UM] Alias of the user
102
+
*`"uin"`: [UG] WeChat Unique Identifier for all chats, **Not always available**.
[](https://ehforwarderbot.readthedocs.io/en/dev/)
@@ -36,8 +36,9 @@ _Codename_ **EH Forwarder Bot** (EFB) is an extensible chat tunnel framework whi
36
36
## Feel like contributing?
37
37
Anyone is welcomed to raise an issue or submit a pull request, just remember to read through and understand the [contribution guideline](CONTRIBUTING.md) before you do so.
38
38
39
-
## Special thanks
40
-
*@clairvoyantegg for documentation refine.
39
+
## Related articles
40
+
*[EFB How-to: Send and Receive Messages from WeChat on Telegram (zh-CN)](https://blog.1a23.com/2017/01/09/EFB-How-to-Send-and-Receive-Messages-from-WeChat-on-Telegram-zh-CN/)
41
+
_(安装并使用 EFB:在 Telegram 收发微信消息)_
41
42
42
43
## License
43
44
EFB framework is licensed under [GNU General Public License 3.0](https://www.gnu.org/licenses/gpl-3.0.txt).
0 commit comments