Skip to content

Commit

Permalink
Update index.d.ts (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere authored and dotcypress committed Jun 19, 2018
1 parent ce5a3dd commit cb5060a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions typings/index.d.ts
Expand Up @@ -727,6 +727,12 @@ export class Composer<C extends ContextMessageUpdate> {
*/
start(middleware: Middleware<C>, ...middlewares: Array<Middleware<C>>): Composer<C>

/**
* Registers middleware for handling callback_data actions on help.
* @param middlewares Middleware functions
*/
help(middleware: Middleware<C>, ...middlewares: Array<Middleware<C>>): Composer<C>

/**
* Compose middlewares returning a fully valid middleware comprised of all those which are passed.
* @param middlewares Array of middlewares functions
Expand Down

0 comments on commit cb5060a

Please sign in to comment.