Skip to content

Telegram Bot for ThePressProject (TPP) and other news sites

This bot allows you to get the news titles of the supported sites on Telegram.

It either gets the rss feed or scrapes the sites for news.

The primary motivation for creating it was to have news served at scheduled times.

Commands

First encounter
/start

start_gif

Choose your preferred language: Either Greek or English
/lang[uage]

lang_gif

Prints the help message
/help

help_gif

For TPP

Search on TPP based on a keyword
/s[earch]

Examples

  • /search BIOME
  • /s Ελλάδα

s_biome_gif

Get the latest news of a category
/c[ategory]

Supported categories

  • News[room]
  • Gre[ece]
  • Pol[itics]
  • Eco[nomy]
  • Inter[national]
  • Repo[rtage]
  • Ana[lysis]
  • Cul[ture]
  • Anas[kopisi]
  • [tpp.]radio
  • [tpp.]tv
  • [Eng]lish
  • Examples
    • /category Newsroom
    • /c Politics
    • /c news

c_news_gif

RSS-feed based functions

Just add a slash / in front of the supported news sites to get the latest news. Of course, there are short versions, there is no need to type the full name. Only lowercase names are allowed.

The functions are case-sensitive.

Supported sites

kontra_gif

Scheduling

You can schedule your news delivery.

Schedule RSS based functions
/sch[edule] <news command> <interval>
  • Interval should be either an integer representing days or a string indicating the names of the days
  • Valid integer days: 1 to infinity
  • Valid string days: mon, tue, wed, thu, fri, sat, sun
  • Examples:
    • /sch ert 1
    • /sch ert mon-fri
Schedule search
/sch[edule] search <search term> <interval>
  • search term is any term that you want to get news for
  • Interval should be either an integer representing days or a string indicating the names of the days
  • Valid integer days: 1 to infinity
  • Valid string days: mon, tue, wed, thu, fri, sat, sun
  • Examples:
    • /sch search ΒΙΟΜΕ ert mon-fri
    • /sch search ΒΙΟΜΕ ert 1
Schedule category news
/sch[edule] category <category> <interval>
  • category is a valid category of /category.
  • Interval should be either an integer representing days or a string indicating the names of the days
  • Valid integer days: 1 to infinity
  • Valid string days: mon, tue, wed, thu, fri, sat, sun
  • Examples:
    • /sch category news ert 1
    • /sch category news ert mon-fri
Fetch all your active schedules
/mysch[edule]

The bot sends you back your schedules

Deletes a particular schedule
/del[ete]

This function works only if you reply at a message which contains a particular schedule from /mysch.

Deletes all your schedules
/del[ete]all

Erases every saved schedule that you had.

Deletes all your saved info including your schedules
/deleteme

This functions deletes all your saved info including your schedules. If you reply to the bot anytime after invoking /deleteme, it will save again your telegram name and user id.