@class NSString, NSArray, IDSService, NSSet, NSMutableDictionary, SMSRelayPushHandler, CoreTelephonyClient, NSMutableSet, IMDPlainTextTapbackInterpreter, IMMultiQueue; @interface SMSServiceSession : IMDServiceSession <CoreTelephonyClientSMSDelegate, IDSServiceDelegate, IDSAccountRegistrationDelegate, SMSRelayPushHandlerListener> { NSMutableDictionary *_outgoingRelayMessageTimerMap; NSMutableDictionary *_outgoingMessageMap; NSMutableDictionary *_outgoingMessageBlockMap; NSMutableDictionary *_outgoingMessageFailureMap; IMMultiQueue *_incomingMessageMultiQueue; NSMutableDictionary *_spamBlockMap; NSMutableDictionary *_smsRelayBlockMap; BOOL _isRegistered; BOOL _hasClearedMessageQueue; IDSService *_relayService; IDSService *_smsRelayService; IDSService *_smsWatchService; NSArray *_currentRelayDevices; NSSet *_currentRelayAccounts; SMSRelayPushHandler *_smsRelayPushHandler; NSMutableSet *_originatedMessages; BOOL _pendingOriginatedMessagesTimer; NSMutableSet *_pendingRelayApprovalRequests; NSMutableDictionary *_pendingCodesToDevicesForApproval; BOOL _hasSpamExtensionUpdated; CoreTelephonyClient *coreTelephonyClient; } @property (readonly, nonatomic) BOOL watchConnectedOverBT; @property (readonly, nonatomic) IMDPlainTextTapbackInterpreter *tapbackInterpreter; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)service:(id)a0 activeAccountsChanged:(id)a1; - (BOOL)isValidMMS:(id)a0; - (void)service:(id)a0 devicesChanged:(id)a1; - (id)pairedDevice; - (void)loginServiceSessionWithAccount:(id)a0; - (void)leaveChat:(id)a0 style:(unsigned char)a1; - (void)refreshServiceCapabilities; - (unsigned long long)capabilities; - (BOOL)_enableBackwardsCompatibility; - (void)retryGroupPhotoUpload:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3 account:(id)a4; - (void)_setClearMessageSendTimer; - (void)_clearMapForMessageGUID:(id)a0; - (id)_ignoredDevicesforSMSRelay; - (void)logoutServiceSessionWithAccount:(id)a0; - (double)_periodicReplicationTimeInterval; - (BOOL)_shouldForceReplicationForStaleChatWithLastKnownReplicationDate:(id)a0; - (void)smsMessageReceived:(id)a0 msgID:(long long)a1; - (void)_buildCTPhoneNumberWithParticipantInfo:(id)a0 ctMessage:(id)a1; - (id)_getStorageDictionaryUsingMsgDict:(id)a0 requiresUpload:(BOOL)a1; - (BOOL)_checkMMSEnablementForPhoneNumber:(id)a0 simID:(id)a1; - (BOOL)_allowedToSendMessage:(id)a0; - (void)_addDeviceToIgnoredSMSRelay:(id)a0; - (void)sendUnApproveToDevice:(id)a0 extraKeys:(id)a1; - (void)_processReceivedSMSFilteringSettingsMessage:(id)a0 deviceID:(id)a1; - (void)_addDeviceToChallengedSMSRelay:(id)a0; - (BOOL)hasConnectedLocalDevice; - (void)dealloc; - (void)_processReceivedSMSFilteringSettingsDictionary:(id)a0 deviceID:(id)a1; - (void)_setTimeoutTimerForRelayMessageID:(id)a0 timeout:(double)a1; - (void)handler:(id)a0 localMessageSent:(id)a1 storageContext:(id)a2; - (void)_carrierReportJunkMetricsForSMSWithSubject:(id)a0 isGroupchat:(BOOL)a1 hasAttachments:(BOOL)a2; - (void)handler:(id)a0 outgoingPlainTextMessage:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 messageGUID:(id)a5 timeStamp:(id)a6 isBeingReplayed:(BOOL)a7 isInProxyMode:(BOOL)a8 storageContext:(id)a9; - (void)_checkIfMessageIsSpam:(id)a0 fromSender:(id)a1 withGuid:(id)a2 shouldRegister:(BOOL)a3 receiverISOCountryCode:(id)a4 receivedViaRelay:(BOOL)a5; - (BOOL)isLocalDeviceProxyRegistered; - (void)sendSavedReceiptForMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)sessionDidBecomeActive; - (void)handler:(id)a0 localIncommingMessage:(id)a1 storageContext:(id)a2; - (BOOL)isProxyRegistered; - (BOOL)_shouldUploadToMMCS:(id)a0; - (void)sendSyndicationAction:(id)a0 toChatsWithIdentifiers:(id)a1; - (void)_setUpRelay; - (BOOL)_isAliasActiveForSMSRelay:(id)a0; - (id)accountForAlias:(id)a0 fromAccounts:(id)a1; - (void)_processReceivedSMSMessage:(id)a0 storageContext:(id)a1 receivedViaRelay:(BOOL)a2 completionBlock:(id /* block */)a3; - (BOOL)accountHasAlias:(id)a0 aliastoCheck:(id)a1; - (long long)_numberOfRepliesFor:(id)a0 fallbackFilterCategory:(long long *)a1 fallbackFilterSubCategory:(long long *)a2; - (void)sendGroupPhotoUpdate:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3 account:(id)a4; - (void)sendTelephonyMessageFromJunkReportMessageItem:(id)a0; - (void)handler:(id)a0 deleteCommand:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 timeStamp:(id)a5 needsDeliveryReceipt:(id)a6 deliveryContext:(id)a7 storageContext:(id)a8; - (void)processMessageForSending:(id)a0 toChat:(id)a1 style:(unsigned char)a2 allowWatchdog:(BOOL)a3 completionBlock:(id /* block */)a4; - (void)_addOriginatedMessage:(id)a0; - (BOOL)_syncedMMSEnabledValue; - (BOOL)_localDeviceSupportsSMS; - (void)sendPlayedReceiptForMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)_processMessageSent:(unsigned int)a0; - (void)addMessagePlainTextToTelephonyMessages:(id)a0 messageItem:(id)a1 processedMessageItem:(id)a2; - (id)_callerIDForChatWithChatIdentifier:(id)a0 chatStyle:(unsigned char)a1 foundChat:(id)a2; - (id)phoneAliasForDominentPhoneAlias:(id)a0 registeredPhoneNumber:(id)a1 preferedCallerID:(id)a2 CTPhoneNumber:(id)a3; - (void)_unregisterForCTNotifications; - (void)_messageTimedOut:(id)a0; - (void)_sendMessageToPairedDeviceWithOptions:(id)a0; - (id)_deviceForCallerID:(id)a0; - (void)_releasePendingMessagesAndProcessReceivedSMSMessage:(id)a0 storageContext:(id)a1 receivedViaRelay:(BOOL)a2 completionBlock:(id /* block */)a3; - (void)_migrateSMSRelayForMICIfNeeded; - (id)_convertIMMessageItemToDictionary:(id)a0; - (id)_ignoredIDSDevicesforSMSRelay; - (void)_setMessageItemToStandaloneIfNeeded:(id)a0 chatIdentifier:(id)a1; - (void)_removeDeviceHasMICForSMSRelay:(id)a0; - (void)buildTelephonyPhoneNumbersForTelephonyMessages:(id)a0 shouldBroadcastMessage:(BOOL)a1 handles:(id)a2; - (BOOL)isIDInList:(id)a0 ArrayToCheck:(id)a1; - (void)sessionWillBecomeInactiveWithAccount:(id)a0; - (id)_IDSService; - (void)_checkAndSetRelayService; - (void)sendDeliveryReceiptForMessageID:(id)a0 toID:(id)a1 deliveryContext:(id)a2 needsDeliveryReceipt:(id)a3 callerID:(id)a4 account:(id)a5; - (id)_createNewChatIdentifierFromChatIdentifier:(id)a0 andCategoryLabel:(id)a1; - (void)_updateShouldForceToSMSForChatWithIdentifier:(id)a0 style:(unsigned char)a1 shouldForceToSMS:(BOOL)a2; - (void)handler:(id)a0 recoverCommand:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 timeStamp:(id)a5 needsDeliveryReceipt:(id)a6 deliveryContext:(id)a7 storageContext:(id)a8; - (BOOL)_isSpamFilteringEnabled; - (void)joinChat:(id)a0 handleInfo:(id)a1 style:(unsigned char)a2 groupID:(id)a3 lastAddressedHandle:(id)a4 lastAddressedSIMID:(id)a5 joinProperties:(id)a6; - (void)replayMessage:(id)a0; - (void)handler:(id)a0 localMessageError:(id)a1 storageContext:(id)a2; - (void)postMMSMessageSent:(id)a0 success:(BOOL)a1 messageID:(long long)a2 err1:(long long)a3 err2:(long long)a4; - (BOOL)relayDictionaryToPeers:(id)a0 requiresUpload:(BOOL)a1; - (void)_enableSpamFiltering; - (void)_removeDeviceFromChallengedSMSRelay:(id)a0; - (void)_forwardMessageToPeers:(id)a0 messageType:(long long)a1 guid:(id)a2 originalSender:(id)a3; - (unsigned int)_generateMessageIDForMessageGUID:(id)a0 completionBlock:(id /* block */)a1 failureBlock:(id /* block */)a2; - (id)idsDeviceFromUniqueID:(id)a0; - (id /* block */)_failureBlockForMessageGUID:(id)a0; - (BOOL)sendEnrollmentRelatedMessageOverIDS:(id)a0 deviceToSendTo:(id)a1; - (void)_doDeleteChat:(id)a0; - (void)sendEditedMessage:(id)a0 previousMessage:(id)a1 partIndex:(long long)a2 editType:(unsigned long long)a3 toChatIdentifier:(id)a4 style:(unsigned char)a5 account:(id)a6 backwardCompatabilityText:(id)a7; - (BOOL)_replicationRequiredForFeaturesUsedByMessageItem:(id)a0; - (unsigned char)_readMMSUserOverrideForSingleSubscription; - (void)sendApprovalEnrollMe; - (void)_updateCategoryForChat:(id)a0 andMessage:(id)a1 category:(long long)a2 subCategory:(long long)a3 shouldRegister:(BOOL)a4 spamExtensionName:(id)a5; - (BOOL)sendApprovalDisplayPinToDevice:(id)a0; - (void)_clearSMSRelayMapForMessageWithGUID:(id)a0; - (BOOL)sendDataToPeers:(id)a0 forcedCallerID:(id)a1 shouldFilterRecepients:(BOOL)a2 requestProxySend:(BOOL)a3 dontSendTo:(id)a4; - (id)_getSpamExtensionID; - (void)_clearTimoutTimerForRelayMessageID:(id)a0; - (BOOL)_canRelayMMS; - (void)handler:(id)a0 localIncomingDownloadMessage:(id)a1 storageContext:(id)a2; - (id)lastAddressedSIMIDForJunkReportMessageItem:(id)a0; - (id)idsDeviceForFromID:(id)a0; - (BOOL)_isDefaultPairedDeviceRelayingLocally:(id)a0; - (void)_addDeviceToAllowedSMSRelay:(id)a0 shouldSendApproval:(BOOL)a1; - (void)_processSMSOrSMSMessageSentWithContext:(id)a0 success:(BOOL)a1 messageID:(unsigned int)a2 err1:(long long)a3 err2:(long long)a4 isSMS:(BOOL)a5; - (BOOL)_hasPhoneNumberAliasActive; - (void)_clearInactivityTimer; - (BOOL)isOutgoingReplicationEnabled; - (void)_updateFilterParamsForFilterExtension; - (void)updateDisplayName:(id)a0 fromDisplayName:(id)a1 forChatID:(id)a2 identifier:(id)a3 style:(unsigned char)a4; - (id /* block */)_completionBlockForMessageGUID:(id)a0; - (void)service:(id)a0 account:(id)a1 identifier:(id)a2 didSendWithSuccess:(BOOL)a3 error:(id)a4; - (void)processPartsOfTelephonyMessages:(id)a0 parts:(id)a1 messageItem:(id)a2; - (void)_disableSpamFiltering; - (void)enrollSelfDeviceInSMSRelay; - (BOOL)_isOneOfMyActiveAlias:(id)a0; - (BOOL)_hasRelayDevice; - (void)_processReceivedSMSFilteringSettingsDictionaryInBlastDoor:(id)a0 deviceID:(id)a1; - (BOOL)_localDeviceSupportsSMSAndDoesNotHaveAPhoneNumberForSIMID:(id)a0; - (void)_approveSelfForSMSRelay; - (id)initWithAccount:(id)a0 service:(id)a1 replicatingForSession:(id)a2; - (long long)messageFilterSubActionResponseForBlastDoorSMSMessageFilterSubCategoryType:(long long)a0; - (void)updateMMSCapability; - (BOOL)_areiMessageAndiCloudAccountTheSame:(id)a0; - (void)setSubjectForTelephonyMessages:(id)a0 messageItem:(id)a1; - (void)handler:(id)a0 localOutgoingMessage:(id)a1 isBeingReplayed:(BOOL)a2 storageContext:(id)a3; - (void)_disableSpamFilteringAndRelay; - (void)_clearSpamMapForMessageGUID:(id)a0; - (BOOL)_disableScreenTimeRestrictionsForMessageItem:(id)a0 chat:(id)a1 watchSendsOverCellular:(BOOL)a2 emergencyNumbersFoundInRecipients:(long long *)a3; - (void)_micEnabledStateDidChange:(id)a0; - (id)_convertIMMessageItemDictionaryToIMMessageItem:(id)a0; - (void)handler:(id)a0 messageIDSent:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 timeStamp:(id)a4 storageContext:(id)a5; - (void)sendMessage:(id)a0 toChat:(id)a1 style:(unsigned char)a2; - (void)_enableSMSRelayForDevice:(id)a0; - (void)_updateLastAddressedIDsIfNeededForChatWithIdentifier:(id)a0 style:(unsigned char)a1 lastAddressedHandle:(id)a2 lastAddressedSIMID:(id)a3; - (BOOL)_isDeviceATrustedHSA2Device:(id)a0; - (void)handler:(id)a0 incomingDownloadMessage:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 timeStamp:(id)a5 storageContext:(id)a6; - (id)preferredAccountForReplicationOnService:(id)a0 eligibleAccounts:(id)a1; - (void)_processSMSorMMSMessageReceivedWithContext:(id)a0 messageID:(long long)a1; - (void)_addHSA2PairedDevicesToAllowedSMSRelayList; - (void)_processMessageSendFailure:(unsigned int)a0; - (void)handler:(id)a0 messageIDRead:(id)a1 timeStamp:(id)a2 toIdentifier:(id)a3 fromIdentifier:(id)a4 storageContext:(id)a5; - (id)_destinationForDevice:(id)a0 forcedIdentity:(id)a1; - (void)handler:(id)a0 localFileRequest:(id)a1 storageContext:(id)a2; - (id)_convertCTMessagePartToDictionary:(id)a0; - (BOOL)_replicateMessage:(id)a0 chatIdentifier:(id)a1 chatStyle:(unsigned char)a2 lastKnownReplicationDate:(id)a3 callerID:(id)a4; - (void)_markFromStorageIfNeeded:(id)a0 messageGUID:(id)a1; - (id)_fixIncomingDate:(id)a0; - (void)sendDeleteCommand:(id)a0 forChatGUID:(id)a1; - (void)_registerForIncomingMessages:(id)a0; - (void)enrollDeviceInSMSRelay:(id)a0; - (void)handler:(id)a0 outgoingDownloadMessage:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 messageGUID:(id)a5 timeStamp:(id)a6 isBeingReplayed:(BOOL)a7 storageContext:(id)a8; - (void)sendApprovalResponseToDevice:(id)a0 enteredCorrectly:(BOOL)a1 wasCancelled:(BOOL)a2; - (void)_removeDeviceFromAllowedSMSRelay:(id)a0; - (BOOL)_localDeviceSupportsRelay; - (void)sendCTMessageFromIMMessageItem:(id)a0 forChat:(id)a1 chat:(id)a2 style:(unsigned char)a3; - (id)_allowedIDSDevicesforSMSRelay; - (BOOL)sendFileToLocalPeers:(id)a0 metadata:(id)a1; - (void)_sendPinCodeToDeviceAndPromptForResponse:(id)a0; - (void)_clearPendingIncomingMessageQueue; - (void)_updateLastAddressedIDsIfNeededForChatWithIdentifier:(id)a0 style:(unsigned char)a1 lastAddressedHandle:(id)a2 lastAddressedSIMID:(id)a3 iMessageCapability:(long long)a4; - (void).cxx_destruct; - (BOOL)_canSendWithCallerID:(id)a0; - (void)unEnrollDeviceInSMSRelay:(id)a0; - (void)handler:(id)a0 localFileResponse:(id)a1 storageContext:(id)a2; - (id)_extractSMSSenderAddress:(id)a0; - (void)_receivedSMSDictionary:(id)a0 requiresUpload:(BOOL)a1 isBeingReplayed:(BOOL)a2; - (void)_shouldAutoEnableDevicesforSMSRelay:(id /* block */)a0; - (id)_challengedDevicesforSMSRelay; - (id)createHandleInfoForParticipants:(id)a0 unformattedIDs:(id)a1 countryCodes:(id)a2 isGroupChat:(BOOL)a3; - (void)_handleDeleteCommandWithMessageDictionary:(id)a0; - (void)sendReadReceiptForMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)scheduleTransactionLogTask:(id)a0; - (void)handler:(id)a0 incomingDisplayPinCode:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 messageGUID:(id)a5 timeStamp:(id)a6 storageContext:(id)a7; - (void)sendNotifyRecipientCommandForMessage:(id)a0 toChatGuid:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)_updateSpamFilteringState:(long long)a0; - (id)outgoingReplicationCallerIDForChat:(id)a0; - (void)account:(id)a0 aliasesChanged:(id)a1; - (id)_compatibleMessageToSendForMessageItem:(id)a0; - (void)_forwardMessageToPeers:(id)a0 messageType:(long long)a1 guid:(id)a2 originalSender:(id)a3 watchOnly:(BOOL)a4; - (void)handler:(id)a0 localMessageRead:(id)a1 storageContext:(id)a2; - (BOOL)_storeSMSRelayExecutionBlock:(id /* block */)a0 forMessageGUID:(id)a1; - (void)_updatePhoneNumberCallerID; - (id)_dominentPhoneNumberAlias; - (void)_checkAndUpdateFilterParamsForFilterExtension; - (void)_executeSMSRelayBlockForMessageWithGUID:(id)a0 category:(long long)a1 subCategory:(long long)a2; - (void)_relaySMSFilteringSettingsForFilterState:(long long)a0; - (id)idsDeviceFromPushToken:(id)a0; - (void)_doClearChats:(id)a0; - (void)handler:(id)a0 outgoingPlainTextMessage:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 messageGUID:(id)a5 timeStamp:(id)a6 isBeingReplayed:(BOOL)a7 storageContext:(id)a8; - (void)joinChat:(id)a0 handleInfo:(id)a1 style:(unsigned char)a2 joinProperties:(id)a3; - (id)lastAddressedHandleForJunkReportMessageItem:(id)a0; - (id)_messageDictionaryToRelayWithIncomingMessageDictionary:(id)a0 smsMessage:(id)a1; - (id)_newSMSFilteringSettingsDictForFilterState:(long long)a0; - (id)_replicatedMessageGUIDToReleaseFromMessageDictionary:(id)a0; - (void)handler:(id)a0 incomingEnrollMeRequest:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 messageGUID:(id)a5 timeStamp:(id)a6 storageContext:(id)a7; - (void)_categorizeRelayMessageWithCategory:(long long)a0 subCategory:(long long)a1 deviceID:(id)a2 shouldRegister:(BOOL)a3 completion:(id /* block */)a4; - (void)_relayMessage:(id)a0 chat:(id)a1 didSendSMS:(BOOL)a2 attemptingReplication:(BOOL)a3 forceReflection:(BOOL)a4 relayToWatchOnly:(BOOL)a5 shouldDisableScreenTimeRestrictions:(BOOL)a6 callerID:(id)a7; - (void)_processReceivedDictionaryInBlastDoor:(id)a0 storageContext:(id)a1 receivedViaRelay:(BOOL)a2 withCompletionBlock:(id /* block */)a3; - (void)_executeSpamCompletionBlockForMessageGuid:(id)a0 category:(long long)a1 subCategory:(long long)a2 shouldRegister:(BOOL)a3 receivedViaRelay:(BOOL)a4; - (void)_forwardMessageToPeers:(id)a0 messageType:(long long)a1 guid:(id)a2 originalSender:(id)a3 hasAttachment:(BOOL)a4 watchOnly:(BOOL)a5; - (void)_prepareSMSRelayBlockForMessageDictionary:(id)a0 messageGUID:(id)a1; - (void)joinChat:(id)a0 handleInfo:(id)a1 style:(unsigned char)a2 groupID:(id)a3 joinProperties:(id)a4; - (id)_getSpamExtensionName; - (BOOL)acceptsIncomingReplicatedMessagesFromAccount:(id)a0 toIdentifier:(id)a1 isSOS:(BOOL)a2; - (void)_registerForCTNotifications; - (void)_checkAndUpdateSMSFilteringSettingsForDeviceID:(id)a0 smsFilterCapabilitiesOptions:(unsigned long long)a1 filterExtensionName:(id)a2; - (void)mmsMessageReceived:(id)a0 msgID:(long long)a1; - (BOOL)sendToLocalPeers:(id)a0; - (void)_updateRelayStatus; - (void)handler:(id)a0 localOutgoingDownloadMessage:(id)a1 isBeingReplayed:(BOOL)a2 storageContext:(id)a3; - (long long)_iMessageCapabilityForSIMID:(id)a0; - (void)handler:(id)a0 messageIDSendFailure:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 timeStamp:(id)a4 storageContext:(id)a5; - (BOOL)_replicationRequirementsSatisfiedForPhoneNumber:(id)a0 simID:(id)a1; - (void)postSMSMessageSent:(id)a0 success:(BOOL)a1 messageID:(long long)a2 err1:(long long)a3 err2:(long long)a4; - (BOOL)_areAllParticipantsUnknown:(id)a0 fromSender:(id)a1; - (BOOL)_replicationRequiredForFeaturesUsedByMessageBody:(id)a0; - (unsigned long long)_sendingDecisionForMessageItem:(id)a0 callerID:(id)a1 chat:(id)a2; - (id)retrieveAccountAndPhoneAliasForAccounts:(id)a0 shouldFilterRecepients:(BOOL)a1 requestProxySend:(BOOL)a2 preferredCallerID:(id)a3; - (BOOL)_shouldCheckChatForSMSSpam:(id)a0 shouldRegister:(BOOL)a1 participants:(id)a2 sender:(id)a3 fallbackFilterCategory:(long long *)a4 fallbackFilterSubCategory:(long long *)a5; - (void)_handleCapabilitiesChanged:(id)a0; - (BOOL)_shouldReplicateMessageItem:(id)a0 chatStyle:(unsigned char)a1 lastKnownReplicationDate:(id)a2 callerID:(id)a3; - (id)_challengedIDSDevicesforSMSRelay; - (void)setMessageTypeForTelephonyMessage:(id)a0 shouldSendMMS:(BOOL)a1; - (BOOL)_shouldFailSMSMessageForTesting:(id)a0 chatIdentifier:(id)a1 chatStyle:(unsigned char)a2; - (void)_executeSMSRelayBlockForMessageWithGUID:(id)a0; - (BOOL)_storeSpamCompletionBlock:(id /* block */)a0 forMessageGUID:(id)a1; - (BOOL)isSMSRelayEnabled; - (void)_resetAndBroadcastBlackholeErrorStateIfNeededForChatIdentifier:(id)a0 chatStyle:(unsigned char)a1; - (void)_registerForAccountChanges; - (id)_convertCTMessageToDictionary:(id)a0 requiresUpload:(BOOL *)a1; - (id)retrievePhoneAccountAndPhoneAliasFromIDSAccounts:(id)a0; - (BOOL)_hasPeerDevices; - (BOOL)_sosReplicationDisabledByServerBag; - (void)handler:(id)a0 incomingResponseForApproval:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 messageGUID:(id)a5 timeStamp:(id)a6 storageContext:(id)a7; - (void)_smsSpamCheck:(id /* block */)a0 withMessageBody:(id)a1 withGuid:(id)a2 sender:(id)a3 shouldRegister:(BOOL)a4 receiverISOCountryCode:(id)a5 receivedViaRelay:(BOOL)a6; - (void)enqueReplayMessageCallback:(id /* block */)a0; - (id)_myCTPhoneNumber; - (void)_finishSendingMessageItem:(id)a0 chatIdentifier:(id)a1 chatStyle:(unsigned char)a2 foundChat:(id)a3 didSendSMS:(BOOL)a4 attemptingReplication:(BOOL)a5 shouldForceFail:(BOOL)a6 watchSendsOverCellular:(BOOL)a7 forceReflection:(BOOL)a8 callerID:(id)a9; - (void)_deferredReplicatedMessageReleaseWithAllowedMessage:(id)a0 outgoingProxyBlock:(id /* block */)a1; - (void)sendRecoverCommand:(id)a0 forChatGUID:(id)a1; - (id)localDevice; - (BOOL)_replicationDisabledByServerBag; - (void)sendJunkReportMessage:(id)a0; - (void)handler:(id)a0 incomingSMSFilteringSettingsMessage:(id)a1 fromToken:(id)a2; - (void)_addDefaultPairedDeviceToAllowedSMSRelayList; - (id)_messageGUIDForMessageID:(int)a0; - (id)_callerIDForRelay; - (void)handler:(id)a0 incomingPlainTextMessage:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 fromToken:(id)a4 timeStamp:(id)a5 storageContext:(id)a6; - (void)_blastDoorProcessingWithIMMessageItem:(id)a0 chat:(id)a1 account:(id)a2 fromToken:(id)a3 fromIDSID:(id)a4 fromIdentifier:(id)a5 toIdentifier:(id)a6 participants:(id)a7 groupName:(id)a8 groupID:(id)a9 isEncrypted:(BOOL)a10 isFromMe:(BOOL)a11 isLastFromStorage:(BOOL)a12 isFromStorage:(BOOL)a13 hideLockScreenNotification:(BOOL)a14 wantsCheckpointing:(BOOL)a15 needsDeliveryReceipt:(id)a16 messageBalloonPayloadAttachmentDictionary:(id)a17 inlineAttachments:(id)a18 attributionInfoArray:(id)a19 nicknameDictionary:(id)a20 availabilityVerificationRecipientChannelIDPrefix:(id)a21 availabilityVerificationRecipientEncryptionValidationToken:(id)a22 idsService:(id)a23 messageContext:(id)a24 isFromTrustedSender:(BOOL)a25 completionBlock:(id /* block */)a26; - (void)_joinOneToOneChatWithChatIdentifier:(id)a0; - (id)_callerIDAccountFromSettings; - (unsigned long long)randomSixDigitCode; - (id)storageController; - (void)_sendMessageToAllSMSRelayDevicesWithOptions:(id)a0; - (BOOL)_isConnectedOverBT:(id)a0; - (id)_chatForSendingMessageItem:(id)a0 chatIdentifier:(id)a1 chatStyle:(unsigned char)a2; - (void)_relayCurrentSMSFilteringSettings; - (void)_removeOriginatedMessage:(id)a0; - (void)sendUpdatedCollaborationMetadata:(id)a0 toChatsWithIdentifiers:(id)a1 forMessageGUID:(id)a2; - (void)_processReceivedDictionary:(id)a0 storageContext:(id)a1 receivedViaRelay:(BOOL)a2 withCompletionBlock:(id /* block */)a3; - (BOOL)_localDeviceSupportsSMSAndHasAPhoneNumber; - (void)_noteDeviceHasMICForSMSRelay:(id)a0; - (id)newTelephonyMessagesForHandles:(id)a0 shouldBroadcastMessage:(BOOL)a1; - (void)_checkAndUpdateSMSSpamFilterExtensionForUnregisteredOrUpdatedPlugins:(id)a0 arePluginsRegistered:(BOOL)a1; - (BOOL)_isMessageCategorized:(long long)a0; - (id)_allowedDevicesforSMSRelay; - (void)invitePersonInfo:(id)a0 withMessage:(id)a1 toChat:(id)a2 style:(unsigned char)a3; - (id)_callerIDUsingFromIdentifier:(id)a0; - (BOOL)shouldFixIncomingDate; - (BOOL)_deviceAllowedToDisableRelay:(id)a0; - (void)_enqueueBlock:(id /* block */)a0 withTimeout:(double)a1; - (void)sendDeliveredQuietlyReceiptForMessage:(id)a0 forIncomingMessageFromIDSID:(id)a1 toChatGuid:(id)a2 identifier:(id)a3 style:(unsigned char)a4 withWillSendToDestinationsHandler:(id /* block */)a5; - (BOOL)_newFeatureRequiredByMessageItem:(id)a0; - (BOOL)_isUsingSMSWatchService; - (void)_synchronizeMMSCapabilityToWatch:(BOOL)a0; - (void)_removeDeviceFromIgnoredSMSRelay:(id)a0; @end