Constructs a new HistorySyncNotification.
Optional
properties:
IHistorySyncNotification
Properties 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
create
Creates a new HistorySyncNotification instance using the specified properties.
Optional
properties:
IHistorySyncNotification
Properties to set
HistorySyncNotification instance
Static
decode
Decodes a HistorySyncNotification message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message 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
encode
Encodes the specified HistorySyncNotification message. Does not implicitly verify messages.
HistorySyncNotification message or plain object to encode
Optional
writer:
Writer
Writer 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:
Writer
Writer 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:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a HistorySyncNotification.