Constructs a new HistorySync.
Optional
properties:
IHistorySync
Properties to set
HistorySync chunkOrder.
HistorySync conversations.
Optional
globalHistorySync globalSettings.
HistorySync pastParticipants.
HistorySync progress.
HistorySync pushnames.
HistorySync recentStickers.
HistorySync statusV3Messages.
HistorySync syncType.
HistorySync threadDsTimeframeOffset.
HistorySync threadIdUserSecret.
Static
create
Creates a new HistorySync instance using the specified properties.
Optional
properties:
IHistorySync
Properties to set
HistorySync instance
Static
decode
Decodes a HistorySync message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
HistorySync
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a HistorySync message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
HistorySync
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified HistorySync message. Does not implicitly verify messages.
HistorySync message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified HistorySync message, length delimited. Does not implicitly verify messages.
HistorySync message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a HistorySync message from a plain object. Also converts values to their respective internal types.
Plain object
HistorySync
Static
toCreates a plain object from a HistorySync message. Also converts values to other types if specified.
HistorySync
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a HistorySync.