Update for new chyat

This commit is contained in:
barelyprofessional
2026-02-28 15:34:36 -06:00
parent 8a827a17de
commit c8016b4fc6
23 changed files with 178 additions and 104 deletions

View File

@@ -337,12 +337,12 @@ public class DeleteMessagesCommand : ICommand
.TakeLast(amount);
foreach (var msg in messages)
{
if (msg.ChatMessageId == null)
if (msg.ChatMessageUuid == null)
{
continue;
}
await botInstance.KfClient.DeleteMessageAsync(msg.ChatMessageId.Value);
await botInstance.KfClient.DeleteMessageAsync(msg.ChatMessageUuid);
}
}
}