telegram_bot/main.py
def blog_update(context: CallbackContext) -> None:
    """Check if there is an update on the feed and notifies it."""
    job = context.job
    new_posts, my_text = get_rss_feed()
    if new_posts:
        context.bot.send_message(job.context, text=my_text)
Check if there is an update on the feed and notifies it.
Check if there is an update on the feed and notifies it.
Check if there is an update on the feed and notifies it .
def blog_update(context: CallbackContext) -> None:
    job = context.job
    new_posts, my_text = get_rss_feed()
    if new_posts:
        context.bot.send_message(job.context, text=my_text)
def blog_update ( context : CallbackContext ) -> None : job = context . job new_posts , my_text = get_rss_feed ( ) if new_posts : context . bot . send_message ( job . context , text = my_text )
Check if there is an update on the feed and notifies it.
Check if there is an update on the feed and notifies it .
"""Check if there is an update on the feed and notifies it."""
context
CallbackContext