Uses of Record Class
it.auties.whatsapp.model.message.model.MessageContainer
Packages that use MessageContainer
Package
Description
-
Uses of MessageContainer in it.auties.whatsapp.api
Methods in it.auties.whatsapp.api with parameters of type MessageContainerModifier and TypeMethodDescriptionWhatsapp.sendChatMessage(JidProvider recipient, MessageContainer message) Builds and sends a message from a recipient and a messageCompletableFuture<? extends MessageInfo> Whatsapp.sendMessage(JidProvider recipient, MessageContainer message) Builds and sends a message from a recipient and a messageWhatsapp.sendNewsletterMessage(JidProvider recipient, MessageContainer message) Builds and sends a message from a recipient and a message -
Uses of MessageContainer in it.auties.whatsapp.model.info
Fields in it.auties.whatsapp.model.info declared as MessageContainerModifier and TypeFieldDescriptionprivate MessageContainerChatMessageInfo.messageprivate MessageContainerChatMessageInfoBuilder.messageprivate final MessageContainerNewsletterMessageInfo.messageprivate final MessageContainerNotificationMessageInfo.messageThe field for themessagerecord component.private MessageContainerNotificationMessageInfoBuilder.messageprivate final MessageContainerQuotedMessageInfo.messageThe messageprivate final MessageContainerContextInfo.quotedMessageThe message container that this ContextualMessage quotesprivate MessageContainerContextInfoBuilder.quotedMessageMethods in it.auties.whatsapp.model.info that return MessageContainerModifier and TypeMethodDescriptionChatMessageInfo.message()MessageInfo.message()NewsletterMessageInfo.message()NotificationMessageInfo.message()Returns the value of themessagerecord component.QuotedMessageInfo.message()Methods in it.auties.whatsapp.model.info that return types with arguments of type MessageContainerMethods in it.auties.whatsapp.model.info with parameters of type MessageContainerModifier and TypeMethodDescriptionChatMessageInfoBuilder.message(MessageContainer message) NotificationMessageInfoBuilder.message(MessageContainer message) ContextInfoBuilder.quotedMessage(MessageContainer quotedMessage) ChatMessageInfo.setMessage(MessageContainer message) Constructors in it.auties.whatsapp.model.info with parameters of type MessageContainerModifierConstructorDescriptionChatMessageInfo(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) ChatMessageInfo(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) ContextInfo(String quotedMessageId, Jid quotedMessageSenderJid, MessageContainer quotedMessage, Jid quotedMessageChatJid, List<Jid> mentions, String conversionSource, byte[] conversionData, int conversionDelaySeconds, int forwardingScore, boolean forwarded, AdReplyInfo quotedAd, ChatMessageKey placeholderKey, int ephemeralExpiration, long ephemeralSettingTimestamp, byte[] ephemeralSharedSecret, ExternalAdReplyInfo externalAdReply, String entryPointConversionSource, String entryPointConversionApp, int entryPointConversionDelaySeconds, ChatDisappear disappearingMode, ButtonActionLink actionLink, String groupSubject, Jid parentGroup, String trustBannerType, int trustBannerAction) NewsletterMessageInfo(Newsletter newsletter, String id, int serverId, Long timestampSeconds, Long views, Map<String, NewsletterReaction> reactions, MessageContainer message, MessageStatus status) NotificationMessageInfo(ChatMessageKey key, MessageContainer message, long messageTimestampSeconds, Optional<String> participant) Creates an instance of aNotificationMessageInforecord class.QuotedMessageInfo(String id, Chat chat, Contact sender, MessageContainer message) -
Uses of MessageContainer in it.auties.whatsapp.model.message.model
Fields in it.auties.whatsapp.model.message.model declared as MessageContainerModifier and TypeFieldDescriptionprivate final MessageContainerFutureMessageContainer.contentThe field for thecontentrecord component.private MessageContainerFutureMessageContainerBuilder.contentMethods in it.auties.whatsapp.model.message.model that return MessageContainerModifier and TypeMethodDescriptionMessageContainerBuilder.build()FutureMessageContainer.content()Returns the value of thecontentrecord component.static MessageContainerMessageContainerSpec.decode(byte[] input) static MessageContainerMessageContainer.empty()Returns an empty message containerstatic MessageContainerConstructs a new MessageContainer from a text messagestatic <T extends Message>
MessageContainerMessageContainer.of(T message) Constructs a new MessageContainer from a message of any typestatic <T extends Message>
MessageContainerMessageContainer.ofDocumentWithCaption(T message) Constructs a new MessageContainer from a document with caption messagestatic <T extends Message>
MessageContainerMessageContainer.ofEditedMessage(T message) Constructs a new MessageContainer from an edited messagestatic <T extends Message>
MessageContainerMessageContainer.ofEphemeral(T message) Constructs a new MessageContainer from a message of any type marking it as ephemeralstatic <T extends Message>
MessageContainerMessageContainer.ofViewOnce(T message) Constructs a new MessageContainer from a message of any type that can only be seen oncestatic <T extends Message>
MessageContainerMessageContainer.ofViewOnceV2(T message) Constructs a new MessageContainer from a message of any type that can only be seen once(version v2)MessageContainer.toEphemeral()Converts this message to an ephemeral messageMessageContainer.toViewOnce()Converts this message to a view once messageMessageContainer.unbox()Returns an unboxed message where are all future-proof messages(i.e.MessageContainer.withDeviceInfo(DeviceContextInfo deviceInfo) Converts this message to an ephemeral messageMethods in it.auties.whatsapp.model.message.model with parameters of type MessageContainerModifier and TypeMethodDescriptionFutureMessageContainerBuilder.content(MessageContainer content) static byte[]MessageContainerSpec.encode(MessageContainer protoInputObject) (package private) static FutureMessageContainerFutureMessageContainer.of(MessageContainer container) Constructors in it.auties.whatsapp.model.message.model with parameters of type MessageContainerModifierConstructorDescriptionFutureMessageContainer(MessageContainer content) Creates an instance of aFutureMessageContainerrecord class. -
Uses of MessageContainer in it.auties.whatsapp.model.message.payment
Fields in it.auties.whatsapp.model.message.payment with type parameters of type MessageContainerModifier and TypeFieldDescriptionprivate final Optional<MessageContainer> RequestPaymentMessage.noteMessageThe field for thenoteMessagerecord component.private Optional<MessageContainer> RequestPaymentMessageBuilder.noteMessageprivate final Optional<MessageContainer> SendPaymentMessage.noteMessageThe field for thenoteMessagerecord component.private Optional<MessageContainer> SendPaymentMessageBuilder.noteMessageMethods in it.auties.whatsapp.model.message.payment that return types with arguments of type MessageContainerModifier and TypeMethodDescriptionRequestPaymentMessage.noteMessage()Returns the value of thenoteMessagerecord component.SendPaymentMessage.noteMessage()Returns the value of thenoteMessagerecord component.Methods in it.auties.whatsapp.model.message.payment with parameters of type MessageContainerModifier and TypeMethodDescriptionRequestPaymentMessageBuilder.noteMessage(MessageContainer noteMessage) SendPaymentMessageBuilder.noteMessage(MessageContainer noteMessage) Method parameters in it.auties.whatsapp.model.message.payment with type arguments of type MessageContainerModifier and TypeMethodDescriptionRequestPaymentMessageBuilder.noteMessage(Optional<MessageContainer> noteMessage) SendPaymentMessageBuilder.noteMessage(Optional<MessageContainer> noteMessage) Constructor parameters in it.auties.whatsapp.model.message.payment with type arguments of type MessageContainerModifierConstructorDescriptionRequestPaymentMessage(String currency, long amount1000, Jid requestFrom, Optional<MessageContainer> noteMessage, long expiryTimestampSeconds, PaymentMoney amount, Optional<PaymentBackground> background) Creates an instance of aRequestPaymentMessagerecord class.SendPaymentMessage(Optional<MessageContainer> noteMessage, ChatMessageKey requestMessageKey, Optional<PaymentBackground> background) Creates an instance of aSendPaymentMessagerecord class. -
Uses of MessageContainer in it.auties.whatsapp.model.message.server
Fields in it.auties.whatsapp.model.message.server declared as MessageContainerModifier and TypeFieldDescriptionprivate final MessageContainerDeviceSentMessage.messageThe field for themessagerecord component.private MessageContainerDeviceSentMessageBuilder.messageFields in it.auties.whatsapp.model.message.server with type parameters of type MessageContainerModifier and TypeFieldDescriptionprivate final Optional<MessageContainer> ProtocolMessage.editedMessageThe field for theeditedMessagerecord component.private Optional<MessageContainer> ProtocolMessageBuilder.editedMessageMethods in it.auties.whatsapp.model.message.server that return MessageContainerModifier and TypeMethodDescriptionDeviceSentMessage.message()Returns the value of themessagerecord component.Methods in it.auties.whatsapp.model.message.server that return types with arguments of type MessageContainerModifier and TypeMethodDescriptionProtocolMessage.editedMessage()Returns the value of theeditedMessagerecord component.Methods in it.auties.whatsapp.model.message.server with parameters of type MessageContainerModifier and TypeMethodDescriptionProtocolMessageBuilder.editedMessage(MessageContainer editedMessage) DeviceSentMessageBuilder.message(MessageContainer message) Method parameters in it.auties.whatsapp.model.message.server with type arguments of type MessageContainerModifier and TypeMethodDescriptionProtocolMessageBuilder.editedMessage(Optional<MessageContainer> editedMessage) Constructors in it.auties.whatsapp.model.message.server with parameters of type MessageContainerModifierConstructorDescriptionDeviceSentMessage(Jid destinationJid, MessageContainer message, Optional<String> phash) Creates an instance of aDeviceSentMessagerecord class. -
Uses of MessageContainer in it.auties.whatsapp.util
Methods in it.auties.whatsapp.util that return MessageContainerModifier and TypeMethodDescriptionstatic MessageContainerBytesHelper.bytesToMessage(byte[] bytes) Methods in it.auties.whatsapp.util with parameters of type MessageContainerModifier and TypeMethodDescriptionstatic byte[]BytesHelper.messageToBytes(MessageContainer container)