commit
This commit is contained in:
parent
be4fd23bcf
commit
0bd53741af
728 changed files with 86573 additions and 0 deletions
12
node_modules/telegraf/typings/future.d.ts
generated
vendored
Normal file
12
node_modules/telegraf/typings/future.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
import Context from './context';
|
||||
import { Middleware } from './middleware';
|
||||
/**
|
||||
* Sets up Context to use the new reply methods.
|
||||
* This middleware makes `ctx.reply()` and `ctx.replyWith*()` methods will actually reply to the message they are replying to.
|
||||
* Use `ctx.sendMessage()` to send a message in chat without replying to it.
|
||||
*
|
||||
* If the message to reply is deleted, `reply()` will send a normal message.
|
||||
* If the update is not a message and we are unable to reply, `reply()` will send a normal message.
|
||||
*/
|
||||
export declare function useNewReplies<C extends Context>(): Middleware<C>;
|
||||
//# sourceMappingURL=future.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue