Uses of Class
it.auties.whatsapp.model.info.ChatMessageInfo
Packages that use ChatMessageInfo
Package
Description
-
Uses of ChatMessageInfo in it.auties.whatsapp.api
Methods in it.auties.whatsapp.api that return types with arguments of type ChatMessageInfoModifier and TypeMethodDescriptionWhatsapp.awaitMessageReply(ChatMessageInfo info) Awaits for a single newsletters to a messageWhatsapp.awaitMessageReply(String id) Awaits for a single newsletters to a messageWhatsapp.markMessagePlayed(ChatMessageInfo info) Marks a message as playedWhatsapp.markMessageRead(ChatMessageInfo info) Marks a message as readWhatsapp.sendChatMessage(JidProvider recipient, MessageContainer message) Builds and sends a message from a recipient and a messageWhatsapp.sendMessage(ChatMessageInfo info) Sends a message to a chatWhatsapp.starMessage(ChatMessageInfo info) Stars a messageprivate CompletableFuture<ChatMessageInfo> Whatsapp.starMessage(ChatMessageInfo info, boolean star) Whatsapp.unstarMessage(ChatMessageInfo info) Removes star from a messageMethods in it.auties.whatsapp.api with parameters of type ChatMessageInfoModifier and TypeMethodDescriptionWhatsapp.addMessageReplyListener(ChatMessageInfo info, OnMessageReply onMessageReply) Registers a message reply listener for a specific messageWhatsapp.addMessageReplyListener(ChatMessageInfo info, OnWhatsappMessageReply onMessageReply) Registers a message reply listener for a specific messageWhatsapp.awaitMessageReply(ChatMessageInfo info) Awaits for a single newsletters to a messageWhatsapp.deleteMessage(ChatMessageInfo messageInfo, boolean everyone) Deletes a messageCompletableFuture<Optional<byte[]>> Whatsapp.downloadMedia(ChatMessageInfo info) Downloads a media from Whatsapp's servers.Whatsapp.markMessagePlayed(ChatMessageInfo info) Marks a message as playedWhatsapp.markMessageRead(ChatMessageInfo info) Marks a message as readprivate voidWhatsapp.parseMediaReupload(ChatMessageInfo info, MediaMessage<?> mediaMessage, byte[] retryKey, byte[] retryIdData, Node node) Whatsapp.requireMediaReupload(ChatMessageInfo info) Asks Whatsapp for a media reupload for a specific mediaWhatsapp.sendMessage(ChatMessageInfo info) Sends a message to a chatWhatsapp.starMessage(ChatMessageInfo info) Stars a messageprivate CompletableFuture<ChatMessageInfo> Whatsapp.starMessage(ChatMessageInfo info, boolean star) Whatsapp.unstarMessage(ChatMessageInfo info) Removes star from a message -
Uses of ChatMessageInfo in it.auties.whatsapp.controller
Fields in it.auties.whatsapp.controller with type parameters of type ChatMessageInfoModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<String, CompletableFuture<ChatMessageInfo>> Store.replyHandlersThe non-null list of replies waiting to be fulfilledprivate final ConcurrentHashMap<Jid, ConcurrentHashMap<String, ChatMessageInfo>> Store.statusThe non-null list of status messagesMethods in it.auties.whatsapp.controller that return types with arguments of type ChatMessageInfoModifier and TypeMethodDescriptionStore.addPendingReply(String messageId) Adds a replay handler to this storeStore.findMessageById(Chat chat, String id) Queries the first message whose id matches the one provided in the specified chatStore.findMessageByKey(ChatMessageKey key) Queries the first message whose id matches the one provided in the specified chatStore.findStatusBySender(JidProvider jid) Queries all the status of a contactStore.starredMessages()Returns all the starred messagesStore.status()Returns all the statusMethods in it.auties.whatsapp.controller with parameters of type ChatMessageInfoModifier and TypeMethodDescriptionStore.addStatus(ChatMessageInfo info) Adds a status to this storebooleanStore.resolvePendingReply(ChatMessageInfo response) Queries the first reply waiting and completes it with the input message -
Uses of ChatMessageInfo in it.auties.whatsapp.listener
Methods in it.auties.whatsapp.listener with parameters of type ChatMessageInfoModifier and TypeMethodDescriptiondefault voidListener.onMessageDeleted(Whatsapp whatsapp, ChatMessageInfo info, boolean everyone) Called when a message is deleteddefault voidListener.onMessageDeleted(ChatMessageInfo info, boolean everyone) Called when a message is deletedvoidOnMessageDeleted.onMessageDeleted(ChatMessageInfo info, boolean everyone) Called when a message is deletedvoidOnWhatsappMessageDeleted.onMessageDeleted(Whatsapp whatsapp, ChatMessageInfo info, boolean everyone) Called when a message is deleteddefault voidListener.onMessageReply(Whatsapp whatsapp, ChatMessageInfo response, QuotedMessageInfo quoted) Called when a message answers a previous messagedefault voidListener.onMessageReply(ChatMessageInfo response, QuotedMessageInfo quoted) Called when a message answers a previous messagevoidOnMessageReply.onMessageReply(ChatMessageInfo info, QuotedMessageInfo quoted) Called when a message answers a previous messagevoidOnWhatsappMessageReply.onMessageReply(Whatsapp whatsapp, ChatMessageInfo info, QuotedMessageInfo quoted) Called when a message answers a previous messagedefault voidListener.onNewStatus(Whatsapp whatsapp, ChatMessageInfo status) Called when the socket receives a new status from WhatsappWeb's Socketdefault voidListener.onNewStatus(ChatMessageInfo status) Called when the socket receives a new status from WhatsappWeb's SocketvoidOnNewStatus.onNewStatus(ChatMessageInfo status) Called when the socket receives a new status from WhatsappWeb's SocketvoidOnWhatsappNewStatus.onNewStatus(Whatsapp whatsapp, ChatMessageInfo status) Called when the socket receives a new status from WhatsappWeb's SocketMethod parameters in it.auties.whatsapp.listener with type arguments of type ChatMessageInfoModifier and TypeMethodDescriptiondefault voidListener.onStatus(Whatsapp whatsapp, Collection<ChatMessageInfo> status) Called when the socket receives all the status updated from WhatsappWeb's Socket.default voidListener.onStatus(Collection<ChatMessageInfo> status) Called when the socket receives all the status updated from WhatsappWeb's Socket.voidOnStatus.onStatus(Collection<ChatMessageInfo> status) Called when the socket receives all the status updated from WhatsappWeb's Socket.voidOnWhatsappMediaStatus.onStatus(Whatsapp whatsapp, Collection<ChatMessageInfo> status) Called when the socket receives all the status updated from WhatsappWeb's Socket. -
Uses of ChatMessageInfo in it.auties.whatsapp.model.chat
Methods in it.auties.whatsapp.model.chat that return types with arguments of type ChatMessageInfoModifier and TypeMethodDescriptionprivate Optional<ChatMessageInfo> Chat.findMessageBy(Function<ChatMessageInfo, Boolean> filter, boolean newest) Chat.newestMessage()Returns an optional value containing the latest message in chronological terms for this chatChat.newestMessageFromMe()Returns an optional value containing the latest message in chronological terms for this chat sent from youChat.newestServerMessage()Returns an optional value containing the latest message in chronological terms for this chat with type serverChat.newestStandardMessage()Returns an optional value containing the latest message in chronological terms for this chat with type that isn't serverChat.oldestMessage()Returns an optional value containing the first message in chronological terms for this chatChat.oldestMessageFromMe()Returns an optional value containing the first message in chronological terms for this chat sent from youChat.oldestServerMessage()Returns an optional value containing the first message in chronological terms for this chat with type serverChat.oldestStandardMessage()Returns an optional value containing the first message in chronological terms for this chat with type that isn't serverChat.starredMessages()Returns all the starred messages in this chatChat.unreadMessages()Returns all the unread messages in this chatMethods in it.auties.whatsapp.model.chat with parameters of type ChatMessageInfoModifier and TypeMethodDescriptionbooleanChat.addNewMessage(ChatMessageInfo info) Adds a message to the chat in the most recent slot availableprivate booleanChat.isMessageFromMe(ChatMessageInfo info) private booleanChat.isServerMessage(ChatMessageInfo info) private booleanChat.isStandardMessage(ChatMessageInfo info) booleanChat.removeMessage(ChatMessageInfo info) Remove a message from the chatprivate voidChat.updateChatTimestamp(ChatMessageInfo info) Method parameters in it.auties.whatsapp.model.chat with type arguments of type ChatMessageInfoModifier and TypeMethodDescriptionprivate Optional<ChatMessageInfo> Chat.findMessageBy(Function<ChatMessageInfo, Boolean> filter, boolean newest) booleanChat.removeMessage(Predicate<? super ChatMessageInfo> predicate) Remove a message from the chat -
Uses of ChatMessageInfo in it.auties.whatsapp.model.info
Fields in it.auties.whatsapp.model.info with type parameters of type ChatMessageInfoModifier and TypeFieldDescriptionprivate final List<ChatMessageInfo> WebNotificationsInfo.notifyMessagesThe field for thenotifyMessagesrecord component.private List<ChatMessageInfo> WebNotificationsInfoBuilder.notifyMessagesMethods in it.auties.whatsapp.model.info that return ChatMessageInfoModifier and TypeMethodDescriptionChatMessageInfoBuilder.build()static ChatMessageInfoChatMessageInfoSpec.decode(byte[] input) ChatMessageInfo.setIgnore(boolean ignore) ChatMessageInfo.setMessage(MessageContainer message) ChatMessageInfo.setMessageSecret(byte[] messageSecret) ChatMessageInfo.setPollAdditionalMetadata(PollAdditionalMetadata pollAdditionalMetadata) ChatMessageInfo.setRevokeTimestampSeconds(long revokeTimestampSeconds) ChatMessageInfo.setStarred(boolean starred) ChatMessageInfo.setStatus(MessageStatus status) Methods in it.auties.whatsapp.model.info that return types with arguments of type ChatMessageInfoModifier and TypeMethodDescriptionWebNotificationsInfo.notifyMessages()Returns the value of thenotifyMessagesrecord component.Methods in it.auties.whatsapp.model.info with parameters of type ChatMessageInfoModifier and TypeMethodDescriptionstatic byte[]ChatMessageInfoSpec.encode(ChatMessageInfo protoInputObject) Method parameters in it.auties.whatsapp.model.info with type arguments of type ChatMessageInfoModifier and TypeMethodDescriptionWebNotificationsInfoBuilder.notifyMessages(List<ChatMessageInfo> notifyMessages) Constructor parameters in it.auties.whatsapp.model.info with type arguments of type ChatMessageInfoModifierConstructorDescriptionWebNotificationsInfo(long timestampSeconds, int unreadChats, int notifyMessageCount, List<ChatMessageInfo> notifyMessages) Creates an instance of aWebNotificationsInforecord class. -
Uses of ChatMessageInfo in it.auties.whatsapp.model.message.button
Methods in it.auties.whatsapp.model.message.button with parameters of type ChatMessageInfoModifier and TypeMethodDescriptionstatic ButtonsResponseMessageButtonsResponseMessage.of(ChatMessageInfo quoted, Button button) -
Uses of ChatMessageInfo in it.auties.whatsapp.model.message.standard
Fields in it.auties.whatsapp.model.message.standard declared as ChatMessageInfoMethods in it.auties.whatsapp.model.message.standard with parameters of type ChatMessageInfoModifier and TypeMethodDescriptionPollUpdateMessageSimpleBuilder.poll(ChatMessageInfo poll) (package private) static PollUpdateMessagePollUpdateMessage.simpleBuilder(ChatMessageInfo poll, List<PollOption> votes) Constructs a new builder to create a PollCreationMessage The newsletters can be later sent usingWhatsapp.sendMessage(ChatMessageInfo) -
Uses of ChatMessageInfo in it.auties.whatsapp.model.sync
Fields in it.auties.whatsapp.model.sync declared as ChatMessageInfoModifier and TypeFieldDescriptionprivate final ChatMessageInfoHistorySyncMessage.messageInfoThe field for themessageInforecord component.private ChatMessageInfoHistorySyncMessageBuilder.messageInfoFields in it.auties.whatsapp.model.sync with type parameters of type ChatMessageInfoModifier and TypeFieldDescriptionprivate final List<ChatMessageInfo> HistorySync.statusV3MessagesThe field for thestatusV3Messagesrecord component.private List<ChatMessageInfo> HistorySyncBuilder.statusV3MessagesMethods in it.auties.whatsapp.model.sync that return ChatMessageInfoModifier and TypeMethodDescriptionHistorySyncMessage.messageInfo()Returns the value of themessageInforecord component.Methods in it.auties.whatsapp.model.sync that return types with arguments of type ChatMessageInfoModifier and TypeMethodDescriptionHistorySync.statusV3Messages()Returns the value of thestatusV3Messagesrecord component.Methods in it.auties.whatsapp.model.sync with parameters of type ChatMessageInfoModifier and TypeMethodDescriptionprivate SyncActionMessageActionMessageRangeSync.createActionMessage(ChatMessageInfo info) HistorySyncMessageBuilder.messageInfo(ChatMessageInfo messageInfo) Method parameters in it.auties.whatsapp.model.sync with type arguments of type ChatMessageInfoModifier and TypeMethodDescriptionHistorySyncBuilder.statusV3Messages(List<ChatMessageInfo> statusV3Messages) Constructors in it.auties.whatsapp.model.sync with parameters of type ChatMessageInfoModifierConstructorDescriptionHistorySyncMessage(ChatMessageInfo messageInfo, long messageOrderId) Creates an instance of aHistorySyncMessagerecord class.