2017-02-02 21:13:41 +01:00
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
2016-12-18 22:08:26 +01:00
|
|
|
|
|
|
|
#import "OWSOutgoingCallMessage.h"
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@class OWSSignalServiceProtosCallMessageBusy;
|
|
|
|
|
2017-02-02 21:13:41 +01:00
|
|
|
/**
|
|
|
|
* Sent by the call recipient after receiving a call offer when they are already in a call.
|
|
|
|
*/
|
2016-12-18 22:08:26 +01:00
|
|
|
@interface OWSCallBusyMessage : OWSOutgoingCallMessage
|
|
|
|
|
|
|
|
- (instancetype)initWithCallId:(UInt64)callId;
|
|
|
|
|
|
|
|
@property (nonatomic, readonly) UInt64 callId;
|
|
|
|
|
|
|
|
- (OWSSignalServiceProtosCallMessageBusy *)asProtobuf;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|