some changes for 172 layer

This commit is contained in:
Mike Renoir
2024-01-11 20:31:37 +04:00
parent f001ee483e
commit fd7d20e5db
6 changed files with 67 additions and 2 deletions

View File

@@ -204,6 +204,7 @@ public struct CachedUserFlags: OptionSet {
public static let translationHidden = CachedUserFlags(rawValue: 1 << 0)
public static let isBlockedFromStories = CachedUserFlags(rawValue: 1 << 1)
public static let readDatesPrivate = CachedUserFlags(rawValue: 1 << 2)
public static let premiumRequired = CachedUserFlags(rawValue: 1 << 3)
}
public final class EditableBotInfo: PostboxCoding, Equatable {

View File

@@ -17,6 +17,8 @@ public struct UserInfoFlags: OptionSet {
public static let isFake = UserInfoFlags(rawValue: (1 << 3))
public static let isPremium = UserInfoFlags(rawValue: (1 << 4))
public static let isCloseFriend = UserInfoFlags(rawValue: (1 << 5))
public static let requirePremium = UserInfoFlags(rawValue: (1 << 6))
public static let mutualContact = UserInfoFlags(rawValue: (1 << 7))
}
public struct BotUserInfoFlags: OptionSet {