Skip to content

Fix type of enum ChatMemberStateChange#5

Merged
Armaldio merged 1 commit intoCynToolkit:mainfrom
LuanHimmlisch:hotfix/wrongTypeChatMemberStateChange
Mar 30, 2026
Merged

Fix type of enum ChatMemberStateChange#5
Armaldio merged 1 commit intoCynToolkit:mainfrom
LuanHimmlisch:hotfix/wrongTypeChatMemberStateChange

Conversation

@LuanHimmlisch
Copy link
Copy Markdown

I think you're converting the data from Rust to a JSON to pass it over to JS and it seems that implementation converts these enums to strings. Without explicitly adding those values in TS they get compiled to numbers.

@Armaldio Armaldio merged commit db05c2f into CynToolkit:main Mar 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants