Skip to content

Conversation

@tg2k
Copy link
Contributor

@tg2k tg2k commented Dec 15, 2025

Description

Added UnknownComponent classes, and support to MessageComponentConverter and MessageComponentExtensions

Changes

Added UnknownComponent classes, and support to MessageComponentConverter and MessageComponentExtensions. UnknownComponent classes retain their original types as RawType, and retain the JSON as RawJson.

Related Issues

Resolves #3205. Minimally tested (it works in my local environment which broke prior to this change).

@Misha-133 Misha-133 enabled auto-merge (squash) December 23, 2025 19:15
@Misha-133 Misha-133 merged commit ad8182f into discord-net:dev Dec 23, 2025
2 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.

[Bug]: JsonSerializationException when deserializing messages with ComponentType 20

2 participants