mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
815 B
Objective-C
38 lines
815 B
Objective-C
//
|
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <SignalUtilitiesKit/OWSViewController.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef NS_ENUM(NSUInteger, ConversationViewAction) {
|
|
ConversationViewActionNone,
|
|
ConversationViewActionCompose,
|
|
ConversationViewActionAudioCall,
|
|
ConversationViewActionVideoCall,
|
|
};
|
|
|
|
@class TSThread;
|
|
|
|
@interface ConversationViewController : OWSViewController
|
|
|
|
@property (nonatomic, readonly) TSThread *thread;
|
|
|
|
- (void)configureForThread:(TSThread *)thread
|
|
action:(ConversationViewAction)action
|
|
focusMessageId:(nullable NSString *)focusMessageId;
|
|
|
|
- (void)popKeyBoard;
|
|
|
|
- (void)scrollToFirstUnreadMessage:(BOOL)isAnimated;
|
|
|
|
#pragma mark 3D Touch Methods
|
|
|
|
- (void)peekSetup;
|
|
- (void)popped;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|