Merge branch 'beta'

# Conflicts:
#	submodules/TelegramUI/Sources/ChatInterfaceInputContexts.swift
This commit is contained in:
Isaac 2025-03-21 10:56:17 +01:00
commit a4b39e6fd0

View File

@ -601,6 +601,17 @@ public final class TelegramMediaImageRepresentation: PostboxCoding, Equatable, C
TelegramCore_TelegramMediaImageRepresentation.add(hasVideo: self.hasVideo, &builder)
TelegramCore_TelegramMediaImageRepresentation.add(isPersonal: self.isPersonal, &builder)
let mappedTypeHint: TelegramCore_TelegramMediaImageRepresentation_TypeHint
switch self.typeHint {
case .generic:
mappedTypeHint = .generic
case .animated:
mappedTypeHint = .animated
case .video:
mappedTypeHint = .video
}
TelegramCore_TelegramMediaImageRepresentation.add(typeHint: mappedTypeHint, &builder)
return TelegramCore_TelegramMediaImageRepresentation.endTelegramMediaImageRepresentation(&builder, start: start)
}