Repository navigation
v0.23.1
·
36 commits
to production
since this release
Immutable
release. Only release title and notes can be modified.
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.0was the first tag carrying theeditMessage()added in #86, andFunapiClient extends ZApiClient, so funapi inherited it. That implementation issendText()carryingeditMessageId, a key funapi'ssendText()override never reads: an edit left as a plainsend-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: noeditMessageIdanywhere;send-edit-eventedits 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.