Skip to content

v0.23.1

Choose a tag to compare

@MartinHerrera69 MartinHerrera69 released this 19 Oct 21:16
· 36 commits to production since this release
Immutable release. Only release title and notes can be modified.
98f6e84

Patch over v0.23.0. Consumers should pin this one, not v0.23.0.

Changes

  • fix(funapi): editMessage() refuses instead of posting a duplicate message (#92) — v0.23.0 was the first tag carrying the editMessage() added in #86, and FunapiClient extends ZApiClient, so funapi inherited it. That implementation is sendText() carrying editMessageId, a key funapi's sendText() override never reads: an edit left as a plain send-text, posting a second message to the chat and answering with the normal success resource. whatsgo has no text edit at all (OpenAPI v3.112.5: no editMessageId anywhere; send-edit-event edits an event).

Note for callers that probe with method_exists()

The method is declared, it just refuses — so method_exists() still answers true and funapi stays on any provider list built that way (communities' WapiSentMessageEditor). The call now returns ['error' => …] instead of duplicating. Dropping funapi from that list is the consumer's decision.

Suite

357 tests, 484 assertions, 10 failures — all in MetaClientBsuidTest, the pre-existing stale /v20.0/ assertions. Unchanged from v0.22.7.