Re-add IHasId to Channel

This commit is contained in:
Tyrrrz 2023-07-16 23:12:57 +03:00
parent b44e6087be
commit 3e44a2e88d

View file

@ -17,7 +17,7 @@ public partial record Channel(
string? IconUrl,
string? Topic,
bool IsActive,
Snowflake? LastMessageId)
Snowflake? LastMessageId) : IHasId
{
// Used for visual backwards-compatibility with old exports, where
// channels without a parent (i.e. mostly DM channels) had a fallback