Create a basic custom.Conversation

This commit is contained in:
Lonami Exo
2018-08-03 17:51:56 +02:00
parent 60c61181d9
commit 785ef7676f
5 changed files with 403 additions and 0 deletions

View File

@@ -272,6 +272,7 @@ class TelegramBaseClient(abc.ABC):
self._event_builders = []
self._events_pending_resolve = []
self._event_resolve_lock = asyncio.Lock()
self._conversations = {}
# Keep track of how many event builders there are for
# each type {type: count}. If there's at least one then