Update Ghostgram features

This commit is contained in:
ichmagmaus 812
2026-03-07 18:15:32 +01:00
parent 1a3303b059
commit 24a7ec39d9
902 changed files with 148302 additions and 62355 deletions
@@ -305,7 +305,7 @@ public class DrawingStickerEntityView: DrawingEntityView {
var file: TelegramMediaFile?
for attribute in gift.attributes {
if case let .model(_, fileValue, _) = attribute {
if case let StarGift.UniqueGift.Attribute.model(_, fileValue, _, _) = attribute {
file = fileValue
break
}
@@ -466,7 +466,7 @@ public class DrawingStickerEntityView: DrawingEntityView {
file = fileValue
} else if case let .gift(gift, _) = self.stickerEntity.content {
for attribute in gift.attributes {
if case let .model(_, fileValue, _) = attribute {
if case let StarGift.UniqueGift.Attribute.model(_, fileValue, _, _) = attribute {
file = fileValue
break
}
@@ -887,7 +887,7 @@ public class DrawingStickerEntityView: DrawingEntityView {
} else if case let .gift(gift, _) = self.stickerEntity.content {
var file: TelegramMediaFile?
for attribute in gift.attributes {
if case let .model(_, fileValue, _) = attribute {
if case let StarGift.UniqueGift.Attribute.model(_, fileValue, _, _) = attribute {
file = fileValue
break
}