Closed HeySreelal closed 6 months ago
Bot.fromAPI
RawAPI
Bot.command
Bot.text
Bot.hears
chatId
Bot.shippingQuery
Bot.preCheckoutQuery
ScopeOptions
ScopeOptions.forked
ScopeOptions.customPredicate
Dart 3.0.0
Bot.removeScope
ScopeOption
1.15.10
Bot.fromAPI
constructor for creating Bot instance fromRawAPI
instance.Bot.command
,Bot.text
,Bot.hears
, and many more methods now listens to all Message types (Message, Channel Posts, and edited messages of both)chatId
parameter toBot.shippingQuery
andBot.preCheckoutQuery
.ScopeOptions
class that can contain additional info for handler scope.ScopeOptions.forked
to create forked handlers. Forked handlers are run without conditions.ScopeOptions.customPredicate
can be used to set a middleware to check if the update should be processed or skipped.Dart 3.0.0
Bot.removeScope
can be used to remove already set handlers.ScopeOption
on both menus as well.