s/ICap/IBaseCap and add constants
This commit is contained in:
parent
09d283052b
commit
45ffb0fe7d
11 changed files with 49 additions and 27 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
import datetime
|
||||
|
||||
from .cap import ICap
|
||||
from .base import IBaseCap
|
||||
|
||||
|
||||
__all__ = ['ChatException', 'ICapChat']
|
||||
|
|
@ -36,7 +36,7 @@ class ChatMessage(object):
|
|||
self.date = datetime.datetime.utcnow() if date is None else date
|
||||
|
||||
|
||||
class ICapChat(ICap):
|
||||
class ICapChat(IBaseCap):
|
||||
def iter_chat_messages(self, _id=None):
|
||||
raise NotImplementedError()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue