(self)
| 210 | f"Message does not contain the minimum information required: {self.message!r}" |
| 211 | |
| 212 | def __getstate__(self): |
| 213 | state = super(MessageRemoval, self).__getstate__() |
| 214 | if state['source_channel'] is not None: |
| 215 | state['source_channel'] = state['source_channel'].channel_id |
| 216 | return state |
| 217 | |
| 218 | def __setstate__(self, state: Dict[str, Any]): |
| 219 | super(MessageRemoval, self).__setstate__(state) |
nothing calls this directly
no test coverage detected