Skip to content

Latest commit

聽

History

History
41 lines (30 loc) 路 1.88 KB

File metadata and controls

41 lines (30 loc) 路 1.88 KB

TgBotFramework

package licence

Lines of code

Make Telegram.Bot.Framework great again!

read Wiki for more details

Early state

there is nothing that is guarantied to work, but something definitely works ;)

Whats new?

This project targets .NET 5.0+ and there won`t be any support for Framework. So keep your stack updated =)

In this implementation you can get (at least) same pipeline experience as in Telegram.Bot.Framework but enchanted with:

#Short-term goals

  • Same pipeline processing for Longpolling, Webhook and testing.
  • Longpolling
  • Middlewares - special concept to separate update handling from updateContext configuration.
  • Attributes and some reflection magic to handle states and command handlers
  • Webhook
  • DB integration EF and MongoDB examples
  • Stages (stage and step) to describe user`s state. (yeah, state machine out of the box, at least in plans)
  • Roles - it is always needed to separate bot owner from others, right?
  • Localization out of the box
  • Auto add class to DI with scope from attribute

#Long-term goals

  • Dashboard (un plans: update rate, main exceptions, abilyti to add custom stats, for example number of updates by type/run time)
  • Better Logging
  • Fully tested (I wouldn't count on that one 馃槶)
  • Posibility to run update processing in parallel mode (and smart parallel mode)
  • Better EF support
  • Caching state/user info. (with EF)
  • Comments and refactorings