Breaking changes:
- Remove low-level
peerChannel
,peerChat
,peerUser
constructors everywhere from the API, replacing them with bot API IDs (integers). - Remove legacy
to_id
field from legacy raw updates (the new SimpleEventHandler API has not changed, because it's covered by the backwards compatibility promise, unlike legacy raw updates)
Features:
- Add a
getDiscussion
method to ChannelMessage to obtain the comment section of a post as aGroupMessage
. - Document the built-in ORM: https://docs.madelineproto.xyz/docs/UPDATES.html#built-in-orm
Fixes:
- Fix update gap handling, broken in the v7->v8 update due to changed resume semantics in danog/loop.