Closed prtngn closed 6 months ago
I'l return extract_group
with deprecation Warning. And about extract_update_type and extract_message_type. I made them not so long ago, I don’t think many people use them? ) Maybe add something about breaking changes somewhere in README.md?
extract_update_type
and extract_message_type
was released on 0.40.0
, on May 2023, almost a year ago 😅
Let me think about it
This has three breaking changes:
extract_group
->extract_chat
extract_update_type
andextract_message_type
returns{:ok, _}
nowI'm not sure about making this changes, as it can lead to breaking bots with no clear way of fixing them without going to the library code, that's not something I want the library users to deal with.
I prefer either to keep it as it is right now, adding the missing matchs on
extract_group
, or keep the old methods behaviour, with a Logger warning, and adding a new ones with the new behaviour/naming.