Closed HeySreelal closed 4 months ago
Middleware
Transformer
RawAPI
use
Bot
Context
Context.middlewareStorage
Map<String, dynamic>
Bot.onStop
Webhook.certificate
1.19.0
Middleware
class to create a middleware.Transformer
class to create a transformer.RawAPI
which then can alter the request payload.use
method onBot
,Context
andRawAPI
to attach middlewares.Context.middlewareStorage
as aMap<String, dynamic>
to store any output from middleware functions.Bot.onStop
method can now be asynchronous. #257 (Thanks to @devsdocs)Webhook.certificate
is changed to InputFile as described by the official documentation.