Constructs a new HistorySync.
Optional
properties: IHistorySyncProperties to set
HistorySync aiWaitListState.
HistorySync callLogRecords.
HistorySync chunkOrder.
HistorySync conversations.
Optional
globalHistorySync globalSettings.
HistorySync pastParticipants.
HistorySync phoneNumberToLidMappings.
HistorySync progress.
HistorySync pushnames.
HistorySync recentStickers.
HistorySync statusV3Messages.
HistorySync syncType.
HistorySync threadDsTimeframeOffset.
HistorySync threadIdUserSecret.
Static
createCreates a new HistorySync instance using the specified properties.
Optional
properties: IHistorySyncProperties to set
HistorySync instance
Static
decodeDecodes a HistorySync message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage 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
encodeEncodes the specified HistorySync message. Does not implicitly verify messages.
HistorySync message or plain object to encode
Optional
writer: WriterWriter 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: WriterWriter 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: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a HistorySync.