Skip to content

Commit 6522620

Browse files
committedMar 7, 2017
Commit 1
1 parent b55dda8 commit 6522620

26 files changed

+913
-328
lines changed
 

‎Untitled

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
1.6.0: Thanks to the donations from an anonymous EFB user and zong meng.
2+
3+
# Notice
4+
* ETM: Backup your database (`plugins/eh_telegram_master/tgdata.db`) before upgrading.
5+
6+
# EFB framework
7+
* New required method for slave channels: `get_chat`
8+
9+
# EFB Telegram Master
10+
* Add detailed error dispatching mechanism
11+
* Add mute feature
12+
* Enhancements on multiple remote chat linking
13+
* Multiple remote chat linking is now enabled by default. (Flag `multiple_slave_chats` now has a default value of `True`.)
14+
* New command: `/info` — show information about the current Telegram conversation.
15+
16+
# EFB WeChat Slave
17+
* New flag: `imgcat_qr` — Render QR code in terminal in [iTerm's Image Protocol](https://www.iterm2.com/documentation-images.html).

‎channel.py

-279
This file was deleted.

‎docs/API/channel.rst

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
EFBChannel
2+
==========
3+
4+
This is the documentation for a EFB :term:`Channel`.
5+
6+
.. autoclass:: ehforwarderbot.channel.EFBChannel
7+
:members:

‎docs/API/chat.rst

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
EFBChat
2+
=======
3+
.. autoclass:: ehforwarderbot.chat.EFBChat
4+
:members:

‎docs/API/constants.rst

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Constants
2+
=========
3+
4+
.. automodule:: ehforwarderbot.constants
5+
:members:
6+
:undoc-members:

‎docs/API/index.rst

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
API Documentations
2+
==================
3+
4+
.. toctree::
5+
:glob:
6+
7+
*

‎docs/API/message.rst

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
EFBMsg
2+
======
3+
.. autoclass:: ehforwarderbot.message.EFBMsg
4+
:members:

‎docs/channel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Returns a `list` of `dict`s for available chats in the channel. Each `dict` shou
7676
"name": "Name of the chat",
7777
"alias": "Alternative name of the chat (alias, nickname, remark name, contact name, etc)", # None if N/A
7878
"uid": "Unique ID of the chat",
79-
"type": MsgSource.User # or MsgSource.Group
79+
"type": ChatType.User # or ChatType.Group
8080
}
8181
```
8282

0 commit comments

Comments
 (0)
Please sign in to comment.