Uses of Interface
it.auties.whatsapp.model.jid.JidProvider
Packages that use JidProvider
Package
Description
-
Uses of JidProvider in it.auties.whatsapp.api
Methods in it.auties.whatsapp.api with parameters of type JidProviderModifier and TypeMethodDescriptionWhatsapp.addGroupParticipant(JidProvider group, JidProvider... contacts) Adds any number of contacts to a groupWhatsapp.archiveChat(JidProvider chat) Archives a chat.private CompletableFuture<Void> Whatsapp.archiveChat(JidProvider chat, boolean archive) Whatsapp.blockContact(JidProvider contact) Blocks a contactWhatsapp.changeCommunitySetting(JidProvider community, CommunitySetting setting, ChatSettingPolicy policy) Changes a community settingWhatsapp.changeEphemeralTimer(JidProvider chat, ChatEphemeralTimer timer) Enables ephemeral messages in a chat, this means that messages will be automatically cancelled in said chat after a weekWhatsapp.changeGroupDescription(JidProvider group, String description) Changes the description of a groupprivate CompletableFuture<Void> Whatsapp.changeGroupDescription(JidProvider group, String description, String descriptionId) Whatsapp.changeGroupPicture(JidProvider group, byte[] image) Changes the picture of a groupWhatsapp.changeGroupPicture(JidProvider group, URI image) Changes the picture of a groupWhatsapp.changeGroupSetting(JidProvider group, GroupSetting setting, ChatSettingPolicy policy) Changes a group settingWhatsapp.changeGroupSubject(JidProvider group, String newName) Changes the name of a groupWhatsapp.changeNewsletterDescription(JidProvider newsletter, String description) Changes the description of a newsletterWhatsapp.changePresence(JidProvider chatJid, ContactStatus presence) Changes your presence for a specific chatfinal CompletableFuture<Void> Whatsapp.changePrivacySetting(PrivacySettingType type, PrivacySettingValue value, JidProvider... excluded) Changes a privacy setting in Whatsapp's settings.Whatsapp.clearChat(JidProvider chat, boolean keepStarredMessages) Clears the content of a chat for this client and its companions using a modern version of Whatsapp Important: this message doesn't seem to work always as of nowprivate NodeWhatsapp.createCallNode(JidProvider provider) Whatsapp.createGroup(String subject, ChatEphemeralTimer timer, JidProvider parentGroup) Creates a new groupWhatsapp.createGroup(String subject, ChatEphemeralTimer timer, JidProvider... contacts) Creates a new groupWhatsapp.createGroup(String subject, ChatEphemeralTimer timer, JidProvider parentCommunity, JidProvider... contacts) Creates a new groupWhatsapp.createGroup(String subject, JidProvider... contacts) Creates a new groupprivate ActionMessageRangeSyncWhatsapp.createRange(JidProvider chat, boolean allMessages) Whatsapp.deleteChat(JidProvider chat) Deletes a chat for this client and its companions using a modern version of Whatsapp Important: this message doesn't seem to work always as of nowWhatsapp.demoteGroupParticipant(JidProvider group, JidProvider... contacts) Demotes any number of contacts to admin in a groupprivate CompletableFuture<List<Jid>> Whatsapp.executeActionOnGroupParticipant(JidProvider group, GroupAction action, JidProvider... jids) private voidWhatsapp.handleLeaveGroup(JidProvider group) Whatsapp.hasWhatsapp(JidProvider contact) Executes a query to determine whether a user has an account on WhatsappWhatsapp.hasWhatsapp(JidProvider... contacts) Executes a query to determine whether any number of users have an account on WhatsappWhatsapp.joinNewsletter(JidProvider newsletter) Joins a newsletterWhatsapp.leaveGroup(JidProvider group) Leaves a groupWhatsapp.leaveNewsletter(JidProvider newsletter) Leaves a newsletterWhatsapp.linkGroupsToCommunity(JidProvider community, JidProvider... groups) Links any number of groups to a communityprivate CompletableFuture<Void> Whatsapp.mark(JidProvider chat, boolean read) private CompletableFuture<Void> Whatsapp.markAllAsRead(JidProvider chat) Whatsapp.markChatRead(JidProvider chat) Marks a chat as read.Whatsapp.markChatUnread(JidProvider chat) Marks a chat as unreadWhatsapp.muteChat(JidProvider chat) Mutes a chat indefinitelyWhatsapp.muteChat(JidProvider chat, ChatMute mute) Mutes a chatprivate CallWhatsapp.onCallSent(JidProvider provider, String callId, Node result) private voidWhatsapp.onDescriptionSet(JidProvider groupJid, String description) Whatsapp.parseGroupActionResponse(Node result, JidProvider groupJid, GroupAction action) Whatsapp.parseLinksResponse(Node result, JidProvider[] groups) private booleanWhatsapp.parseUnlinkResponse(Node result, JidProvider group) Whatsapp.pinChat(JidProvider chat) Pins a chat to the top.private CompletableFuture<Void> Whatsapp.pinChat(JidProvider chat, boolean pin) Whatsapp.promoteGroupParticipant(JidProvider group, JidProvider... contacts) Promotes any number of contacts to admin in a groupWhatsapp.queryAbout(JidProvider chat) Queries the written whatsapp status of a ContactWhatsapp.queryBusinessCatalog(JidProvider contact) Query the catalog of a businessWhatsapp.queryBusinessCatalog(JidProvider contact, int productsLimit) Query the catalog of a businessWhatsapp.queryBusinessCertificate(JidProvider provider) Gets the verified name certificateWhatsapp.queryBusinessCollections(JidProvider contact) Query the collections of a businessWhatsapp.queryBusinessCollections(JidProvider contact, int collectionsLimit) Query the collections of a businessWhatsapp.queryBusinessProfile(JidProvider contact) Queries a business profile, if availableWhatsapp.queryGroupInviteCode(JidProvider chat) Queries the invite code of a groupWhatsapp.queryGroupMetadata(JidProvider chat) Queries the metadata of a groupWhatsapp.queryName(JidProvider contactJid) Queries the display name of a contactprivate CompletableFuture<Optional<String>> Whatsapp.queryNameFromServer(JidProvider contactJid) Whatsapp.queryNewsletterMessages(JidProvider newsletterJid, int count) Queries any number of messages from a newsletterWhatsapp.queryNewsletterSubscribers(JidProvider newsletterJid) Queries the number of people subscribed to a newsletterWhatsapp.queryPicture(JidProvider chat) Queries the profile pictureWhatsapp.removeGroupParticipant(JidProvider group, JidProvider... contacts) Removes any number of contacts from groupWhatsapp.revokeGroupInvite(JidProvider chat) Revokes the invite code of a groupprivate CompletableFuture<Call> Whatsapp.sendCallMessage(JidProvider provider) Whatsapp.sendChatMessage(JidProvider recipient, MessageContainer message) Builds and sends a message from a recipient and a messageCompletableFuture<? extends MessageInfo> Whatsapp.sendMessage(JidProvider chat, Message message) Builds and sends a message from a chat and a messageCompletableFuture<? extends MessageInfo> Whatsapp.sendMessage(JidProvider recipient, MessageContainer message) Builds and sends a message from a recipient and a messageCompletableFuture<? extends MessageInfo> Whatsapp.sendMessage(JidProvider chat, String message) Builds and sends a message from a chat and a messageWhatsapp.sendNewsletterMessage(JidProvider recipient, MessageContainer message) Builds and sends a message from a recipient and a messageWhatsapp.startCall(JidProvider contact) Starts a call with a contact Mobile API onlyWhatsapp.subscribeToNewsletterReactions(JidProvider channel) Subscribes to a public newsletter's event stream of reactionsWhatsapp.subscribeToPresence(JidProvider jid) Sends a request to Whatsapp in order to receive updates when the status of a contact changes.Whatsapp.unarchive(JidProvider chat) Unarchives a chatWhatsapp.unblockContact(JidProvider contact) Unblocks a contactWhatsapp.unlinkGroupFromCommunity(JidProvider community, JidProvider group) Unlinks a group from a communityWhatsapp.unmuteChat(JidProvider chat) Unmutes a chatWhatsapp.unpinChat(JidProvider chat) Unpins a chat from the topprivate voidWhatsapp.updateSelfPresence(JidProvider chatJid, ContactStatus presence) -
Uses of JidProvider in it.auties.whatsapp.controller
Methods in it.auties.whatsapp.controller with parameters of type JidProviderModifier and TypeMethodDescriptionStore.findChatByJid(JidProvider jid) Queries the first chat whose jid is equal tojidStore.findContactByJid(JidProvider jid) Queries the first contact whose jid is equal tojidOptional<? extends MessageStatusInfo<?>> Store.findMessageById(JidProvider provider, String id) Queries the first message whose id matches the one provided in the specified chat or newsletterStore.findNewsletterByJid(JidProvider jid) Queries the first newsletter whose jid is equal tojidStore.findStatusBySender(JidProvider jid) Queries all the status of a contactStore.removeChat(JidProvider chatJid) Removes a chat from memoryStore.removeContact(JidProvider contactJid) Removes a contact from memoryStore.removeNewsletter(JidProvider newsletterJid) Removes a newsletter from memory -
Uses of JidProvider in it.auties.whatsapp.model.chat
Classes in it.auties.whatsapp.model.chat that implement JidProvider -
Uses of JidProvider in it.auties.whatsapp.model.contact
Classes in it.auties.whatsapp.model.contact that implement JidProvider -
Uses of JidProvider in it.auties.whatsapp.model.jid
Classes in it.auties.whatsapp.model.jid that implement JidProvider -
Uses of JidProvider in it.auties.whatsapp.model.message.standard
Methods in it.auties.whatsapp.model.message.standard with parameters of type JidProviderModifier and TypeMethodDescriptionvoidPollCreationMessage.addSelectedOptions(JidProvider voter, Collection<PollOption> voted) PollCreationMessage.getSelectedOptions(JidProvider voter) Returns an unmodifiable list of the options that a contact voted in this poll -
Uses of JidProvider in it.auties.whatsapp.model.newsletter
Classes in it.auties.whatsapp.model.newsletter that implement JidProvider