(self)
| 33 | raise NotImplementedError() |
| 34 | |
| 35 | def __getstate__(self): |
| 36 | state = self.__dict__.copy() |
| 37 | if state['destination_channel'] is not None: |
| 38 | state['destination_channel'] = state['destination_channel'].channel_id |
| 39 | return state |
| 40 | |
| 41 | def __setstate__(self, state: Dict[str, Any]): |
| 42 | self.__dict__.update(state) |
no test coverage detected