Constructs a new HistorySyncNotification.
Optional
properties: IHistorySyncNotificationProperties to set
HistorySyncNotification chunkOrder.
HistorySyncNotification directPath.
HistorySyncNotification fileEncSha256.
HistorySyncNotification fileLength.
HistorySyncNotification fileSha256.
HistorySyncNotification initialHistBootstrapInlinePayload.
HistorySyncNotification mediaKey.
HistorySyncNotification oldestMsgInChunkTimestampSec.
HistorySyncNotification originalMessageId.
HistorySyncNotification peerDataRequestSessionId.
HistorySyncNotification progress.
HistorySyncNotification syncType.
Static
createCreates a new HistorySyncNotification instance using the specified properties.
Optional
properties: IHistorySyncNotificationProperties to set
HistorySyncNotification instance
Static
decodeDecodes a HistorySyncNotification message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
HistorySyncNotification
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a HistorySyncNotification message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
HistorySyncNotification
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified HistorySyncNotification message. Does not implicitly verify messages.
HistorySyncNotification message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified HistorySyncNotification message, length delimited. Does not implicitly verify messages.
HistorySyncNotification message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a HistorySyncNotification message from a plain object. Also converts values to their respective internal types.
Plain object
HistorySyncNotification
Static
toCreates a plain object from a HistorySyncNotification message. Also converts values to other types if specified.
HistorySyncNotification
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a HistorySyncNotification.