mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-29 06:26:10 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
47 lines
1.4 KiB
Objective-C
47 lines
1.4 KiB
Objective-C
#import <WatchCommonWatch/TGBridgeCommon.h>
|
|
#import <WatchCommonWatch/TGBridgeMessage.h>
|
|
|
|
@interface TGBridgeChat : NSObject <NSCoding>
|
|
|
|
@property (nonatomic) int64_t identifier;
|
|
@property (nonatomic) NSTimeInterval date;
|
|
@property (nonatomic) int64_t fromUid;
|
|
@property (nonatomic, strong) NSString *text;
|
|
|
|
@property (nonatomic, strong) NSArray *media;
|
|
|
|
@property (nonatomic) bool outgoing;
|
|
@property (nonatomic) bool unread;
|
|
@property (nonatomic) bool deliveryError;
|
|
@property (nonatomic) TGBridgeMessageDeliveryState deliveryState;
|
|
|
|
@property (nonatomic) int32_t unreadCount;
|
|
|
|
@property (nonatomic) bool isBroadcast;
|
|
|
|
@property (nonatomic, strong) NSString *groupTitle;
|
|
@property (nonatomic, strong) NSString *groupPhotoSmall;
|
|
@property (nonatomic, strong) NSString *groupPhotoBig;
|
|
|
|
@property (nonatomic) bool isGroup;
|
|
@property (nonatomic) bool hasLeftGroup;
|
|
@property (nonatomic) bool isKickedFromGroup;
|
|
|
|
@property (nonatomic) bool isChannel;
|
|
@property (nonatomic) bool isChannelGroup;
|
|
|
|
@property (nonatomic, strong) NSString *userName;
|
|
@property (nonatomic, strong) NSString *about;
|
|
@property (nonatomic) bool verified;
|
|
|
|
@property (nonatomic) int32_t participantsCount;
|
|
@property (nonatomic, strong) NSArray *participants;
|
|
|
|
- (NSArray<NSNumber *> *)involvedUserIds;
|
|
- (NSArray<NSNumber *> *)participantsUserIds;
|
|
|
|
@end
|
|
|
|
extern NSString *const TGBridgeChatKey;
|
|
extern NSString *const TGBridgeChatsArrayKey;
|