@class NSMutableDictionary, IMDChatRegistry, IMOneTimeCodeUtilities, IMDService, NSDictionary, IMSystemProxySettingsFetcher, NSMutableArray, NSString, NSTimer, NSRecursiveLock, IMTimer, IMNetworkMonitor, NSArray, IMDAccount, NSMutableSet; @protocol IMDAutoReplying; @interface IMDServiceSession : NSObject { NSRecursiveLock *_lock; NSMutableDictionary *_localProperties; NSMutableSet *_changedBuddies; NSMutableDictionary *_groupChatIdentifierToChatRoomMap; NSMutableDictionary *_chatRoomToGroupChatIdentifierMap; IMTimer *_messageRoutingTimer; IMTimer *_messageExpireStateTimer; IMTimer *_messageWatchdogTimer; id _messageAutoReplier; IMNetworkMonitor *_networkMonitor; NSTimer *_reconnectTimer; NSString *_loginID; NSString *_pwRequestID; IMSystemProxySettingsFetcher *_systemProxySettingsFetcher; int _buddyChangeLevel; BOOL _activated; BOOL _saveKeychainPassword; IMOneTimeCodeUtilities *_otcUtilities; BOOL _shouldReconnect; BOOL _badPass; NSMutableDictionary *_buddies; } @property (readonly, nonatomic) NSArray *allBuddies; @property (readonly) NSDictionary *buddyProperties; @property (readonly) NSDictionary *buddyPictures; @property (readonly, nonatomic) int registrationStatus; @property (readonly, nonatomic) int registrationError; @property (readonly, nonatomic) NSDictionary *registrationAlertInfo; @property (readonly, nonatomic) IMDChatRegistry *chatRegistry; @property (readonly, nonatomic) NSArray *replicationSessions; @property (readonly, nonatomic) IMDServiceSession *replicationProxy; @property (readonly, nonatomic) IMDAccount *account; @property (readonly, nonatomic) IMDService *service; @property (readonly, weak, nonatomic) IMDServiceSession *mainSession; @property (readonly, nonatomic, getter=isReplicating) BOOL replicating; @property (readonly, weak, nonatomic) IMDAccount *replicationAccount; @property (readonly, weak, nonatomic) IMDService *replicationService; @property (readonly, nonatomic) NSMutableArray *accounts; @property (readonly, nonatomic) NSString *accountID; @property (readonly, nonatomic) NSString *password; @property (readonly, nonatomic) NSDictionary *accountDefaults; @property (readonly, nonatomic) NSString *serverHost; @property (readonly, nonatomic) unsigned short serverPort; @property (readonly, nonatomic) long long proxyType; @property (readonly, nonatomic) NSString *proxyHost; @property (readonly, nonatomic) unsigned short proxyPort; @property (readonly, nonatomic) NSString *proxyAccount; @property (readonly, nonatomic) NSString *proxyPassword; @property (readonly, nonatomic) BOOL useSSL; @property (readonly, nonatomic) BOOL isActive; @property (readonly, nonatomic) NSString *displayName; @property (readonly, nonatomic) BOOL accountNeedsLogin; @property (readonly, nonatomic) BOOL accountNeedsPassword; @property (readonly, nonatomic) BOOL accountShouldBeAlwaysLoggedIn; @property (readonly, nonatomic) BOOL allowedAsChild; @property (readonly, nonatomic) BOOL networkConditionsAllowLogin; @property (readonly, nonatomic) BOOL overrideNetworkAvailability; + (void)initialize; + (id)__allServiceSessionsWeakReferenceArray; + (void)__registerNewServiceSession:(id)a0; + (id)_firewallUserNotificationForService:(id)a0; + (id)allServiceSessions; + (id)existingServiceSessionForService:(id)a0; - (void)updateAuthorizationCredentials:(id)a0 token:(id)a1 account:(id)a2; - (void)addAccount:(id)a0; - (void)loginServiceSessionWithAccount:(id)a0; - (void)leaveChat:(id)a0 style:(unsigned char)a1; - (void)refreshServiceCapabilities; - (unsigned long long)capabilities; - (void)removeAccount:(id)a0; - (id)groups; - (void)retryGroupPhotoUpload:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3 account:(id)a4; - (BOOL)hasCapability:(unsigned long long)a0; - (void)authenticateAccount:(id)a0; - (void)logoutServiceSessionWithAccount:(id)a0; - (void)updateBalloonPayload:(id)a0 attachments:(id)a1 forMessageGUID:(id)a2; - (void)removeAliases:(id)a0 account:(id)a1; - (void)registerAccount:(id)a0; - (id)initWithAccount:(id)a0 service:(id)a1; - (void)dealloc; - (void)passwordUpdatedWithAccount:(id)a0; - (void)decrementPendingReadReceiptFromStorageCount; - (void)sendSavedReceiptForMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)sessionDidBecomeActive; - (void)addAliases:(id)a0 account:(id)a1; - (void)sendSyndicationAction:(id)a0 toChatsWithIdentifiers:(id)a1; - (void)noteLastItemProcessed; - (void)unregisterAccount:(id)a0; - (void)sendGroupPhotoUpdate:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3 account:(id)a4; - (void)validateAliases:(id)a0 account:(id)a1; - (id)server; - (void)cancelScheduledMessageWithGUID:(id)a0; - (void)invitePersonInfoToiMessageChat:(id)a0 withMessage:(id)a1 toChat:(id)a2 style:(unsigned char)a3; - (void)processMessageForSending:(id)a0 toChat:(id)a1 style:(unsigned char)a2 allowWatchdog:(BOOL)a3 completionBlock:(id /* block */)a4; - (void)sendAVMessageToPerson:(id)a0 sessionID:(unsigned int)a1 type:(unsigned int)a2 userInfo:(id)a3 conference:(id)a4; - (void)sendPlayedReceiptForMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (id)broadcaster; - (void)respondToVCInvitationWithPerson:(id)a0 properties:(id)a1 conference:(id)a2; - (BOOL)_shouldBlackholeGroupChatFromSender:(id)a0 toRecipient:(id)a1 withOtherParticipants:(id)a2 forAccount:(id)a3; - (void)validateProfileWithAccount:(id)a0; - (id)canonicalFormOfID:(id)a0; - (void)sessionWillBecomeInactiveWithAccount:(id)a0; - (id)_IDSService; - (void)unvalidateAliases:(id)a0 account:(id)a1; - (void)sendDeliveryReceiptForMessageID:(id)a0 toID:(id)a1 deliveryContext:(id)a2 needsDeliveryReceipt:(id)a3 callerID:(id)a4 account:(id)a5; - (void)sendLogDumpMessageAtFilePath:(id)a0 toRecipient:(id)a1 shouldDeleteFile:(BOOL)a2 withCompletion:(id /* block */)a3; - (void)cancelScheduledMessageWithGUID:(id)a0 destination:(id)a1; - (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)noteItemFromStorage:(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; - (id)loginID; - (void)sendMessage:(id)a0 toChat:(id)a1 style:(unsigned char)a2 account:(id)a3; - (void)_watchdogTimerFired; - (void)processNetworkDataAvailabilityChange:(BOOL)a0; - (void)relay:(id)a0 sendCancel:(id)a1 toPerson:(id)a2; - (BOOL)isOutgoingReplicationEnabled; - (void)updateDisplayName:(id)a0 fromDisplayName:(id)a1 forChatID:(id)a2 identifier:(id)a3 style:(unsigned char)a4; - (void)relay:(id)a0 sendInitateRequest:(id)a1 toPerson:(id)a2; - (id)_sharedMessageStore; - (id)initWithAccount:(id)a0 service:(id)a1 replicatingForSession:(id)a2; - (void)sendMessage:(id)a0 toChat:(id)a1 style:(unsigned char)a2; - (id)itemWithGUID:(id)a0; - (BOOL)canMakeExpireStateChecks; - (id)preferredAccountForReplicationOnService:(id)a0 eligibleAccounts:(id)a1; - (void)removePersonInfoFromiMessageChat:(id)a0 chatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)sendCommand:(id)a0 withProperties:(id)a1 toPerson:(id)a2 toChatID:(id)a3 identifier:(id)a4 style:(unsigned char)a5; - (BOOL)reflectRecoverChatToPeerDevicesForMessageGUID:(id)a0; - (void)sendDeleteCommand:(id)a0 forChatGUID:(id)a1; - (void)noteLastItemFromStorage:(id)a0; - (void).cxx_destruct; - (BOOL)reflectMarkUnreadToPeerDevicesForMessageGUID:(id)a0; - (void)sendReadReceiptForMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)scheduleTransactionLogTask:(id)a0; - (void)closeSessionChat:(id)a0 style:(unsigned char)a1; - (void)sendNotifyRecipientCommandForMessage:(id)a0 toChatGuid:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (id)outgoingReplicationCallerIDForChat:(id)a0; - (unsigned long long)pendingReadReceiptFromStorageCount; - (void)_managedPrefsNotification:(id)a0; - (void)sendBalloonPayload:(id)a0 attachments:(id)a1 withMessageGUID:(id)a2 bundleID:(id)a3; - (void)relay:(id)a0 sendUpdate:(id)a1 toPerson:(id)a2; - (id)allowList; - (void)noteSuppressedMessageUpdate:(id)a0; - (void)removePersonInfo:(id)a0 chatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)joinChat:(id)a0 handleInfo:(id)a1 style:(unsigned char)a2 groupID:(id)a3 joinProperties:(id)a4; - (BOOL)acceptsIncomingReplicatedMessagesFromAccount:(id)a0 toIdentifier:(id)a1 isSOS:(BOOL)a2; - (void)setPendingReadReceiptFromStorageCount:(unsigned long long)a0; - (BOOL)didReceiveMessages:(id)a0 forChat:(id)a1 style:(unsigned char)a2 account:(id)a3 fromIDSID:(id)a4; - (void)sendCommand:(id)a0 withProperties:(id)a1 toPerson:(id)a2; - (BOOL)isAwaitingStorageTimer; - (void)requestVCWithPerson:(id)a0 properties:(id)a1 conference:(id)a2; - (BOOL)sendNicknameUpdatesToPeerDevices:(id)a0 toDestinations:(id)a1; - (void)eagerUploadCancel:(id)a0; - (BOOL)equalID:(id)a0 andID:(id)a1; - (void)eagerUploadTransfer:(id)a0 recipients:(id)a1; - (void)incrementPendingReadReceiptFromStorageCount; - (void)enqueReplayMessageCallback:(id /* block */)a0; - (void)logout; - (void)requestGroupPhotoIfNecessary:(id)a0 incomingGroupPhotoCreationTime:(id)a1 toIdentifier:(id)a2 fromIdentifier:(id)a3 messageIsFromStorage:(BOOL)a4; - (void)sendJunkReportMessage:(id)a0; - (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; - (id)storageController; - (void)setAllowList:(id)a0; - (void)invitePersonInfo:(id)a0 withMessage:(id)a1 toChat:(id)a2 style:(unsigned char)a3; - (void)leaveiMessageChat:(id)a0 style:(unsigned char)a1; - (void)requestProperty:(id)a0 ofPerson:(id)a1; - (void)sendLocationSharingInfo:(id)a0 toID:(id)a1 completionBlock:(id /* block */)a2; - (void)sendDeliveredQuietlyReceiptForMessage:(id)a0 forIncomingMessageFromIDSID:(id)a1 toChatGuid:(id)a2 identifier:(id)a3 style:(unsigned char)a4 withWillSendToDestinationsHandler:(id /* block */)a5; - (BOOL)_isActivated; - (void)_reconnectIfNecessary; - (void)sendSavedReceiptForMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3 account:(id)a4; - (void)systemProxySettingsFetcher:(id)a0 retrievedAccount:(id)a1 password:(id)a2; - (void)systemProxySettingsFetcher:(id)a0 retrievedHost:(id)a1 port:(unsigned short)a2 protocol:(long long)a3; - (void)userNotificationDidFinish:(id)a0; - (void)networkMonitorDidUpdate:(id)a0; - (BOOL)blockIdleStatus; - (void)renameGroup:(id)a0 to:(id)a1; - (void)autoLogin; - (id)blockList; - (unsigned int)blockingMode; - (id)defaultChatSuffix; - (void)holdBuddyUpdates; - (void)login; - (void)requestGroups; - (void)resumeBuddyUpdates; - (void)setBlockIdleStatus:(BOOL)a0; - (void)setBlockList:(id)a0; - (void)setBlockingMode:(unsigned int)a0; - (struct _FZChatRoomValidity { int x0; unsigned short x1; })validityOfChatRoomName:(id)a0; - (void)_setPendingNetworkMonitorUpdate; - (void)acceptSubscriptionRequest:(BOOL)a0 from:(id)a1; - (void)changeLocalProperty:(id)a0 ofBuddy:(id)a1 to:(id)a2; - (id)chatRoomForGroupChatIdentifier:(id)a0; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2; - (void)endBuddyChanges; - (id)pictureOfBuddy:(id)a0; - (void)_configureSessionInformationOnItem:(id)a0 toChat:(id)a1 withStyle:(unsigned char)a2 forAccount:(id)a3; - (void)_setReplyGUIDOnMessage:(id)a0 forChat:(id)a1; - (void)didChangeMemberStatus:(int)a0 forHandle:(id)a1 fromHandle:(id)a2 unformattedNumber:(id)a3 countryCode:(id)a4 forChat:(id)a5 style:(unsigned char)a6 account:(id)a7 destinationCallerID:(id)a8 messageTime:(id)a9; - (id)groupChatIdentifierForChatRoom:(id)a0; - (void)noteBadPassword; - (void)__forceSetLoginStatus:(unsigned int)a0 oldStatus:(unsigned int)a1 message:(id)a2 reason:(int)a3 properties:(id)a4 account:(id)a5; - (void)_abandonPWFetcher; - (void)_abandonSystemProxySettingsFetcher; - (void)_autoReconnectTimer:(id)a0; - (id)_autoReplier; - (void)_blocklistIfNeededForChatDict:(id)a0; - (void)_callMonitorStateChanged:(id)a0; - (BOOL)_canUpgradeExistingMessageItem:(id)a0 replacementReplicatedMessageItem:(id)a1; - (id)_chatsForDeleteAndRecoveryChatMetadataDictionary:(id)a0; - (void)_checkMessageForENURL:(id)a0; - (void)_checkMessageForOneTimeCodes:(id)a0; - (void)_clearAutoReconnectTimer; - (void)_clearDowngradeMarkersForChat:(id)a0; - (void)_clearNetworkMonitor; - (void)_configureAccountInformationOnItem:(id)a0 withAccount:(id)a1; - (void)_configureIdentifierForOutgoingItem:(id)a0 withIdentifier:(id)a1 withStyle:(unsigned char)a2; - (void)_configureSyndicationRangesForMessage:(id)a0 forChat:(id)a1 withSyndicationStatus:(long long)a2; - (void)_configureTimeOnOutgoingItem:(id)a0; - (void)_data_connection_readyWithAccount:(id)a0; - (id)_determineResultMessageForInput:(id)a0 output:(id)a1 original:(id)a2; - (BOOL)_didReceiveMessageDeliveryReceiptForMessageID:(id)a0 attempts:(long long)a1 date:(id)a2 account:(id)a3; - (void)_didReceiveMessagePlayedForMessageID:(id)a0 date:(id)a1 attempts:(long long)a2 completionBlock:(id /* block */)a3; - (void)_didReceiveMessagePlayedReceiptForMessageID:(id)a0 date:(id)a1 attempts:(long long)a2 completionBlock:(id /* block */)a3; - (void)_didReceiveMessageReadForMessageID:(id)a0 date:(id)a1 attempts:(long long)a2 completionBlock:(id /* block */)a3; - (void)_didReceiveMessageReadReceiptForMessageID:(id)a0 date:(id)a1 attempts:(long long)a2 completionBlock:(id /* block */)a3; - (void)_didReceiveMessageSavedForMessageID:(id)a0 ofType:(long long)a1 forChat:(id)a2 fromHandle:(id)a3 fromMe:(BOOL)a4 date:(id)a5 attempts:(long long)a6 account:(id)a7 completionBlock:(id /* block */)a8; - (void)_doLoginIgnoringProxy:(BOOL)a0; - (void)_doLoginIgnoringProxy:(BOOL)a0 withAccount:(id)a1; - (void)_expireStateTimerFired; - (id)_fetchMessagesFromChat:(id)a0 onService:(id)a1 numberOfMessages:(unsigned long long)a2; - (id)_guidForChat:(id)a0 style:(unsigned char)a1; - (void)_handleExpireStateDictionary:(id)a0; - (void)_handleFirewallUserNotificationDidFinish:(id)a0; - (void)_handleRoutingWithDictionary:(id)a0; - (void)_handleWatchdogWithDictionary:(id)a0; - (BOOL)_isMessageSWYSpamMessage:(id)a0 inChat:(id)a1; - (void)_login_checkUsernameAndPasswordWithAccount:(id)a0; - (void)_login_serverSettingsReadyWithAccount:(id)a0; - (void)_login_usernameAndPasswordReadyWithAccount:(id)a0; - (void)_mapRoomChatToGroupChat:(id *)a0 style:(unsigned char *)a1; - (void)_markChatAsDowngraded:(id)a0; - (void)_messageStoreCompletion:(BOOL)a0 inputMessage:(id)a1 outputMessage:(id)a2 originalMessage:(id)a3 completionBlock:(id /* block */)a4; - (void)_networkChanged:(id)a0; - (id)_predominantServiceForChat:(id)a0 usingMessageThreshold:(unsigned long long)a1; - (void)_processNetworkMonitorUpdate; - (void)_processPotentialNetworkChange; - (BOOL)_processesNetworkEvents; - (void)_reconnectIfNecessaryWithAccount:(id)a0; - (void)_removeChatGuidFromCoreDuet:(id)a0; - (void)_replicationSessionsChanged; - (void)_routingTimerFired; - (void)_setAutoReconnectTimer; - (void)_setOutgoingFlagsOnMessage:(id)a0; - (void)_setSortIDForMessage:(id)a0 forChat:(id)a1; - (id)_sharedAccountController; - (BOOL)_shouldBroadcastSendFailures; - (BOOL)_shouldDropSendingMessage; - (BOOL)_shouldShowSWYQuickActionForMessage:(id)a0 outAppName:(id *)a1 outBundleID:(id *)a2; - (BOOL)_storeMessage:(id)a0 chatIdentifier:(id)a1 localChat:(id)a2 style:(unsigned char)a3 account:(id)a4 messagesToPostArray:(id)a5; - (id)_transcodeController; - (void)_updateExpireStateForMessageGUID:(id)a0; - (void)_updateExpireStateTimerWithInterval:(double)a0; - (void)_updateInputMessage:(id)a0 forExistingMessage:(id)a1; - (void)_updateLastMessageTimeStampForChat:(id)a0 broadcaster:(id)a1; - (void)_updateNetworkMonitorFromAccountDefaultsIgnoringProxy:(BOOL)a0; - (void)_updateNetworkMonitorWithRemoteHost:(id)a0; - (void)_updateRoutingForMessageGUID:(id)a0 chatGUID:(id)a1 error:(unsigned int)a2 account:(id)a3; - (void)_updateRoutingTimerWithInterval:(double)a0; - (void)_updateWatchdogForMessageGUID:(id)a0; - (void)_updateWatchdogTimerWithInterval:(double)a0; - (void)_wentOfflineWithAccount:(id)a0; - (void)accountDefaultsChanged:(id)a0; - (void)autoReconnect; - (void)autoReconnectWithAccount:(id)a0; - (void)autoReplier:(id)a0 generatedAutoReplyText:(id)a1 forChat:(id)a2; - (void)autoReplier:(id)a0 receivedUrgentRequestForMessages:(id)a1; - (void)autoReplier:(id)a0 sendDeliveredQuietlyReceiptForMessages:(id)a1 forIncomingMessageFromIDSID:(id)a2 inChat:(id)a3 withWillSendToDestinationsHandler:(id /* block */)a4; - (void)autoReplier:(id)a0 sendNotifyRecipientCommandForMessages:(id)a1 inChat:(id)a2; - (void)beginBuddyChanges; - (id)bestCandidateGroupChatWithFromIdentifier:(id)a0 toIdentifier:(id)a1 displayName:(id)a2 participants:(id)a3 groupID:(id)a4; - (id)broadcasterForACConferenceListeners; - (id)broadcasterForAVConferenceListeners; - (id)broadcasterForChatListeners; - (id)broadcasterForChatListenersWithBlackholeStatus:(BOOL)a0; - (id)broadcasterForChatObserverListeners; - (id)broadcasterForNotificationsListeners; - (id)broadcasterForVCConferenceListeners; - (void)cancelVCRequestWithPerson:(id)a0 properties:(id)a1 conference:(id)a2; - (id)canonicalFormOfChatRoom:(id)a0; - (id)canonicalFormOfID:(id)a0 withIDSensitivity:(int)a1; - (void)canonicalizeChatIdentifier:(id *)a0 style:(unsigned char *)a1; - (void)changeGroup:(id)a0 changes:(id)a1; - (void)changeGroups:(id)a0; - (void)changeProperty:(id)a0 ofBuddy:(id)a1 to:(id)a2; - (id)chatForChatIdentifier:(id)a0 style:(unsigned char)a1; - (id)chatForChatIdentifier:(id)a0 style:(unsigned char)a1 account:(id)a2; - (id)chatForItemWithGUID:(id)a0; - (void)clearLocalProperties; - (void)clearPropertiesOfBuddy:(id)a0; - (void)closeSessionChatID:(id)a0 identifier:(id)a1 style:(unsigned char)a2; - (void)declineInvitationToChat:(id)a0 style:(unsigned char)a1; - (void)declineInvitationToChatID:(id)a0 identifier:(id)a1 style:(unsigned char)a2; - (void)deleteChatsForCommandDictionary:(id)a0; - (id)deleteCommandDictionaryWithIncomingDictionary:(id)a0 inferredRecoverableDeleteForLegacyCommandsWithDate:(id)a1; - (void)deleteMessagePartsForCommandDictionary:(id)a0; - (void)deleteMessagesForCommandDictionary:(id)a0; - (void)didChangeMemberStatus:(int)a0 forHandle:(id)a1 forChat:(id)a2 style:(unsigned char)a3; - (void)didChangeMemberStatus:(int)a0 forHandle:(id)a1 fromHandle:(id)a2 unformattedNumber:(id)a3 countryCode:(id)a4 forChat:(id)a5 style:(unsigned char)a6; - (void)didChangeMemberStatus:(int)a0 forHandle:(id)a1 fromHandle:(id)a2 unformattedNumber:(id)a3 countryCode:(id)a4 forChat:(id)a5 style:(unsigned char)a6 account:(id)a7; - (void)didChangeMemberStatus:(int)a0 forHandle:(id)a1 fromHandle:(id)a2 unformattedNumber:(id)a3 countryCode:(id)a4 forChat:(id)a5 style:(unsigned char)a6 account:(id)a7 destinationCallerID:(id)a8; - (void)didChangeMemberStatus:(int)a0 forHandle:(id)a1 unformattedNumber:(id)a2 countryCode:(id)a3 forChat:(id)a4 style:(unsigned char)a5; - (void)didJoinChat:(id)a0 style:(unsigned char)a1; - (void)didJoinChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 handleInfo:(id)a4; - (void)didJoinChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 handleInfo:(id)a4 account:(id)a5 isBlackholed:(BOOL)a6; - (void)didJoinChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 handleInfo:(id)a4 category:(long long)a5 spamExtensionName:(id)a6; - (void)didJoinChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 lastAddressedHandle:(id)a4 handleInfo:(id)a5; - (void)didJoinChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 lastAddressedHandle:(id)a4 lastAddressedSIMID:(id)a5 handleInfo:(id)a6; - (void)didJoinChat:(id)a0 style:(unsigned char)a1 handleInfo:(id)a2; - (void)didJoinChat:(id)a0 style:(unsigned char)a1 handleInfo:(id)a2 account:(id)a3; - (void)didJoinReadOnlyChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 handleInfo:(id)a4 category:(long long)a5 spamExtensionName:(id)a6; - (void)didLeaveChat:(id)a0 style:(unsigned char)a1; - (void)didLeaveChat:(id)a0 style:(unsigned char)a1 account:(id)a2; - (void)didReceiveBalloonPayload:(id)a0 forChat:(id)a1 style:(unsigned char)a2 messageGUID:(id)a3 account:(id)a4; - (void)didReceiveDisplayNameChange:(id)a0 fromID:(id)a1 toIdentifier:(id)a2 forChat:(id)a3 style:(unsigned char)a4 account:(id)a5; - (void)didReceiveDisplayNameChange:(id)a0 fromID:(id)a1 toIdentifier:(id)a2 forChat:(id)a3 style:(unsigned char)a4 account:(id)a5 sender:(id)a6; - (void)didReceiveError:(unsigned int)a0 forMessageID:(id)a1 forceError:(BOOL)a2; - (void)didReceiveError:(unsigned int)a0 forMessageID:(id)a1 forceError:(BOOL)a2 account:(id)a3; - (void)didReceiveErrorMessage:(id)a0 forChat:(id)a1 style:(unsigned char)a2; - (void)didReceiveInvitation:(id)a0 forChat:(id)a1 style:(unsigned char)a2; - (void)didReceiveMessage:(id)a0 forChat:(id)a1 style:(unsigned char)a2 account:(id)a3 fromIDSID:(id)a4; - (void)didReceiveMessage:(id)a0 forChat:(id)a1 style:(unsigned char)a2 fromIDSID:(id)a3; - (BOOL)didReceiveMessageDeliveryReceiptForMessageID:(id)a0 date:(id)a1; - (BOOL)didReceiveMessageDeliveryReceiptForMessageID:(id)a0 date:(id)a1 account:(id)a2; - (void)didReceiveMessageEditingSendFailure:(unsigned int)a0 forMessageGUID:(id)a1 partIndex:(long long)a2 editType:(unsigned long long)a3; - (void)didReceiveMessageEditingUnsupportedHandleIDs:(id)a0 forMessageGUID:(id)a1 partIndex:(long long)a2 previousMessage:(id)a3 backwardCompatibilityMessageGUID:(id)a4; - (void)didReceiveMessagePlayedForMessageID:(id)a0 date:(id)a1 completionBlock:(id /* block */)a2; - (void)didReceiveMessagePlayedReceiptForMessageID:(id)a0 date:(id)a1 completionBlock:(id /* block */)a2; - (void)didReceiveMessageReadForMessageID:(id)a0 date:(id)a1 completionBlock:(id /* block */)a2; - (void)didReceiveMessageReadReceiptForMessageID:(id)a0 date:(id)a1 completionBlock:(id /* block */)a2; - (void)didReceiveMessageSavedForMessageID:(id)a0 ofType:(long long)a1 forChat:(id)a2 fromHandle:(id)a3 fromMe:(BOOL)a4 date:(id)a5 account:(id)a6 completionBlock:(id /* block */)a7; - (void)didReceiveReplaceMessageID:(int)a0 forChat:(id)a1 style:(unsigned char)a2; - (void)didSendBalloonPayload:(id)a0 forChat:(id)a1 style:(unsigned char)a2 messageGUID:(id)a3 account:(id)a4 completionBlock:(id /* block */)a5; - (void)didSendDeliveredQuietlyReceiptForMessageID:(id)a0; - (void)didSendDeliveredQuietlyReceiptForMessageID:(id)a0 account:(id)a1; - (void)didSendMessage:(id)a0 forChat:(id)a1 style:(unsigned char)a2; - (void)didSendMessage:(id)a0 forChat:(id)a1 style:(unsigned char)a2 account:(id)a3 forceDate:(id)a4; - (void)didSendMessage:(id)a0 forChat:(id)a1 style:(unsigned char)a2 account:(id)a3 forceDate:(id)a4 itemIsComingFromStorage:(BOOL)a5; - (void)didSendMessage:(id)a0 forChat:(id)a1 style:(unsigned char)a2 forceDate:(id)a3; - (void)didSendMessageEditForMessageGUID:(id)a0; - (void)didSendMessagePlayedReceiptForMessageID:(id)a0; - (void)didSendMessagePlayedReceiptForMessageID:(id)a0 account:(id)a1; - (void)didSendMessageReadReceiptForMessageID:(id)a0; - (void)didSendMessageReadReceiptForMessageID:(id)a0 account:(id)a1; - (void)didSendMessageSavedReceiptForMessageID:(id)a0; - (void)didSendMessageSavedReceiptForMessageID:(id)a0 account:(id)a1; - (void)didSendNotifyRecipientCommandForMessageID:(id)a0; - (void)didSendNotifyRecipientCommandForMessageID:(id)a0 account:(id)a1; - (void)didSendSyndicationActionItem:(id)a0 forChat:(id)a1; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 account:(id)a3; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 displayName:(id)a3 groupID:(id)a4 handleInfo:(id)a5; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 displayName:(id)a3 groupID:(id)a4 handleInfo:(id)a5 account:(id)a6 category:(long long)a7 spamExtensionName:(id)a8; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 displayName:(id)a3 groupID:(id)a4 handleInfo:(id)a5 account:(id)a6 isBlackholed:(BOOL)a7; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 displayName:(id)a3 groupID:(id)a4 lastAddressedHandle:(id)a5 handleInfo:(id)a6; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 displayName:(id)a3 groupID:(id)a4 lastAddressedHandle:(id)a5 lastAddressedSIMID:(id)a6 handleInfo:(id)a7; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 displayName:(id)a3 groupID:(id)a4 lastAddressedHandle:(id)a5 lastAddressedSIMID:(id)a6 handleInfo:(id)a7 account:(id)a8 category:(long long)a9 spamExtensionName:(id)a10 isBlackholed:(BOOL)a11; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 displayName:(id)a3 groupID:(id)a4 lastAddressedHandle:(id)a5 lastAddressedSIMID:(id)a6 handleInfo:(id)a7 account:(id)a8 isBlackholed:(BOOL)a9; - (void)didUpdateChatStatus:(int)a0 chat:(id)a1 style:(unsigned char)a2 handleInfo:(id)a3; - (void)disallowReconnection; - (id)existingChatForID:(id)a0; - (id)existingChatsForGroupID:(id)a0; - (id)existingChatsForIDs:(id)a0 style:(unsigned char)a1; - (void)invitePerson:(id)a0 withMessage:(id)a1 toChat:(id)a2 style:(unsigned char)a3; - (void)invitePersonInfo:(id)a0 withMessage:(id)a1 toChatID:(id)a2 identifier:(id)a3 style:(unsigned char)a4; - (void)invitePersonInfoToiMessageChat:(id)a0 withMessage:(id)a1 toChatID:(id)a2 identifier:(id)a3 style:(unsigned char)a4; - (void)joinChat:(id)a0 style:(unsigned char)a1 groupID:(id)a2 joinProperties:(id)a3; - (void)joinChat:(id)a0 style:(unsigned char)a1 joinProperties:(id)a2; - (void)joinChatID:(id)a0 handleInfo:(id)a1 identifier:(id)a2 style:(unsigned char)a3 groupID:(id)a4 lastAddressedHandle:(id)a5 lastAddressedSIMID:(id)a6 joinProperties:(id)a7; - (void)leaveChatID:(id)a0 identifier:(id)a1 style:(unsigned char)a2; - (void)leaveiMessageChatID:(id)a0 identifier:(id)a1 style:(unsigned char)a2; - (id)localPropertiesOfBuddy:(id)a0; - (id)localProperty:(id)a0 ofBuddy:(id)a1; - (void)loginWithAccount:(id)a0; - (void)logoutWithAccount:(id)a0; - (void)markBuddiesAsChanged:(id)a0; - (void)notifyDidSendMessageID:(id)a0; - (void)notifyDidSendMessageID:(id)a0 account:(id)a1 shouldNotify:(BOOL)a2; - (void)notifyDidSendMessageID:(id)a0 shouldNotify:(BOOL)a1; - (id)otcUtilities; - (id)pictureKeyForBuddy:(id)a0; - (void)processMessageForSending:(id)a0 toChat:(id)a1 style:(unsigned char)a2 allowWatchdog:(BOOL)a3 account:(id)a4 completionBlock:(id /* block */)a5; - (id)property:(id)a0 ofBuddy:(id)a1; - (void)recoverChatsForCommandDictionary:(id)a0; - (void)registerChat:(id)a0 groupID:(id)a1 style:(unsigned char)a2; - (void)registerChat:(id)a0 style:(unsigned char)a1; - (void)registerChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 handleInfo:(id)a4; - (void)registerChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 handleInfo:(id)a4 account:(id)a5; - (void)registerChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 lastAddressedHandle:(id)a4 handleInfo:(id)a5 account:(id)a6 isBlackholed:(BOOL)a7; - (void)registerChat:(id)a0 style:(unsigned char)a1 displayName:(id)a2 groupID:(id)a3 lastAddressedHandle:(id)a4 lastAddressedSIMID:(id)a5 handleInfo:(id)a6 account:(id)a7 isBlackholed:(BOOL)a8; - (void)registerChat:(id)a0 style:(unsigned char)a1 handleInfo:(id)a2; - (void)removeChat:(id)a0 style:(unsigned char)a1; - (void)removeChatID:(id)a0 identifier:(id)a1 style:(unsigned char)a2; - (void)requestSubscriptionTo:(id)a0; - (void)sendCounterProposalToPerson:(id)a0 properties:(id)a1 conference:(id)a2; - (void)sendMessage:(id)a0 toChatID:(id)a1 identifier:(id)a2 style:(unsigned char)a3; - (void)sendNicknameInfoToChatID:(id)a0; - (void)sendVCUpdate:(id)a0 toPerson:(id)a1 conference:(id)a2; - (void)serviceSessionDidLoginWithAccount:(id)a0; - (void)serviceSessionDidLogoutWithAccount:(id)a0; - (void)serviceSessionDidLogoutWithMessage:(id)a0 reason:(int)a1 properties:(id)a2 account:(id)a3; - (void)setProperties:(id)a0 ofParticipant:(id)a1 inChat:(id)a2 style:(unsigned char)a3; - (void)setProperties:(id)a0 ofParticipant:(id)a1 inChatID:(id)a2 identifier:(id)a3 style:(unsigned char)a4; - (void)setRegistrationStatus:(int)a0 error:(int)a1 alertInfo:(id)a2; - (void)setValue:(id)a0 ofProperty:(id)a1 ofPerson:(id)a2; - (BOOL)shouldImitateGroupChatUsingChatRooms; - (BOOL)shouldInferRecoverableDeleteForCommandDictionary:(id)a0; - (Class)spotlightItemRecorderClass; - (void)startWatchingBuddy:(id)a0; - (void)stopWatchingBuddy:(id)a0; - (void)storeItem:(id)a0 toChat:(id)a1 style:(unsigned char)a2; - (void)storeMessage:(id)a0 forceReplace:(BOOL)a1 modifyError:(BOOL)a2 modifyFlags:(BOOL)a3 calculateUnreadCount:(BOOL)a4 flagMask:(unsigned long long)a5 shouldStoreBlock:(id /* block */)a6 didStoreBlock:(id /* block */)a7 block:(id /* block */)a8; - (BOOL)testOverrideTextValidationDidFail; - (void)updateChatGUID:(id)a0 withLastReadTimeStamp:(long long)a1 withLastSeenMessageGUID:(id)a2 fromMe:(BOOL)a3; - (void)useChatRoom:(id)a0 forGroupChatIdentifier:(id)a1; - (BOOL)warnIfPortBlocked:(int)a0 forAction:(id)a1; @end