Uses of Class
it.auties.whatsapp.model.contact.Contact
Packages that use Contact
Package
Description
-
Uses of Contact in it.auties.whatsapp.controller
Methods in it.auties.whatsapp.controller that return ContactModifier and TypeMethodDescriptionStore.addContact
(@NonNull Contact contact) Adds a contact in memoryStore.addContact
(@NonNull ContactJid contactJid) Adds a contact in memoryMethods in it.auties.whatsapp.controller that return types with arguments of type ContactModifier and TypeMethodDescriptionStore.blockedContacts()
Returns all the blocked contactsStore.contacts()
Returns all the contactsStore.findContactByJid
(ContactJidProvider jid) Queries the first contact whose jid is equal tojid
Store.findContactByName
(String name) Queries the first contact whose name is equal toname
Store.findContactsByName
(String name) Queries every contact whose name is equal toname
Methods in it.auties.whatsapp.controller with parameters of type ContactModifier and TypeMethodDescriptionStore.addContact
(@NonNull Contact contact) Adds a contact in memoryMethod parameters in it.auties.whatsapp.controller with type arguments of type ContactModifier and TypeMethodDescriptionStore.StoreBuilder.contacts
(@NonNull ConcurrentHashMap<ContactJid, Contact> contacts) The non-null map of contacts -
Uses of Contact in it.auties.whatsapp.listener
Methods in it.auties.whatsapp.listener with parameters of type ContactModifier and TypeMethodDescriptiondefault void
Listener.onAnyMessageStatus
(Whatsapp whatsapp, Chat chat, Contact contact, MessageInfo info, MessageStatus status) Called when the status of a message changes inside any type of chat.default void
Listener.onAnyMessageStatus
(Chat chat, Contact contact, MessageInfo info, MessageStatus status) Called when the status of a message changes inside any type of chat.void
OnAnyMessageStatus.onAnyMessageStatus
(Chat chat, Contact contact, MessageInfo info, MessageStatus status) Called when the status of a message changes inside any type of chat.void
OnWhatsappAnyMessageStatus.onAnyMessageStatus
(Whatsapp whatsapp, Chat chat, Contact contact, MessageInfo info, MessageStatus status) Called when the status of a message changes inside any type of chat.default void
Listener.onContactBlocked
(Whatsapp whatsapp, Contact contact) Called when a contact is blocked or unblockeddefault void
Listener.onContactBlocked
(Contact contact) Called when a contact is blocked or unblockedvoid
OnContactBlocked.onContactBlocked
(Contact contact) Called when a contact is blocked or unblockedvoid
OnWhatsappContactBlocked.onContactBlocked
(Whatsapp whatsapp, Contact contact) Called when a contact is blocked or unblockeddefault void
Listener.onContactPictureChange
(Whatsapp whatsapp, Contact contact) Called when a contact's profile picture changesdefault void
Listener.onContactPictureChange
(Contact contact) Called when a contact's profile picture changesvoid
OnContactPictureChange.onContactPictureChange
(Contact contact) Called when a contact's profile picture changesvoid
OnWhatsappContactPictureChange.onContactPictureChange
(Whatsapp whatsapp, Contact contact) Called when a contact's profile picture changesdefault void
Listener.onContactPresence
(Whatsapp whatsapp, Chat chat, Contact contact, ContactStatus status) Called when the socket receives an update regarding the presence of a contactdefault void
Listener.onContactPresence
(Chat chat, Contact contact, ContactStatus status) Called when the socket receives an update regarding the presence of a contactvoid
OnContactPresence.onContactPresence
(Chat chat, Contact contact, ContactStatus status) Called when the socket receives an update regarding the presence of a contactvoid
OnWhatsappContactPresence.onContactPresence
(Whatsapp whatsapp, Chat chat, Contact contact, ContactStatus status) Called when the socket receives an update regarding the presence of a contactdefault void
Listener.onNewContact
(Whatsapp whatsapp, Contact contact) Called when the socket receives a new contactdefault void
Listener.onNewContact
(Contact contact) Called when the socket receives a new contactvoid
OnNewContact.onNewContact
(Contact contact) Called when the socket receives a new contact.Method parameters in it.auties.whatsapp.listener with type arguments of type ContactModifier and TypeMethodDescriptiondefault void
Listener.onContacts
(Whatsapp whatsapp, Collection<Contact> contacts) Called when the socket receives all the contacts from WhatsappWeb's WebSocketdefault void
Listener.onContacts
(Collection<Contact> contacts) Called when the socket receives all the contacts from WhatsappWeb's WebSocketvoid
OnContacts.onContacts
(Collection<Contact> contacts) Called when the socket receives all the contacts from WhatsappWeb's WebSocketvoid
OnWhatsappContacts.onContacts
(Whatsapp whatsapp, Collection<Contact> contacts) Called when the socket receives all the contacts from WhatsappWeb's WebSocket -
Uses of Contact in it.auties.whatsapp.model.contact
Methods in it.auties.whatsapp.model.contact that return ContactModifier and TypeMethodDescriptionContact.blocked
(boolean blocked) Whether this contact is blockedContact.ContactBuilder.build()
Contact.chosenName
(String chosenName) The nullable name specified by this contact when he created a Whatsapp account.The nullable name associated with this contact on the phone connected with WhatsappContact.lastKnownPresence
(ContactStatus lastKnownPresence) The nullable last known presence of this contact.Contact.lastSeen
(ZonedDateTime lastSeen) The nullable last seconds this contact was seen available.static Contact
Contact.ofJid
(@NonNull ContactJid jid) Constructs a new Contact from a provided jidThe nullable short name associated with this contact on the phone connected with Whatsapp If a name is available, theoretically, also a short name should be -
Uses of Contact in it.auties.whatsapp.model.info
Methods in it.auties.whatsapp.model.info that return types with arguments of type ContactModifier and TypeMethodDescriptionContextInfo.quotedMessageSender()
Returns the sender of the quoted messageMessageInfo.sender()
Returns the contact that sent the messageMethods in it.auties.whatsapp.model.info with parameters of type ContactModifier and TypeMethodDescriptionContextInfo.ContextInfoBuilder.quotedMessageSender
(Contact quotedMessageSender) The contact that sent the message that this ContextualMessage quotesContextInfo.quotedMessageSender
(Contact quotedMessageSender) The contact that sent the message that this ContextualMessage quotesThe sender of the messageThe sender of the messageConstructors in it.auties.whatsapp.model.info with parameters of type ContactModifierConstructorDescriptionContextInfo
(String quotedMessageId, ContactJid quotedMessageSenderJid, Contact quotedMessageSender, MessageContainer quotedMessage, ContactJid quotedMessageChatJid, Chat quotedMessageChat, List<ContactJid> mentions, String conversionSource, byte[] conversionData, int conversionDelaySeconds, int forwardingScore, boolean forwarded, AdReplyInfo quotedAd, MessageKey placeholderKey, int ephemeralExpiration, long ephemeralSettingTimestamp, byte[] ephemeralSharedSecret, ExternalAdReplyInfo externalAdReply, String entryPointConversionSource, String entryPointConversionApp, int entryPointConversionDelaySeconds, ChatDisappear disappearingMode, ActionLink actionLink, String groupSubject, ContactJid parentGroup, String trustBannerType, Integer trustBannerAction) MessageInfo
(@NonNull MessageKey key, @NonNull MessageContainer message, long timestampInSeconds, @NonNull MessageStatus status, ContactJid senderJid, Contact sender, boolean ignore, boolean starred, boolean broadcast, String pushName, byte[] mediaCiphertextSha256, boolean multicast, boolean urlText, boolean urlNumber, MessageInfo.StubType stubType, boolean clearMedia, List<String> stubParameters, int duration, List<String> labels, PaymentInfo paymentInfo, LiveLocationMessage finalLiveLocation, PaymentInfo quotedPaymentInfo, long ephemeralStartTimestamp, int ephemeralDuration, boolean enableEphemeral, boolean ephemeralOutOfSync, BusinessPrivacyStatus businessPrivacyStatus, String businessVerifiedName, MediaData mediaData, PhotoChange photoChange, MessageReceipt receipt, List<ReactionMessage> reactions, MediaData quotedStickerData, String futureProofData, PublicServiceAnnouncementStatus psaStatus) -
Uses of Contact in it.auties.whatsapp.model.message.model
Methods in it.auties.whatsapp.model.message.model that return types with arguments of type ContactModifier and TypeMethodDescriptionMessageKey.sender()
Returns the contact that sent the messageMessageMetadataProvider.sender()
Returns the sender of the messageQuotedMessage.sender()
Returns the sender of this messageMethods in it.auties.whatsapp.model.message.model with parameters of type ContactModifier and TypeMethodDescriptionThe sender of the messageThe sender of the messageConstructors in it.auties.whatsapp.model.message.model with parameters of type ContactModifierConstructorDescriptionQuotedMessage
(@NonNull String id, @NonNull Chat chat, Contact sender, @NonNull MessageContainer message) -
Uses of Contact in it.auties.whatsapp.socket
Methods in it.auties.whatsapp.socket with parameters of type ContactModifier and TypeMethodDescriptionprotected void
SocketHandler.onContactBlocked
(Contact contact) protected void
SocketHandler.onContactPictureChange
(Contact fromContact) protected void
SocketHandler.onMessageStatus
(MessageStatus status, Contact participant, MessageInfo message, Chat chat) protected void
SocketHandler.onNewContact
(Contact contact) protected void
SocketHandler.onUpdateChatPresence
(ContactStatus status, Contact contact, Chat chat)