stav / kingbot

Deno CLI trading robot
https://stav.github.io/kingbot/
2 stars 0 forks source link

Telegram Integration #2

Closed stav closed 2 years ago

stav commented 2 years ago

The bot should be able to:

  1. login as a user (or a bot)
  2. listen to any chat the user is a member of
  3. parse messages for specific patterns
  4. create orders for selected exchanges

There are few ways to connect to Telegram:

GramJS is not a viable option as the hack is not reliable.

There are a few service configurations:

stav commented 2 years ago

On February 10th the decision was made to write a Telethon micro-service in Python which communicates via HTTP.

The JunctionBot will also be used (in the beginning) to allow forwarding of any channels that use "Protected Content".

stav commented 2 years ago

If we can write our own JunctionBot then we can get rid of the client/server architecture and just use Grammy.

stav commented 2 years ago

Merged 4e61adb