@@ -166,7 +166,8 @@ def run_once(self, callback, when, context=None, name=None):
166166 name (Optional[str]): The name of the new job. Defaults to ``callback.__name__``
167167
168168 Returns:
169- Job: The new ``Job`` instance that has been added to the job queue.
169+ telegram.ext.jobqueue.Job: The new ``Job`` instance that has been added to the
170+ job queue.
170171
171172 """
172173 job = Job (callback , repeat = False , context = context , name = name , job_queue = self )
@@ -201,7 +202,8 @@ def run_repeating(self, callback, interval, first=None, context=None, name=None)
201202 name (Optional[str]): The name of the new job. Defaults to ``callback.__name__``
202203
203204 Returns:
204- Job: The new ``Job`` instance that has been added to the job queue.
205+ telegram.ext.jobqueue.Job: The new ``Job`` instance that has been added to the
206+ job queue.
205207
206208 """
207209 job = Job (callback ,
@@ -228,7 +230,8 @@ def run_daily(self, callback, time, days=Days.EVERY_DAY, context=None, name=None
228230 name (Optional[str]): The name of the new job. Defaults to ``callback.__name__``
229231
230232 Returns:
231- Job: The new ``Job`` instance that has been added to the job queue.
233+ telegram.ext.jobqueue.Job: The new ``Job`` instance that has been added to the
234+ job queue.
232235
233236 """
234237 job = Job (callback ,
@@ -366,7 +369,7 @@ class Job(object):
366369 job runs
367370 repeat (bool): If the job runs periodically or only once
368371 name (str): The name of this job
369- job_queue (JobQueue): The ``JobQueue`` this job belongs to
372+ job_queue (telegram.ext. JobQueue): The ``JobQueue`` this job belongs to
370373 enabled (bool): Boolean property that decides if this job is currently active
371374
372375 Args:
0 commit comments