New version `0.36.0` has been released and it cont...
# tgbotapi
o
New version
0.36.0
has been released and it contains a lot of important changes: • As always, all deprecations have been removed • New packages for extensions 😊 now you may write
tgbotapi.api
instead
tgboatpi.extensions.api
and similarly for all other extensions. Old packages will be available until next major release • New keyboard DSL: say goodbye to
ReplyKeyboardMarkup(matrix { row { ... } })
and hello to
replyKeyboard { row { simpleButton("") } }
• New integration of FSM into Behaviour Builder in new package `tgbotapi.behaviour_builder.fsm`: in this realization taken attention for more closed work with FSM inside of telegram bots • New type
WithUser
. Now
FromUser
is extending
WithUser
and any tgbotapi type with user implements type
WithUser
. It is imortant, that constructors of classes-implementors of
FromUser
has changed their incoming parameters names from
user
to
from
due to renames inside of
FromUser
, but you still may use
user
field for
FromUser
objects Besides, I recommend you to read a small note about flows and changes of mechanisms inside of behaviour builder and full changelog if you want to know all news
K 1