telegramlib.is_daily_job_scheduled

telegramlib.is_daily_job_scheduled(function, hour, minute)[source]

Tells whether a given user’s daily job is scheduled or not.

Parameters:
  • function (Callable) – Scheduled function of daily job.

  • hour (int) – Scheduled hour of daily job.

  • minute (int) – Scheduled minute of daily job.

Returns:

True if the function is scheduled at the given hour and minute, False otherwise.

Return type:

bool