Skip to content

JamesTiberiusKirk/tgf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Framework (tgf)

This is an opinionated wrapper framework for telegram-bot-api. With the goal of building telegram bots with journeys in mind

Journeys

A journey in this case is a term borrowed from the web world where a user could start a journey of navigating through a certain set of pages (e.g. clicks buy -> checkout -> address form page -> banking info form page -> thank you for purchase) So in this case we are building journeys for telegram commands where you can chain handlers together in an array and have the user navigate from handler to handler.

TODOs:

  • [ ]Support for webhooks
  • [ ]Add support for global middleware
    • [ ]Pre handler call
    • [ ]Post handler call
    • [ ]Pre journey
    • [ ]Post journey

Example bots

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages