Base
Base module to track all the abstract classes for the history module.
- class BaseHistoryPlugin(config)[source]
Abstract base class for history
Constructor of the class.
- Parameters:
config (Config) – Instance of config.
- _abc_impl = <_abc._abc_data object>
- abstract clear(user_id)[source]
Abstract method to represent a clear operation
- abstract clear_from_chat(user_id, from_chat)[source]
Abstract method to represent a clear from chat operation
- abstract read(user_id)[source]
Abstract method to represent a read operation
- abstract read_from_chat(user_id, from_chat)[source]
Abstract method to represent a read operation from a specific chat