Uses of Class
it.auties.whatsapp.model.chat.Chat
Packages that use Chat
Package
Description
-
Uses of Chat in it.auties.whatsapp.api
Methods in it.auties.whatsapp.api that return types with arguments of type ChatModifier and TypeMethodDescriptionWhatsapp.acceptGroupInvite(String inviteCode) Accepts the invite for a groupWhatsapp.parseAcceptInvite(Node result) Methods in it.auties.whatsapp.api with parameters of type ChatModifier and TypeMethodDescriptionprivate GroupPastParticipantsWhatsapp.getPastParticipants(Chat chat) private voidWhatsapp.handleGroupAction(GroupAction action, Chat chat, Jid entry) -
Uses of Chat in it.auties.whatsapp.controller
Fields in it.auties.whatsapp.controller with type parameters of type ChatModifier and TypeFieldDescription(package private) final ConcurrentHashMap<Jid, Chat> Store.chatsThe non-null map of chatsMethods in it.auties.whatsapp.controller that return ChatMethods in it.auties.whatsapp.controller that return types with arguments of type ChatModifier and TypeMethodDescriptionAdds a chat in memoryStore.addChatDirect(Chat chat) Adds a chat in memory without executing any checkStore.chats()Returns all the chats sorted from newest to oldestStore.findChatBy(Function<Chat, Boolean> function) Queries the first chat that matches the provided functionStore.findChatByJid(JidProvider jid) Queries the first chat whose jid is equal tojidStore.findChatByName(String name) Queries the first chat whose name is equal tonameStore.findChatsBy(Function<Chat, Boolean> function) Queries the first chat that matches the provided functionStore.findChatsByName(String name) Queries every chat whose name is equal tonameStore.findChatsByNameStream(String name) Store.pinnedChats()Returns the chats pinned to the top sorted new to oldStore.removeChat(JidProvider chatJid) Removes a chat from memoryMethods in it.auties.whatsapp.controller with parameters of type ChatModifier and TypeMethodDescriptionAdds a chat in memoryStore.addChatDirect(Chat chat) Adds a chat in memory without executing any checkStore.findMessageById(Chat chat, String id) Queries the first message whose id matches the one provided in the specified chatprivate voidStore.joinMessages(Chat chat, Chat oldChat) Method parameters in it.auties.whatsapp.controller with type arguments of type Chat -
Uses of Chat in it.auties.whatsapp.listener
Methods in it.auties.whatsapp.listener with parameters of type ChatModifier and TypeMethodDescriptiondefault voidListener.onChatMessagesSync(Whatsapp whatsapp, Chat chat, boolean last) Called when the socket receives the messages for a chat.default voidListener.onChatMessagesSync(Chat chat, boolean last) Called when the socket receives the message for a chat This method is only called when the QR is first scanned and history is being synced.voidOnChatMessagesSync.onChatMessagesSync(Chat chat, boolean last) Called when the socket receives the recent message for a chatvoidOnWhatsappChatMessagesSync.onChatMessagesSync(Whatsapp whatsapp, Chat chat, boolean last) Called when the socket receives the recent message for a chatdefault voidListener.onContactPresence(Whatsapp whatsapp, Chat chat, Jid jid, ContactStatus status) Called when the socket receives an update regarding the presence of a contactdefault voidListener.onContactPresence(Chat chat, Jid jid, ContactStatus status) Called when the socket receives an update regarding the presence of a contactvoidOnContactPresence.onContactPresence(Chat chat, Jid jid, ContactStatus status) Called when the socket receives an update regarding the presence of a contactvoidOnWhatsappContactPresence.onContactPresence(Whatsapp whatsapp, Chat chat, Jid jid, ContactStatus status) Called when the socket receives an update regarding the presence of a contactdefault voidListener.onGroupPictureChanged(Whatsapp whatsapp, Chat group) Called when a group's picture changesdefault voidListener.onGroupPictureChanged(Chat group) Called when a group's picture changesvoidOnGroupPictureChange.onGroupPictureChanged(Chat group) Called when a group's picture changesvoidOnWhatsappGroupPictureChange.onGroupPictureChanged(Whatsapp whatsapp, Chat group) Called when a group's picture changesMethod parameters in it.auties.whatsapp.listener with type arguments of type ChatModifier and TypeMethodDescriptiondefault voidListener.onChats(Whatsapp whatsapp, Collection<Chat> chats) Called when the socket receives all the chats from WhatsappWeb's Socket.default voidListener.onChats(Collection<Chat> chats) Called when the socket receives all the chats from WhatsappWeb's Socket.voidOnChats.onChats(Collection<Chat> chats) Called when the socket receives all the chats from WhatsappWeb's WebSocket.voidOnWhatsappChats.onChats(Whatsapp whatsapp, Collection<Chat> chats) Called when the socket receives all the chats from WhatsappWeb's Socket. -
Uses of Chat in it.auties.whatsapp.model.chat
Methods in it.auties.whatsapp.model.chat that return ChatModifier and TypeMethodDescriptionChatBuilder.build()static ChatChatSpec.decode(byte[] input) Chat.setArchived(boolean archived) Chat.setDefaultSubGroup(boolean defaultSubGroup) Chat.setDescription(String description) Chat.setDisappearInitiator(ChatDisappear disappearInitiator) Chat.setDisplayName(String displayName) Chat.setEndOfHistoryTransfer(boolean endOfHistoryTransfer) Chat.setEndOfHistoryTransferType(Chat.EndOfHistoryTransferType endOfHistoryTransferType) Chat.setEphemeralMessageDuration(ChatEphemeralTimer ephemeralMessageDuration) Chat.setEphemeralMessagesToggleTimeSeconds(long ephemeralMessagesToggleTimeSeconds) Chat.setFoundationTimestampSeconds(long foundationTimestampSeconds) Chat.setFounder(Jid founder) Chat.setIdentityKey(byte[] identityKey) Chat.setMarkedAsUnread(boolean markedAsUnread) Chat.setMediaVisibility(MediaVisibility mediaVisibility) Chat.setNotSpam(boolean notSpam) Chat.setParentGroup(boolean parentGroup) Chat.setPhoneJid(Jid phoneJid) Chat.setPinnedTimestampSeconds(int pinnedTimestampSeconds) Chat.setPnhDuplicateLidThread(boolean pnhDuplicateLidThread) Chat.setReadOnly(boolean readOnly) Chat.setShareOwnPhoneNumber(boolean shareOwnPhoneNumber) Chat.setSupport(boolean support) Chat.setSuspended(boolean suspended) Chat.setTerminated(boolean terminated) Chat.setTimestampSeconds(long timestampSeconds) Chat.setToken(byte[] token) Chat.setTokenSenderTimestampSeconds(long tokenSenderTimestampSeconds) Chat.setTokenTimestampSeconds(long tokenTimestampSeconds) Chat.setUnreadMessagesCount(int unreadMessagesCount) Chat.setWallpaper(ChatWallpaper wallpaper) Methods in it.auties.whatsapp.model.chat with parameters of type Chat -
Uses of Chat in it.auties.whatsapp.model.info
Fields in it.auties.whatsapp.model.info declared as ChatModifier and TypeFieldDescriptionprivate ChatChatMessageInfo.chatprivate final ChatQuotedMessageInfo.chatThe chat of the messageprivate ChatContextInfo.quotedMessageChatThe contact that sent the message that this ContextualMessage quotesMethods in it.auties.whatsapp.model.info that return types with arguments of type ChatModifier and TypeMethodDescriptionChatMessageInfo.chat()QuotedMessageInfo.chat()ContextInfo.quotedMessageChat()Returns the chat of the quoted messageMethods in it.auties.whatsapp.model.info with parameters of type ChatConstructors in it.auties.whatsapp.model.info with parameters of type ChatModifierConstructorDescriptionChatMessageInfo(ChatMessageKey key, MessageContainer message, long timestampSeconds, MessageStatus status, Jid senderJid, long messageC2STimestamp, boolean ignore, boolean starred, boolean broadcast, String pushName, byte[] mediaCiphertextSha256, boolean multicast, boolean urlText, boolean urlNumber, ChatMessageInfo.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, byte[] futureProofData, PublicServiceAnnouncementStatus psaStatus, List<PollUpdate> pollUpdates, PollAdditionalMetadata pollAdditionalMetadata, String agentId, boolean statusAlreadyViewed, byte[] messageSecret, KeepInChat keepInChat, Jid originalSender, long revokeTimestampSeconds, Chat chat, Contact sender) QuotedMessageInfo(String id, Chat chat, Contact sender, MessageContainer message) -
Uses of Chat in it.auties.whatsapp.model.sync
Fields in it.auties.whatsapp.model.sync with type parameters of type ChatModifier and TypeFieldDescriptionHistorySync.conversationsThe field for theconversationsrecord component.HistorySyncBuilder.conversationsMethods in it.auties.whatsapp.model.sync that return types with arguments of type ChatModifier and TypeMethodDescriptionHistorySync.conversations()Returns the value of theconversationsrecord component.Methods in it.auties.whatsapp.model.sync with parameters of type ChatModifier and TypeMethodDescriptionprivate List<SyncActionMessage> ActionMessageRangeSync.createMessages(Chat chat, boolean allMessages) Method parameters in it.auties.whatsapp.model.sync with type arguments of type ChatConstructors in it.auties.whatsapp.model.sync with parameters of type ChatConstructor parameters in it.auties.whatsapp.model.sync with type arguments of type ChatModifierConstructorDescriptionHistorySync(HistorySync.Type syncType, List<Chat> conversations, List<ChatMessageInfo> statusV3Messages, int chunkOrder, Integer progress, List<PushName> pushNames, GlobalSettings globalSettings, byte[] threadIdUserSecret, int threadDsTimeframeOffset, List<StickerMetadata> recentStickers, List<GroupPastParticipants> pastParticipants) Creates an instance of aHistorySyncrecord class. -
Uses of Chat in it.auties.whatsapp.util
Methods in it.auties.whatsapp.util that return ChatModifier and TypeMethodDescriptionprivate ChatDefaultControllerSerializer.rescueChat(Path entry) Methods in it.auties.whatsapp.util with parameters of type ChatModifier and TypeMethodDescriptionprivate CompletableFuture<Void> DefaultControllerSerializer.serializeChatAsync(Store store, Chat chat)