report live statistics :param update: :param context: :return:
(self, update, context)
| 194 | ) |
| 195 | |
| 196 | def _report(self, update, context): |
| 197 | """ |
| 198 | report live statistics |
| 199 | :param update: |
| 200 | :param context: |
| 201 | :return: |
| 202 | """ |
| 203 | self.__chat_id = update.message.chat_id |
| 204 | if self._check_authorized(update, context): |
| 205 | context.bot.send_message( |
| 206 | chat_id=update.message.chat_id, text=self._live_report() |
| 207 | ) |
| 208 | |
| 209 | def _stop(self, update, context): |
| 210 | """ |
nothing calls this directly
no test coverage detected