Module it.auties.cobalt
Class ProtocolMessageBuilder
java.lang.Object
it.auties.whatsapp.model.message.server.ProtocolMessageBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Optional<AppStateSyncKeyRequest> private Optional<AppStateSyncKeyShare> private Optional<ChatDisappear> private Optional<MessageContainer> private longprivate longprivate Optional<HistorySyncNotification> private Optional<ChatMessageKey> private ProtocolMessage.Typeprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappStateFatalExceptionNotification(AppStateFatalExceptionNotification appStateFatalExceptionNotification) appStateFatalExceptionNotification(Optional<AppStateFatalExceptionNotification> appStateFatalExceptionNotification) appStateSyncKeyRequest(AppStateSyncKeyRequest appStateSyncKeyRequest) appStateSyncKeyRequest(Optional<AppStateSyncKeyRequest> appStateSyncKeyRequest) appStateSyncKeyShare(AppStateSyncKeyShare appStateSyncKeyShare) appStateSyncKeyShare(Optional<AppStateSyncKeyShare> appStateSyncKeyShare) build()disappearingMode(ChatDisappear disappearingMode) disappearingMode(Optional<ChatDisappear> disappearingMode) editedMessage(MessageContainer editedMessage) editedMessage(Optional<MessageContainer> editedMessage) ephemeralExpiration(long ephemeralExpiration) ephemeralSettingTimestampSeconds(long ephemeralSettingTimestampSeconds) historySyncNotification(HistorySyncNotification historySyncNotification) historySyncNotification(Optional<HistorySyncNotification> historySyncNotification) initialSecurityNotificationSettingSync(InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync) initialSecurityNotificationSettingSync(Optional<InitialSecurityNotificationSettingSync> initialSecurityNotificationSettingSync) key(ChatMessageKey key) key(Optional<ChatMessageKey> key) protocolType(ProtocolMessage.Type protocolType) timestampMilliseconds(long timestampMilliseconds)
-
Field Details
-
key
-
protocolType
-
ephemeralExpiration
private long ephemeralExpiration -
ephemeralSettingTimestampSeconds
private long ephemeralSettingTimestampSeconds -
historySyncNotification
-
appStateSyncKeyRequest
-
initialSecurityNotificationSettingSync
-
appStateFatalExceptionNotification
-
disappearingMode
-
editedMessage
-
timestampMilliseconds
private long timestampMilliseconds
-
-
Constructor Details
-
ProtocolMessageBuilder
public ProtocolMessageBuilder()
-
-
Method Details
-
key
-
key
-
protocolType
-
ephemeralExpiration
-
ephemeralSettingTimestampSeconds
public ProtocolMessageBuilder ephemeralSettingTimestampSeconds(long ephemeralSettingTimestampSeconds) -
historySyncNotification
public ProtocolMessageBuilder historySyncNotification(Optional<HistorySyncNotification> historySyncNotification) -
historySyncNotification
public ProtocolMessageBuilder historySyncNotification(HistorySyncNotification historySyncNotification) -
appStateSyncKeyRequest
public ProtocolMessageBuilder appStateSyncKeyRequest(Optional<AppStateSyncKeyRequest> appStateSyncKeyRequest) -
appStateSyncKeyRequest
-
initialSecurityNotificationSettingSync
public ProtocolMessageBuilder initialSecurityNotificationSettingSync(Optional<InitialSecurityNotificationSettingSync> initialSecurityNotificationSettingSync) -
initialSecurityNotificationSettingSync
public ProtocolMessageBuilder initialSecurityNotificationSettingSync(InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync) -
appStateFatalExceptionNotification
public ProtocolMessageBuilder appStateFatalExceptionNotification(Optional<AppStateFatalExceptionNotification> appStateFatalExceptionNotification) -
appStateFatalExceptionNotification
public ProtocolMessageBuilder appStateFatalExceptionNotification(AppStateFatalExceptionNotification appStateFatalExceptionNotification) -
disappearingMode
-
disappearingMode
-
editedMessage
-
editedMessage
-
timestampMilliseconds
-
build
-