Files
Yudhi Armyndharis aaeb5bb5af fix(sdk): declare media mentions in Go/Python/Java and gate numeric enums
The request-type gate expansion left two gaps its own review found:

mentions on media/audio sends existed only in the JS client's types -
Go and Python declared it for text sends only, Java for text only
too, so a Go/Python/Java caller could not type-safely @mention on a
media send even though the DTO accepts it (and the merged PR's claim
that the others already had it was wrong). Add the field to all three
(SendAudioRequest inherits from SendMediaRequest in each).

The font-union adjudication passed the gate vacuously: numeric unions
never matched the quoted-literal enum path, and isSimpleToken excluded
union(...) tokens, so ANY numeric union compared equal. The token
builders now recognize unquoted numeric literals and both sides sort
enum members numerically when every member is numeric - renaming one
font member fails the gate (verified).

Also adds the missing transport tests for deleteProfilePicture in all
five clients (the SDKs' documented standard: every method asserts the
precise URL, method and body against a mocked transport).
2026-08-17 11:36:39 +07:00
..