фикс пустово чата если в нем есть стикер

This commit is contained in:
Jganenok
2026-05-14 08:43:46 +07:00
parent 98d94ff8a7
commit dc752e8b0d
2 changed files with 67 additions and 3 deletions
+3 -3
View File
@@ -304,9 +304,9 @@ class StickerAttachment extends MessageAttachment {
return StickerAttachment(
previewData: previewStr,
baseUrl: map['baseUrl'] as String?,
stickerId: map['stickerId'] as String?,
stickerPackId: map['stickerPackId'] as String?,
baseUrl: map['baseUrl']?.toString(),
stickerId: map['stickerId']?.toString(),
stickerPackId: map['setId']?.toString() ?? map['stickerPackId']?.toString(),
width: map['width'] as int?,
height: map['height'] as int?,
);