def start_vote_session(bot: Bot, update: Update, job_queue):
"""
Handles /new_vote command
:param bot:
:param update:
:param job_queue:
:return:
"""
chat_id = update.message.chat_id
job = Job(start_vote, 0, repeat=False, context=(chat_id, job_queue))
job_queue.put(job)
评论列表
文章目录