MCPcopy Index your code
hub / github.com/InstaPy/InstaPy / _report

Method _report

instapy/plugins/telegram_util.py:196–207  ·  view source on GitHub ↗

report live statistics :param update: :param context: :return:

(self, update, context)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 3

_check_authorizedMethod · 0.95
_live_reportMethod · 0.95
send_messageMethod · 0.80

Tested by

no test coverage detected