This controller holds the user-related data regarding a WhatsappWeb session
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe status of the user linked to this account.private booleanWhether listeners should be automatically scanned and registered or notprivate booleanWhether updates about the presence of the session should be sent automatically to Whatsapp For example, when the bot is started, the status of the companion is changed to available if this option is enabled If this option is enabled, the companion will not receive notifications because the bot will instantly read themprivate StringThe address of this account, if it's a business accountprivate BusinessCategoryThe category of this account, if it's a business accountprivate StringThe description of this account, if it's a business accountprivate StringThe email of this account, if it's a business accountprivate DoubleThe latitude of this account's location, if it's a business accountprivate DoubleThe longitude of this account's location, if it's a business accountprivate StringThe website of this account, if it's a business accountprivate booleanWhether the listeners that were automatically scanned should be cachedprivate final ConcurrentHashMap<String, Call> The non-null map of callsprivate final ConcurrentHashMap<Jid, Chat> The non-null map of chatsprivate booleanWhether the mac of every app state request should be checkedprivate final ConcurrentHashMap<Jid, Contact> The non-null map of contactsprivate CompanionDeviceMetadata about the device that is being simulated for Whatsappprivate StringThe hash of the companion associated with this sessionprivate WebHistoryLengthDescribes how much chat history Whatsapp should sendprivate final longThe timestampSeconds in seconds for the initialization of this objectprivate JidThe user linked to this account.private JidThe lid user linked to this account.private LinkedHashMap<Jid, Integer> A map of all the devices that the companion has associated using WhatsappWeb The key here is the index of the device's key The value is the device's companion jidprivate final ConcurrentHashMap.KeySetView<Listener, Boolean> The non-null list of listenersprivate CountryLocaleThe locale of the user linked to this accountprivate MediaConnectionThe media connection associated with this storeprivate final CountDownLatchThe media connection latch associated with this storeprivate StringThe name of the user linked to this account.private ChatEphemeralTimerThe request tag, used to create messagesprivate final ConcurrentHashMap<Jid, Newsletter> The non-null map of newslettersprivate booleanWhether this account is online for other usersprivate final ConcurrentHashMap<PrivacySettingType, PrivacySettingEntry> The non-null map of privacy settingsprivate URIThe profile picture of the user linked to this account.private final ConcurrentHashMap<String, String> The non-null map of properties received by whatsappprivate URIThe version used by this sessionprivate UserAgent.ReleaseChannelThe release channel to use when connecting to Whatsapp This should allow the use of beta featuresprivate final ConcurrentHashMap<String, CompletableFuture<ChatMessageInfo>> The non-null list of replies waiting to be fulfilledprivate final ConcurrentHashMap<String, it.auties.whatsapp.socket.SocketRequest> The non-null list of requests that were sent to Whatsapp.private final ConcurrentHashMap<Jid, ConcurrentHashMap<String, ChatMessageInfo>> The non-null list of status messagesprivate final StringThe request tag, used to create messagesprivate TextPreviewSettingThe setting to use when generating previews for text messages that contain linksprivate booleanWhether the twenty-hours format is being used by the clientprivate booleanWhether chats should be unarchived if a new message arrivesprivate FutureReference<Version> The version used by this sessionFields inherited from class it.auties.whatsapp.controller.Controller
alias, clientType, serializer, uuid -
Constructor Summary
ConstructorsConstructorDescriptionStore(UUID uuid, PhoneNumber phoneNumber, ControllerSerializer serializer, ClientType clientType, Collection<String> alias, URI proxy, FutureReference<Version> version, boolean online, CountryLocale locale, String name, String businessAddress, Double businessLongitude, Double businessLatitude, String businessDescription, String businessWebsite, String businessEmail, BusinessCategory businessCategory, String deviceHash, LinkedHashMap<Jid, Integer> linkedDevicesKeys, URI profilePicture, String about, Jid jid, Jid lid, ConcurrentHashMap<String, String> properties, ConcurrentHashMap<Jid, Contact> contacts, ConcurrentHashMap<Jid, ConcurrentHashMap<String, ChatMessageInfo>> status, ConcurrentHashMap<Jid, Newsletter> newsletters, ConcurrentHashMap<PrivacySettingType, PrivacySettingEntry> privacySettings, ConcurrentHashMap<String, Call> calls, boolean unarchiveChats, boolean twentyFourHourFormat, long initializationTimeStamp, ChatEphemeralTimer newChatsEphemeralTimer, TextPreviewSetting textPreviewSetting, WebHistoryLength historyLength, boolean autodetectListeners, boolean cacheDetectedListeners, boolean automaticPresenceUpdates, UserAgent.ReleaseChannel releaseChannel, CompanionDevice device, boolean checkPatchMacs) All args constructor -
Method Summary
Modifier and TypeMethodDescriptionabout()Adds a call to the storeAdds a chat in memoryaddChatDirect(Chat chat) Adds a chat in memory without executing any checkaddContact(Contact contact) Adds a contact in memoryaddContact(Jid jid) Adds a contact in memoryaddLinkedDevice(Jid companion, int keyId) Registers a new companion Only use this method in the mobile apiaddListener(Listener listener) Registers a listeneraddListeners(Collection<Listener> listeners) Registers a collection of listenersaddNewChat(Jid chatJid) Adds a chat in memoryaddNewsletter(Newsletter newsletter) Adds a newsletter in memoryaddPendingReply(String messageId) Adds a replay handler to this storeaddPrivacySetting(PrivacySettingType type, PrivacySettingEntry entry) Sets the privacy setting entry for a typevoidaddProperties(Map<String, String> properties) addRequest(it.auties.whatsapp.socket.SocketRequest request) Adds a request to this storeaddStatus(ChatMessageInfo info) Adds a status to this storebooleanbooleanReturns all the blocked contactsThe address of this account, if it's a business accountThe category of this account, if it's a business accountThe description of this account, if it's a business accountThe email of this account, if it's a business accountThe latitude of this account's location, if it's a business accountThe longitude of this account's location, if it's a business accountThe website of this account, if it's a business accountbooleanchats()Returns all the chats sorted from newest to oldestbooleancontacts()Returns all the contactsprivate it.auties.whatsapp.socket.SocketRequestdeleteAndComplete(it.auties.whatsapp.socket.SocketRequest request, Node response, boolean exceptionally) device()voiddispose()Disposes this objectfindCallById(String callId) Finds a call by idfindChatBy(Function<Chat, Boolean> function) Queries the first chat that matches the provided functionfindChatByJid(JidProvider jid) Queries the first chat whose jid is equal tojidfindChatByName(String name) Queries the first chat whose name is equal tonamefindChatsBy(Function<Chat, Boolean> function) Queries the first chat that matches the provided functionfindChatsByName(String name) Queries every chat whose name is equal tonamefindChatsByNameStream(String name) Queries the first contact whose jid is equal tojidfindContactByName(String name) Queries the first contact whose name is equal tonamefindContactsByName(String name) Queries every contact whose name is equal tonamefindContactsStream(String name) findMessageById(Chat chat, String id) Queries the first message whose id matches the one provided in the specified chatOptional<? extends MessageStatusInfo<?>> findMessageById(JidProvider provider, String id) Queries the first message whose id matches the one provided in the specified chat or newsletterfindMessageById(Newsletter newsletter, String id) Queries the first message whose id matches the one provided in the specified newsletterQueries the first message whose id matches the one provided in the specified chatfindNewsletterBy(Function<Newsletter, Boolean> function) Queries the first newsletter that matches the provided functionQueries the first newsletter whose jid is equal tojidfindNewsletterByName(String name) Queries the first newsletter whose name is equal tonamefindNewslettersByName(String name) Queries every newsletter whose name is equal tonameprivate Stream<Newsletter> Optional<it.auties.whatsapp.socket.SocketRequest> Queries the first request whose id is equal toidQueries the privacy setting entry for the typeQueries all the status of a contactlongjid()private voidjoinMessages(Chat chat, Chat oldChat) lid()Returns an unmodifiable list that contains the devices associated using Whatsapp web to this session's companionReturns an unmodifiable map that contains every companion associated using Whatsapp web mapped to its key indexReturns an immutable collection of listenerslocale()The media connection associated with this storemediaConnection(Duration timeout) The media connection associated with this storename()Returns all the newslettersbooleanonline()Collection<it.auties.whatsapp.socket.SocketRequest> Returns an immutable collection of pending requestsReturns the chats pinned to the top sorted new to oldQueries all the privacy settingsReturns the profile picture of this user if presentReturns the non-null map of properties received by whatsappproxy()Returns the proxy used by this sessionremoveChat(JidProvider chatJid) Removes a chat from memoryremoveContact(JidProvider contactJid) Removes a contact from memoryremoveLinkedCompanion(Jid companion) Removes a companion Only use this method in the mobile apivoidRemoves all linked companionRemoves all listenersremoveListener(Listener listener) Removes a listenerremoveNewsletter(JidProvider newsletterJid) Removes a newsletter from memoryvoidClears all the data that this object holds and closes the pending requestsbooleanresolvePendingReply(ChatMessageInfo response) Queries the first reply waiting and completes it with the input messagebooleanresolvePendingRequest(Node response, boolean exceptionally) Queries the first request whose id equals the one stored by the newsletters and, if any is found, it completes itvoidserialize(boolean async) Serializes this objectsetAutodetectListeners(boolean autodetectListeners) setAutomaticPresenceUpdates(boolean automaticPresenceUpdates) setBusinessAddress(String businessAddress) setBusinessCategory(BusinessCategory businessCategory) setBusinessDescription(String businessDescription) setBusinessEmail(String businessEmail) setBusinessLatitude(Double businessLatitude) setBusinessLongitude(Double businessLongitude) setBusinessWebsite(String businessWebsite) voidsetCacheDetectedListeners(boolean cacheDetectedListeners) setCheckPatchMacs(boolean checkPatchMacs) setDevice(CompanionDevice device) setDeviceHash(String deviceHash) setHistoryLength(WebHistoryLength historyLength) setLinkedDevicesKeys(LinkedHashMap<Jid, Integer> linkedDevicesKeys) setLocale(CountryLocale locale) setMediaConnection(MediaConnection mediaConnection) Writes a media connectionsetNewChatsEphemeralTimer(ChatEphemeralTimer newChatsEphemeralTimer) setOnline(boolean online) setProfilePicture(URI profilePicture) Sets the proxy used by this sessionsetReleaseChannel(UserAgent.ReleaseChannel releaseChannel) setTextPreviewSetting(TextPreviewSetting textPreviewSetting) setTwentyFourHourFormat(boolean twentyFourHourFormat) setUnarchiveChats(boolean unarchiveChats) setVersion(Version version) Returns all the starred messagesstatus()Returns all the statustag()booleanbooleanversion()Methods inherited from class it.auties.whatsapp.controller.Controller
addAlias, alias, clientType, deleteSession, phoneNumber, removeAlias, removeAlias, serializer, setPhoneNumber, setSerializer, toJson, uuid
-
Field Details
-
proxy
The version used by this session -
version
The version used by this session -
online
private boolean onlineWhether this account is online for other users -
locale
The locale of the user linked to this account -
name
The name of the user linked to this account. This field will be null while the user hasn't logged in yet. Assumed to be non-null otherwise. -
businessAddress
The address of this account, if it's a business account -
businessLongitude
The longitude of this account's location, if it's a business account -
businessLatitude
The latitude of this account's location, if it's a business account -
businessDescription
The description of this account, if it's a business account -
businessWebsite
The website of this account, if it's a business account -
businessEmail
The email of this account, if it's a business account -
businessCategory
The category of this account, if it's a business account -
deviceHash
The hash of the companion associated with this session -
linkedDevicesKeys
A map of all the devices that the companion has associated using WhatsappWeb The key here is the index of the device's key The value is the device's companion jid -
profilePicture
The profile picture of the user linked to this account. This field will be null while the user hasn't logged in yet. This field can also be null if no image was set. -
about
The status of the user linked to this account. This field will be null while the user hasn't logged in yet. Assumed to be non-null otherwise. -
jid
The user linked to this account. This field will be null while the user hasn't logged in yet. -
lid
The lid user linked to this account. This field will be null while the user hasn't logged in yet. -
properties
The non-null map of properties received by whatsapp -
chats
The non-null map of chats -
contacts
The non-null map of contacts -
status
The non-null list of status messages -
newsletters
The non-null map of newsletters -
privacySettings
The non-null map of privacy settings -
calls
The non-null map of calls -
unarchiveChats
private boolean unarchiveChatsWhether chats should be unarchived if a new message arrives -
twentyFourHourFormat
private boolean twentyFourHourFormatWhether the twenty-hours format is being used by the client -
requests
The non-null list of requests that were sent to Whatsapp. They might or might not be waiting for a newsletters -
replyHandlers
The non-null list of replies waiting to be fulfilled -
listeners
The non-null list of listeners -
tag
The request tag, used to create messages -
initializationTimeStamp
private final long initializationTimeStampThe timestampSeconds in seconds for the initialization of this object -
mediaConnection
The media connection associated with this store -
mediaConnectionLatch
The media connection latch associated with this store -
newChatsEphemeralTimer
The request tag, used to create messages -
textPreviewSetting
The setting to use when generating previews for text messages that contain links -
historyLength
Describes how much chat history Whatsapp should send -
autodetectListeners
private boolean autodetectListenersWhether listeners should be automatically scanned and registered or not -
cacheDetectedListeners
private boolean cacheDetectedListenersWhether the listeners that were automatically scanned should be cached -
automaticPresenceUpdates
private boolean automaticPresenceUpdatesWhether updates about the presence of the session should be sent automatically to Whatsapp For example, when the bot is started, the status of the companion is changed to available if this option is enabled If this option is enabled, the companion will not receive notifications because the bot will instantly read them -
releaseChannel
The release channel to use when connecting to Whatsapp This should allow the use of beta features -
device
Metadata about the device that is being simulated for Whatsapp -
checkPatchMacs
private boolean checkPatchMacsWhether the mac of every app state request should be checked
-
-
Constructor Details
-
Store
public Store(UUID uuid, PhoneNumber phoneNumber, ControllerSerializer serializer, ClientType clientType, Collection<String> alias, URI proxy, FutureReference<Version> version, boolean online, CountryLocale locale, String name, String businessAddress, Double businessLongitude, Double businessLatitude, String businessDescription, String businessWebsite, String businessEmail, BusinessCategory businessCategory, String deviceHash, LinkedHashMap<Jid, Integer> linkedDevicesKeys, URI profilePicture, String about, Jid jid, Jid lid, ConcurrentHashMap<String, String> properties, ConcurrentHashMap<Jid, Contact> contacts, ConcurrentHashMap<Jid, ConcurrentHashMap<String, ChatMessageInfo>> status, ConcurrentHashMap<Jid, Newsletter> newsletters, ConcurrentHashMap<PrivacySettingType, PrivacySettingEntry> privacySettings, ConcurrentHashMap<String, Call> calls, boolean unarchiveChats, boolean twentyFourHourFormat, long initializationTimeStamp, ChatEphemeralTimer newChatsEphemeralTimer, TextPreviewSetting textPreviewSetting, WebHistoryLength historyLength, boolean autodetectListeners, boolean cacheDetectedListeners, boolean automaticPresenceUpdates, UserAgent.ReleaseChannel releaseChannel, CompanionDevice device, boolean checkPatchMacs) All args constructor
-
-
Method Details
-
findContactByJid
Queries the first contact whose jid is equal tojid- Parameters:
jid- the jid to search- Returns:
- a non-null optional
-
findContactByName
Queries the first contact whose name is equal toname- Parameters:
name- the name to search- Returns:
- a non-null optional
-
findContactsStream
-
contacts
Returns all the contacts- Returns:
- an immutable collection
-
findContactsByName
Queries every contact whose name is equal toname- Parameters:
name- the name to search- Returns:
- a non-null immutable set
-
findMessageByKey
Queries the first message whose id matches the one provided in the specified chat- Parameters:
key- the key to search- Returns:
- a non-null optional
-
findMessageById
Queries the first message whose id matches the one provided in the specified chat or newsletter- Parameters:
provider- the chat to search inid- the jid to search- Returns:
- a non-null optional
-
findMessageById
Queries the first message whose id matches the one provided in the specified newsletter- Parameters:
newsletter- newsletter chat to search inid- the jid to search- Returns:
- a non-null optional
-
findMessageById
Queries the first message whose id matches the one provided in the specified chat- Parameters:
chat- the chat to search inid- the jid to search- Returns:
- a non-null optional
-
findChatByJid
Queries the first chat whose jid is equal tojid- Parameters:
jid- the jid to search- Returns:
- a non-null optional
-
findNewsletterByJid
Queries the first newsletter whose jid is equal tojid- Parameters:
jid- the jid to search- Returns:
- a non-null optional
-
findChatByName
Queries the first chat whose name is equal toname- Parameters:
name- the name to search- Returns:
- a non-null optional
-
findNewsletterByName
Queries the first newsletter whose name is equal toname- Parameters:
name- the name to search- Returns:
- a non-null optional
-
findChatsByNameStream
-
findNewslettersByNameStream
-
findChatBy
Queries the first chat that matches the provided function- Parameters:
function- the non-null filter- Returns:
- a non-null optional
-
findNewsletterBy
Queries the first newsletter that matches the provided function- Parameters:
function- the non-null filter- Returns:
- a non-null optional
-
findChatsByName
Queries every chat whose name is equal toname- Parameters:
name- the name to search- Returns:
- a non-null immutable set
-
findNewslettersByName
Queries every newsletter whose name is equal toname- Parameters:
name- the name to search- Returns:
- a non-null immutable set
-
findChatsBy
Queries the first chat that matches the provided function- Parameters:
function- the non-null filter- Returns:
- a non-null optional
-
status
Returns all the status- Returns:
- an immutable collection
-
newsletters
Returns all the newsletters- Returns:
- an immutable collection
-
findStatusBySender
Queries all the status of a contact- Parameters:
jid- the sender of the status- Returns:
- a non-null immutable list
-
resolvePendingRequest
Queries the first request whose id equals the one stored by the newsletters and, if any is found, it completes it- Parameters:
response- the newsletters to complete the request withexceptionally- whether the newsletters is erroneous- Returns:
- a boolean
-
findPendingRequest
Queries the first request whose id is equal toid- Parameters:
id- the id to search, can be null- Returns:
- a non-null optional
-
deleteAndComplete
private it.auties.whatsapp.socket.SocketRequest deleteAndComplete(it.auties.whatsapp.socket.SocketRequest request, Node response, boolean exceptionally) -
resolveAllPendingRequests
public void resolveAllPendingRequests()Clears all the data that this object holds and closes the pending requests -
pendingRequests
Returns an immutable collection of pending requests- Returns:
- a non-null collection
-
resolvePendingReply
Queries the first reply waiting and completes it with the input message- Parameters:
response- the newsletters to complete the reply with- Returns:
- a boolean
-
addNewChat
Adds a chat in memory- Parameters:
chatJid- the chat to add- Returns:
- the input chat
-
addChat
Adds a chat in memory- Parameters:
chat- the chat to add- Returns:
- the old chat, if present
-
joinMessages
-
addChatDirect
Adds a chat in memory without executing any check- Parameters:
chat- the chat to add- Returns:
- the old chat, if present
-
addContact
Adds a contact in memory- Parameters:
jid- the contact to add- Returns:
- the input contact
-
addContact
Adds a contact in memory- Parameters:
contact- the contact to add- Returns:
- the input contact
-
addNewsletter
Adds a newsletter in memory- Parameters:
newsletter- the newsletter to add- Returns:
- the old newsletter, if present
-
removeChat
Removes a chat from memory- Parameters:
chatJid- the chat to remove- Returns:
- the chat that was deleted wrapped by an optional
-
removeNewsletter
Removes a newsletter from memory- Parameters:
newsletterJid- the newsletter to remove- Returns:
- the newsletter that was deleted wrapped by an optional
-
removeContact
Removes a contact from memory- Parameters:
contactJid- the contact to remove- Returns:
- the contact that was deleted wrapped by an optional
-
pinnedChats
Returns the chats pinned to the top sorted new to old- Returns:
- a non-null list of chats
-
starredMessages
Returns all the starred messages- Returns:
- a non-null list of messages
-
chats
Returns all the chats sorted from newest to oldest- Returns:
- an immutable collection
-
properties
Returns the non-null map of properties received by whatsapp- Returns:
- an unmodifiable map
-
addProperties
-
mediaConnection
The media connection associated with this store- Returns:
- the media connection
-
mediaConnection
The media connection associated with this store- Parameters:
timeout- the non-null timeout for the connection to be filled- Returns:
- the media connection
-
setMediaConnection
Writes a media connection- Parameters:
mediaConnection- a media connection- Returns:
- the same instance
-
blockedContacts
Returns all the blocked contacts- Returns:
- an immutable collection
-
addStatus
Adds a status to this store- Parameters:
info- the non-null status to add- Returns:
- the same instance
-
addRequest
Adds a request to this store- Parameters:
request- the non-null request to add- Returns:
- the non-null completable newsletters of the request
-
addPendingReply
Adds a replay handler to this store- Parameters:
messageId- the non-null message id to listen for- Returns:
- the non-null completable newsletters of the reply handler
-
profilePicture
Returns the profile picture of this user if present- Returns:
- an optional uri
-
privacySettings
Queries all the privacy settings- Returns:
- a non-null list
-
findPrivacySetting
Queries the privacy setting entry for the type- Parameters:
type- a non-null type- Returns:
- a non-null entry
-
addPrivacySetting
Sets the privacy setting entry for a type- Parameters:
type- a non-null typeentry- the non-null entry- Returns:
- the old privacy setting entry
-
linkedDevicesKeys
Returns an unmodifiable map that contains every companion associated using Whatsapp web mapped to its key index- Returns:
- an unmodifiable map
-
linkedDevices
Returns an unmodifiable list that contains the devices associated using Whatsapp web to this session's companion- Returns:
- an unmodifiable list
-
addLinkedDevice
Registers a new companion Only use this method in the mobile api- Parameters:
companion- a non-null companionkeyId- the id of its key- Returns:
- the nullable old key
-
removeLinkedCompanion
Removes a companion Only use this method in the mobile api- Parameters:
companion- a non-null companion- Returns:
- the nullable old key
-
removeLinkedCompanions
public void removeLinkedCompanions()Removes all linked companion -
listeners
Returns an immutable collection of listeners- Returns:
- a non-null collection
-
addListener
Registers a listener- Parameters:
listener- the listener to register- Returns:
- the same instance
-
addListeners
Registers a collection of listeners- Parameters:
listeners- the listeners to register- Returns:
- the same instance
-
removeListener
Removes a listener- Parameters:
listener- the listener to remove- Returns:
- the same instance
-
removeListener
Removes all listeners- Returns:
- the same instance
-
setProxy
Sets the proxy used by this session- Returns:
- the same instance
-
proxy
Returns the proxy used by this session- Returns:
- a non-null optional
-
businessAddress
The address of this account, if it's a business account- Returns:
- an optional
-
businessLongitude
The longitude of this account's location, if it's a business account- Returns:
- an optional
-
businessLatitude
The latitude of this account's location, if it's a business account- Returns:
- an optional
-
businessDescription
The description of this account, if it's a business account- Returns:
- an optional
-
businessWebsite
The website of this account, if it's a business account- Returns:
- an optional
-
businessEmail
The email of this account, if it's a business account- Returns:
- an optional
-
businessCategory
The category of this account, if it's a business account- Returns:
- an optional
-
dispose
public void dispose()Description copied from class:ControllerDisposes this object- Specified by:
disposein classController<Store>
-
serialize
public void serialize(boolean async) Description copied from class:ControllerSerializes this object- Specified by:
serializein classController<Store>- Parameters:
async- whether the operation should be executed asynchronously
-
addCall
Adds a call to the store- Parameters:
call- a non-null call- Returns:
- the old value associated with
Call.id()
-
findCallById
Finds a call by id- Parameters:
callId- the id of the call, can be null- Returns:
- an optional
-
tag
-
version
-
online
public boolean online() -
locale
-
name
-
deviceHash
-
about
-
jid
-
lid
-
unarchiveChats
public boolean unarchiveChats() -
twentyFourHourFormat
public boolean twentyFourHourFormat() -
initializationTimeStamp
public long initializationTimeStamp() -
newChatsEphemeralTimer
-
textPreviewSetting
-
historyLength
-
autodetectListeners
public boolean autodetectListeners() -
cacheDetectedListeners
public boolean cacheDetectedListeners() -
automaticPresenceUpdates
public boolean automaticPresenceUpdates() -
releaseChannel
-
device
-
checkPatchMacs
public boolean checkPatchMacs() -
setOnline
-
setLocale
-
setName
-
setBusinessAddress
-
setBusinessLongitude
-
setBusinessLatitude
-
setBusinessDescription
-
setBusinessWebsite
-
setBusinessEmail
-
setBusinessCategory
-
setDeviceHash
-
setLinkedDevicesKeys
-
setProfilePicture
-
setAbout
-
setJid
-
setLid
-
setUnarchiveChats
-
setTwentyFourHourFormat
-
setNewChatsEphemeralTimer
-
setTextPreviewSetting
-
setHistoryLength
-
setAutodetectListeners
-
setCacheDetectedListeners
public void setCacheDetectedListeners(boolean cacheDetectedListeners) -
setAutomaticPresenceUpdates
-
setReleaseChannel
-
setDevice
-
setCheckPatchMacs
-
setVersion
-