Naltox / telegram-node-bot

Node module for creating Telegram bots.
MIT License
721 stars 143 forks source link

Added ParamCommand class #127

Closed GiovanniCardamone closed 3 years ago

GiovanniCardamone commented 7 years ago

This pull is intented for add missing Parameter command in lib.

for register new parameter command route in router:

tg.router.when(
    new ParamCommand('command','handler','param1name','param2name'[, 'paramNname']),
    new SomeController()
)

and are saved in $.param.theUsedName scope