sanka-baileyss
Version:
WhatsApp API Modification By Sanka_Vollerei
1,194 lines • 1.77 MB
TypeScript
import * as $protobuf from "protobufjs";
import Long = require("long");
/** Namespace HistorySync. */
export namespace HistorySync {
/** Properties of a NotificationSettings. */
interface INotificationSettings {
/** NotificationSettings messageVibrate */
messageVibrate?: (string|null);
/** NotificationSettings messagePopup */
messagePopup?: (string|null);
/** NotificationSettings messageLight */
messageLight?: (string|null);
/** NotificationSettings lowPriorityNotifications */
lowPriorityNotifications?: (boolean|null);
/** NotificationSettings reactionsMuted */
reactionsMuted?: (boolean|null);
/** NotificationSettings callVibrate */
callVibrate?: (string|null);
}
/** Represents a NotificationSettings. */
class NotificationSettings implements INotificationSettings {
/**
* Constructs a new NotificationSettings.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.INotificationSettings);
/** NotificationSettings messageVibrate. */
public messageVibrate?: (string|null);
/** NotificationSettings messagePopup. */
public messagePopup?: (string|null);
/** NotificationSettings messageLight. */
public messageLight?: (string|null);
/** NotificationSettings lowPriorityNotifications. */
public lowPriorityNotifications?: (boolean|null);
/** NotificationSettings reactionsMuted. */
public reactionsMuted?: (boolean|null);
/** NotificationSettings callVibrate. */
public callVibrate?: (string|null);
/** NotificationSettings _messageVibrate. */
public _messageVibrate?: "messageVibrate";
/** NotificationSettings _messagePopup. */
public _messagePopup?: "messagePopup";
/** NotificationSettings _messageLight. */
public _messageLight?: "messageLight";
/** NotificationSettings _lowPriorityNotifications. */
public _lowPriorityNotifications?: "lowPriorityNotifications";
/** NotificationSettings _reactionsMuted. */
public _reactionsMuted?: "reactionsMuted";
/** NotificationSettings _callVibrate. */
public _callVibrate?: "callVibrate";
/**
* Creates a new NotificationSettings instance using the specified properties.
* @param [properties] Properties to set
* @returns NotificationSettings instance
*/
public static create(properties?: HistorySync.INotificationSettings): HistorySync.NotificationSettings;
/**
* Encodes the specified NotificationSettings message. Does not implicitly {@link HistorySync.NotificationSettings.verify|verify} messages.
* @param message NotificationSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.INotificationSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NotificationSettings message, length delimited. Does not implicitly {@link HistorySync.NotificationSettings.verify|verify} messages.
* @param message NotificationSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.INotificationSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NotificationSettings message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NotificationSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.NotificationSettings;
/**
* Decodes a NotificationSettings message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NotificationSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.NotificationSettings;
/**
* Verifies a NotificationSettings message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a NotificationSettings message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NotificationSettings
*/
public static fromObject(object: { [k: string]: any }): HistorySync.NotificationSettings;
/**
* Creates a plain object from a NotificationSettings message. Also converts values to other types if specified.
* @param message NotificationSettings
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.NotificationSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NotificationSettings to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for NotificationSettings
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AvatarUserSettings. */
interface IAvatarUserSettings {
/** AvatarUserSettings fbid */
fbid?: (string|null);
/** AvatarUserSettings password */
password?: (string|null);
}
/** Represents an AvatarUserSettings. */
class AvatarUserSettings implements IAvatarUserSettings {
/**
* Constructs a new AvatarUserSettings.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IAvatarUserSettings);
/** AvatarUserSettings fbid. */
public fbid?: (string|null);
/** AvatarUserSettings password. */
public password?: (string|null);
/** AvatarUserSettings _fbid. */
public _fbid?: "fbid";
/** AvatarUserSettings _password. */
public _password?: "password";
/**
* Creates a new AvatarUserSettings instance using the specified properties.
* @param [properties] Properties to set
* @returns AvatarUserSettings instance
*/
public static create(properties?: HistorySync.IAvatarUserSettings): HistorySync.AvatarUserSettings;
/**
* Encodes the specified AvatarUserSettings message. Does not implicitly {@link HistorySync.AvatarUserSettings.verify|verify} messages.
* @param message AvatarUserSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IAvatarUserSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AvatarUserSettings message, length delimited. Does not implicitly {@link HistorySync.AvatarUserSettings.verify|verify} messages.
* @param message AvatarUserSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IAvatarUserSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AvatarUserSettings message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AvatarUserSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.AvatarUserSettings;
/**
* Decodes an AvatarUserSettings message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AvatarUserSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.AvatarUserSettings;
/**
* Verifies an AvatarUserSettings message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AvatarUserSettings message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AvatarUserSettings
*/
public static fromObject(object: { [k: string]: any }): HistorySync.AvatarUserSettings;
/**
* Creates a plain object from an AvatarUserSettings message. Also converts values to other types if specified.
* @param message AvatarUserSettings
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.AvatarUserSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AvatarUserSettings to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AvatarUserSettings
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PastParticipant. */
interface IPastParticipant {
/** PastParticipant userJid */
userJid?: (string|null);
/** PastParticipant leaveReason */
leaveReason?: (HistorySync.PastParticipant.LeaveReason|null);
/** PastParticipant leaveTs */
leaveTs?: (number|Long|null);
}
/** Represents a PastParticipant. */
class PastParticipant implements IPastParticipant {
/**
* Constructs a new PastParticipant.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IPastParticipant);
/** PastParticipant userJid. */
public userJid?: (string|null);
/** PastParticipant leaveReason. */
public leaveReason?: (HistorySync.PastParticipant.LeaveReason|null);
/** PastParticipant leaveTs. */
public leaveTs?: (number|Long|null);
/** PastParticipant _userJid. */
public _userJid?: "userJid";
/** PastParticipant _leaveReason. */
public _leaveReason?: "leaveReason";
/** PastParticipant _leaveTs. */
public _leaveTs?: "leaveTs";
/**
* Creates a new PastParticipant instance using the specified properties.
* @param [properties] Properties to set
* @returns PastParticipant instance
*/
public static create(properties?: HistorySync.IPastParticipant): HistorySync.PastParticipant;
/**
* Encodes the specified PastParticipant message. Does not implicitly {@link HistorySync.PastParticipant.verify|verify} messages.
* @param message PastParticipant message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IPastParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PastParticipant message, length delimited. Does not implicitly {@link HistorySync.PastParticipant.verify|verify} messages.
* @param message PastParticipant message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IPastParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PastParticipant message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PastParticipant
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.PastParticipant;
/**
* Decodes a PastParticipant message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PastParticipant
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.PastParticipant;
/**
* Verifies a PastParticipant message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a PastParticipant message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PastParticipant
*/
public static fromObject(object: { [k: string]: any }): HistorySync.PastParticipant;
/**
* Creates a plain object from a PastParticipant message. Also converts values to other types if specified.
* @param message PastParticipant
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.PastParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PastParticipant to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PastParticipant
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PastParticipant {
/** LeaveReason enum. */
enum LeaveReason {
LEFT = 0,
REMOVED = 1
}
}
/** Properties of a PastParticipants. */
interface IPastParticipants {
/** PastParticipants groupJid */
groupJid?: (string|null);
/** PastParticipants pastParticipants */
pastParticipants?: (HistorySync.IPastParticipant[]|null);
}
/** Represents a PastParticipants. */
class PastParticipants implements IPastParticipants {
/**
* Constructs a new PastParticipants.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IPastParticipants);
/** PastParticipants groupJid. */
public groupJid?: (string|null);
/** PastParticipants pastParticipants. */
public pastParticipants: HistorySync.IPastParticipant[];
/** PastParticipants _groupJid. */
public _groupJid?: "groupJid";
/**
* Creates a new PastParticipants instance using the specified properties.
* @param [properties] Properties to set
* @returns PastParticipants instance
*/
public static create(properties?: HistorySync.IPastParticipants): HistorySync.PastParticipants;
/**
* Encodes the specified PastParticipants message. Does not implicitly {@link HistorySync.PastParticipants.verify|verify} messages.
* @param message PastParticipants message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IPastParticipants, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PastParticipants message, length delimited. Does not implicitly {@link HistorySync.PastParticipants.verify|verify} messages.
* @param message PastParticipants message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IPastParticipants, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PastParticipants message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PastParticipants
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.PastParticipants;
/**
* Decodes a PastParticipants message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PastParticipants
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.PastParticipants;
/**
* Verifies a PastParticipants message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a PastParticipants message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PastParticipants
*/
public static fromObject(object: { [k: string]: any }): HistorySync.PastParticipants;
/**
* Creates a plain object from a PastParticipants message. Also converts values to other types if specified.
* @param message PastParticipants
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.PastParticipants, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PastParticipants to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PastParticipants
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a StickerMetadata. */
interface IStickerMetadata {
/** StickerMetadata url */
url?: (string|null);
/** StickerMetadata fileSha256 */
fileSha256?: (Uint8Array|null);
/** StickerMetadata fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** StickerMetadata mediaKey */
mediaKey?: (Uint8Array|null);
/** StickerMetadata mimetype */
mimetype?: (string|null);
/** StickerMetadata height */
height?: (number|null);
/** StickerMetadata width */
width?: (number|null);
/** StickerMetadata directPath */
directPath?: (string|null);
/** StickerMetadata fileLength */
fileLength?: (number|Long|null);
/** StickerMetadata weight */
weight?: (number|null);
/** StickerMetadata lastStickerSentTs */
lastStickerSentTs?: (number|Long|null);
/** StickerMetadata isLottie */
isLottie?: (boolean|null);
}
/** Represents a StickerMetadata. */
class StickerMetadata implements IStickerMetadata {
/**
* Constructs a new StickerMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IStickerMetadata);
/** StickerMetadata url. */
public url?: (string|null);
/** StickerMetadata fileSha256. */
public fileSha256?: (Uint8Array|null);
/** StickerMetadata fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** StickerMetadata mediaKey. */
public mediaKey?: (Uint8Array|null);
/** StickerMetadata mimetype. */
public mimetype?: (string|null);
/** StickerMetadata height. */
public height?: (number|null);
/** StickerMetadata width. */
public width?: (number|null);
/** StickerMetadata directPath. */
public directPath?: (string|null);
/** StickerMetadata fileLength. */
public fileLength?: (number|Long|null);
/** StickerMetadata weight. */
public weight?: (number|null);
/** StickerMetadata lastStickerSentTs. */
public lastStickerSentTs?: (number|Long|null);
/** StickerMetadata isLottie. */
public isLottie?: (boolean|null);
/** StickerMetadata _url. */
public _url?: "url";
/** StickerMetadata _fileSha256. */
public _fileSha256?: "fileSha256";
/** StickerMetadata _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** StickerMetadata _mediaKey. */
public _mediaKey?: "mediaKey";
/** StickerMetadata _mimetype. */
public _mimetype?: "mimetype";
/** StickerMetadata _height. */
public _height?: "height";
/** StickerMetadata _width. */
public _width?: "width";
/** StickerMetadata _directPath. */
public _directPath?: "directPath";
/** StickerMetadata _fileLength. */
public _fileLength?: "fileLength";
/** StickerMetadata _weight. */
public _weight?: "weight";
/** StickerMetadata _lastStickerSentTs. */
public _lastStickerSentTs?: "lastStickerSentTs";
/** StickerMetadata _isLottie. */
public _isLottie?: "isLottie";
/**
* Creates a new StickerMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns StickerMetadata instance
*/
public static create(properties?: HistorySync.IStickerMetadata): HistorySync.StickerMetadata;
/**
* Encodes the specified StickerMetadata message. Does not implicitly {@link HistorySync.StickerMetadata.verify|verify} messages.
* @param message StickerMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IStickerMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StickerMetadata message, length delimited. Does not implicitly {@link HistorySync.StickerMetadata.verify|verify} messages.
* @param message StickerMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IStickerMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StickerMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StickerMetadata
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.StickerMetadata;
/**
* Decodes a StickerMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StickerMetadata
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.StickerMetadata;
/**
* Verifies a StickerMetadata message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a StickerMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StickerMetadata
*/
public static fromObject(object: { [k: string]: any }): HistorySync.StickerMetadata;
/**
* Creates a plain object from a StickerMetadata message. Also converts values to other types if specified.
* @param message StickerMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.StickerMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StickerMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for StickerMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AutoDownloadSettings. */
interface IAutoDownloadSettings {
/** AutoDownloadSettings downloadImages */
downloadImages?: (boolean|null);
/** AutoDownloadSettings downloadAudio */
downloadAudio?: (boolean|null);
/** AutoDownloadSettings downloadVideo */
downloadVideo?: (boolean|null);
/** AutoDownloadSettings downloadDocuments */
downloadDocuments?: (boolean|null);
}
/** Represents an AutoDownloadSettings. */
class AutoDownloadSettings implements IAutoDownloadSettings {
/**
* Constructs a new AutoDownloadSettings.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IAutoDownloadSettings);
/** AutoDownloadSettings downloadImages. */
public downloadImages?: (boolean|null);
/** AutoDownloadSettings downloadAudio. */
public downloadAudio?: (boolean|null);
/** AutoDownloadSettings downloadVideo. */
public downloadVideo?: (boolean|null);
/** AutoDownloadSettings downloadDocuments. */
public downloadDocuments?: (boolean|null);
/** AutoDownloadSettings _downloadImages. */
public _downloadImages?: "downloadImages";
/** AutoDownloadSettings _downloadAudio. */
public _downloadAudio?: "downloadAudio";
/** AutoDownloadSettings _downloadVideo. */
public _downloadVideo?: "downloadVideo";
/** AutoDownloadSettings _downloadDocuments. */
public _downloadDocuments?: "downloadDocuments";
/**
* Creates a new AutoDownloadSettings instance using the specified properties.
* @param [properties] Properties to set
* @returns AutoDownloadSettings instance
*/
public static create(properties?: HistorySync.IAutoDownloadSettings): HistorySync.AutoDownloadSettings;
/**
* Encodes the specified AutoDownloadSettings message. Does not implicitly {@link HistorySync.AutoDownloadSettings.verify|verify} messages.
* @param message AutoDownloadSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IAutoDownloadSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AutoDownloadSettings message, length delimited. Does not implicitly {@link HistorySync.AutoDownloadSettings.verify|verify} messages.
* @param message AutoDownloadSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IAutoDownloadSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AutoDownloadSettings message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AutoDownloadSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.AutoDownloadSettings;
/**
* Decodes an AutoDownloadSettings message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AutoDownloadSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.AutoDownloadSettings;
/**
* Verifies an AutoDownloadSettings message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AutoDownloadSettings message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AutoDownloadSettings
*/
public static fromObject(object: { [k: string]: any }): HistorySync.AutoDownloadSettings;
/**
* Creates a plain object from an AutoDownloadSettings message. Also converts values to other types if specified.
* @param message AutoDownloadSettings
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.AutoDownloadSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AutoDownloadSettings to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AutoDownloadSettings
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a GlobalSettings. */
interface IGlobalSettings {
/** GlobalSettings lightThemeWallpaper */
lightThemeWallpaper?: (HistorySync.IWallpaperSettings|null);
/** GlobalSettings mediaVisibility */
mediaVisibility?: (HistorySync.MediaVisibility|null);
/** GlobalSettings darkThemeWallpaper */
darkThemeWallpaper?: (HistorySync.IWallpaperSettings|null);
/** GlobalSettings autoDownloadWiFi */
autoDownloadWiFi?: (HistorySync.IAutoDownloadSettings|null);
/** GlobalSettings autoDownloadCellular */
autoDownloadCellular?: (HistorySync.IAutoDownloadSettings|null);
/** GlobalSettings autoDownloadRoaming */
autoDownloadRoaming?: (HistorySync.IAutoDownloadSettings|null);
/** GlobalSettings showIndividualNotificationsPreview */
showIndividualNotificationsPreview?: (boolean|null);
/** GlobalSettings showGroupNotificationsPreview */
showGroupNotificationsPreview?: (boolean|null);
/** GlobalSettings disappearingModeDuration */
disappearingModeDuration?: (number|null);
/** GlobalSettings disappearingModeTimestamp */
disappearingModeTimestamp?: (number|Long|null);
/** GlobalSettings avatarUserSettings */
avatarUserSettings?: (HistorySync.IAvatarUserSettings|null);
/** GlobalSettings fontSize */
fontSize?: (number|null);
/** GlobalSettings securityNotifications */
securityNotifications?: (boolean|null);
/** GlobalSettings autoUnarchiveChats */
autoUnarchiveChats?: (boolean|null);
/** GlobalSettings videoQualityMode */
videoQualityMode?: (number|null);
/** GlobalSettings photoQualityMode */
photoQualityMode?: (number|null);
/** GlobalSettings individualNotificationSettings */
individualNotificationSettings?: (HistorySync.INotificationSettings|null);
/** GlobalSettings groupNotificationSettings */
groupNotificationSettings?: (HistorySync.INotificationSettings|null);
/** GlobalSettings chatLockSettings */
chatLockSettings?: (ChatLockSettings.IChatLockSettings|null);
/** GlobalSettings chatDbLidMigrationTimestamp */
chatDbLidMigrationTimestamp?: (number|Long|null);
}
/** Represents a GlobalSettings. */
class GlobalSettings implements IGlobalSettings {
/**
* Constructs a new GlobalSettings.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IGlobalSettings);
/** GlobalSettings lightThemeWallpaper. */
public lightThemeWallpaper?: (HistorySync.IWallpaperSettings|null);
/** GlobalSettings mediaVisibility. */
public mediaVisibility?: (HistorySync.MediaVisibility|null);
/** GlobalSettings darkThemeWallpaper. */
public darkThemeWallpaper?: (HistorySync.IWallpaperSettings|null);
/** GlobalSettings autoDownloadWiFi. */
public autoDownloadWiFi?: (HistorySync.IAutoDownloadSettings|null);
/** GlobalSettings autoDownloadCellular. */
public autoDownloadCellular?: (HistorySync.IAutoDownloadSettings|null);
/** GlobalSettings autoDownloadRoaming. */
public autoDownloadRoaming?: (HistorySync.IAutoDownloadSettings|null);
/** GlobalSettings showIndividualNotificationsPreview. */
public showIndividualNotificationsPreview?: (boolean|null);
/** GlobalSettings showGroupNotificationsPreview. */
public showGroupNotificationsPreview?: (boolean|null);
/** GlobalSettings disappearingModeDuration. */
public disappearingModeDuration?: (number|null);
/** GlobalSettings disappearingModeTimestamp. */
public disappearingModeTimestamp?: (number|Long|null);
/** GlobalSettings avatarUserSettings. */
public avatarUserSettings?: (HistorySync.IAvatarUserSettings|null);
/** GlobalSettings fontSize. */
public fontSize?: (number|null);
/** GlobalSettings securityNotifications. */
public securityNotifications?: (boolean|null);
/** GlobalSettings autoUnarchiveChats. */
public autoUnarchiveChats?: (boolean|null);
/** GlobalSettings videoQualityMode. */
public videoQualityMode?: (number|null);
/** GlobalSettings photoQualityMode. */
public photoQualityMode?: (number|null);
/** GlobalSettings individualNotificationSettings. */
public individualNotificationSettings?: (HistorySync.INotificationSettings|null);
/** GlobalSettings groupNotificationSettings. */
public groupNotificationSettings?: (HistorySync.INotificationSettings|null);
/** GlobalSettings chatLockSettings. */
public chatLockSettings?: (ChatLockSettings.IChatLockSettings|null);
/** GlobalSettings chatDbLidMigrationTimestamp. */
public chatDbLidMigrationTimestamp?: (number|Long|null);
/** GlobalSettings _lightThemeWallpaper. */
public _lightThemeWallpaper?: "lightThemeWallpaper";
/** GlobalSettings _mediaVisibility. */
public _mediaVisibility?: "mediaVisibility";
/** GlobalSettings _darkThemeWallpaper. */
public _darkThemeWallpaper?: "darkThemeWallpaper";
/** GlobalSettings _autoDownloadWiFi. */
public _autoDownloadWiFi?: "autoDownloadWiFi";
/** GlobalSettings _autoDownloadCellular. */
public _autoDownloadCellular?: "autoDownloadCellular";
/** GlobalSettings _autoDownloadRoaming. */
public _autoDownloadRoaming?: "autoDownloadRoaming";
/** GlobalSettings _showIndividualNotificationsPreview. */
public _showIndividualNotificationsPreview?: "showIndividualNotificationsPreview";
/** GlobalSettings _showGroupNotificationsPreview. */
public _showGroupNotificationsPreview?: "showGroupNotificationsPreview";
/** GlobalSettings _disappearingModeDuration. */
public _disappearingModeDuration?: "disappearingModeDuration";
/** GlobalSettings _disappearingModeTimestamp. */
public _disappearingModeTimestamp?: "disappearingModeTimestamp";
/** GlobalSettings _avatarUserSettings. */
public _avatarUserSettings?: "avatarUserSettings";
/** GlobalSettings _fontSize. */
public _fontSize?: "fontSize";
/** GlobalSettings _securityNotifications. */
public _securityNotifications?: "securityNotifications";
/** GlobalSettings _autoUnarchiveChats. */
public _autoUnarchiveChats?: "autoUnarchiveChats";
/** GlobalSettings _videoQualityMode. */
public _videoQualityMode?: "videoQualityMode";
/** GlobalSettings _photoQualityMode. */
public _photoQualityMode?: "photoQualityMode";
/** GlobalSettings _individualNotificationSettings. */
public _individualNotificationSettings?: "individualNotificationSettings";
/** GlobalSettings _groupNotificationSettings. */
public _groupNotificationSettings?: "groupNotificationSettings";
/** GlobalSettings _chatLockSettings. */
public _chatLockSettings?: "chatLockSettings";
/** GlobalSettings _chatDbLidMigrationTimestamp. */
public _chatDbLidMigrationTimestamp?: "chatDbLidMigrationTimestamp";
/**
* Creates a new GlobalSettings instance using the specified properties.
* @param [properties] Properties to set
* @returns GlobalSettings instance
*/
public static create(properties?: HistorySync.IGlobalSettings): HistorySync.GlobalSettings;
/**
* Encodes the specified GlobalSettings message. Does not implicitly {@link HistorySync.GlobalSettings.verify|verify} messages.
* @param message GlobalSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IGlobalSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified GlobalSettings message, length delimited. Does not implicitly {@link HistorySync.GlobalSettings.verify|verify} messages.
* @param message GlobalSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IGlobalSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a GlobalSettings message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns GlobalSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.GlobalSettings;
/**
* Decodes a GlobalSettings message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns GlobalSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.GlobalSettings;
/**
* Verifies a GlobalSettings message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a GlobalSettings message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns GlobalSettings
*/
public static fromObject(object: { [k: string]: any }): HistorySync.GlobalSettings;
/**
* Creates a plain object from a GlobalSettings message. Also converts values to other types if specified.
* @param message GlobalSettings
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.GlobalSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this GlobalSettings to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for GlobalSettings
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a WallpaperSettings. */
interface IWallpaperSettings {
/** WallpaperSettings filename */
filename?: (string|null);
/** WallpaperSettings opacity */
opacity?: (number|null);
}
/** Represents a WallpaperSettings. */
class WallpaperSettings implements IWallpaperSettings {
/**
* Constructs a new WallpaperSettings.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IWallpaperSettings);
/** WallpaperSettings filename. */
public filename?: (string|null);
/** WallpaperSettings opacity. */
public opacity?: (number|null);
/** WallpaperSettings _filename. */
public _filename?: "filename";
/** WallpaperSettings _opacity. */
public _opacity?: "opacity";
/**
* Creates a new WallpaperSettings instance using the specified properties.
* @param [properties] Properties to set
* @returns WallpaperSettings instance
*/
public static create(properties?: HistorySync.IWallpaperSettings): HistorySync.WallpaperSettings;
/**
* Encodes the specified WallpaperSettings message. Does not implicitly {@link HistorySync.WallpaperSettings.verify|verify} messages.
* @param message WallpaperSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IWallpaperSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified WallpaperSettings message, length delimited. Does not implicitly {@link HistorySync.WallpaperSettings.verify|verify} messages.
* @param message WallpaperSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IWallpaperSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a WallpaperSettings message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns WallpaperSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.WallpaperSettings;
/**
* Decodes a WallpaperSettings message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns WallpaperSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.WallpaperSettings;
/**
* Verifies a WallpaperSettings message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a WallpaperSettings message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns WallpaperSettings
*/
public static fromObject(object: { [k: string]: any }): HistorySync.WallpaperSettings;
/**
* Creates a plain object from a WallpaperSettings message. Also converts values to other types if specified.
* @param message WallpaperSettings
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.WallpaperSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this WallpaperSettings to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for WallpaperSettings
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a GroupParticipant. */
interface IGroupParticipant {
/** GroupParticipant userJid */
userJid?: (string|null);
/** GroupParticipant rank */
rank?: (HistorySync.GroupParticipant.Rank|null);
}
/** Represents a GroupParticipant. */
class GroupParticipant implements IGroupParticipant {
/**
* Constructs a new GroupParticipant.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IGroupParticipant);
/** GroupParticipant userJid. */
public userJid?: (string|null);
/** GroupParticipant rank. */
public rank?: (HistorySync.GroupParticipant.Rank|null);
/** GroupParticipant _userJid. */
public _userJid?: "userJid";
/** GroupParticipant _rank. */
public _rank?: "rank";
/**
* Creates a new GroupParticipant instance using the specified properties.
* @param [properties] Properties to set
* @returns GroupParticipant instance
*/
public static create(properties?: HistorySync.IGroupParticipant): HistorySync.GroupParticipant;
/**
* Encodes the specified GroupParticipant message. Does not implicitly {@link HistorySync.GroupParticipant.verify|verify} messages.
* @param message GroupParticipant message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IGroupParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified GroupParticipant message, length delimited. Does not implicitly {@link HistorySync.GroupParticipant.verify|verify} messages.
* @param message GroupParticipant message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IGroupParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a GroupParticipant message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns GroupParticipant
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.GroupParticipant;
/**
* Decodes a GroupParticipant message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns GroupParticipant
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.GroupParticipant;
/**
* Verifies a GroupParticipant message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a GroupParticipant message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns GroupParticipant
*/
public static fromObject(object: { [k: string]: any }): HistorySync.GroupParticipant;
/**
* Creates a plain object from a GroupParticipant message. Also converts values to other types if specified.
* @param message GroupParticipant
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.GroupParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this GroupParticipant to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for GroupParticipant
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace GroupParticipant {
/** Rank enum. */
enum Rank {
REGULAR = 0,
ADMIN = 1,
SUPERADMIN = 2
}
}
/** Properties of a Pushname. */
interface IPushname {
/** Pushname id */
id?: (string|null);
/** Pushname pushname */
pushname?: (string|null);
}
/** Represents a Pushname. */
class Pushname implements IPushname {
/**
* Constructs a new Pushname.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IPushname);
/** Pushname id. */
public id?: (string|null);
/** Pushname pushname. */
public pushname?: (string|null);
/** Pushname _id. */
public _id?: "id";
/** Pushname _pushname. */
public _pushname?: "pushname";
/**
* Creates a new Pushname instance using the specified properties.
* @param [properties] Properties to set
* @returns Pushname instance
*/
public static create(properties?: HistorySync.IPushname): HistorySync.Pushname;
/**
* Encodes the specified Pushname message. Does not implicitly {@link HistorySync.Pushname.verify|verify} messages.
* @param message Pushname message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IPushname, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Pushname message, length delimited. Does not implicitly {@link HistorySync.Pushname.verify|verify} messages.
* @param message Pushname message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IPushname, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Pushname message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Pushname
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.Pushname;
/**
* Decodes a Pushname message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Pushname
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.Pushname;
/**
* Verifies a Pushname message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a Pushname message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Pushname
*/
public static fromObject(object: { [k: string]: any }): HistorySync.Pushname;
/**
* Creates a plain object from a Pushname message. Also converts values to other types if specified.
* @param message Pushname
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: HistorySync.Pushname, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Pushname to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Pushname
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HistorySyncMsg. */
interface IHistorySyncMsg {
/** HistorySyncMsg message */
message?: (Web.IWebMessageInfo|null);
/** HistorySyncMsg msgOrderId */
msgOrderId?: (number|Long|null);
}
/** Represents a HistorySyncMsg. */
class HistorySyncMsg implements IHistorySyncMsg {
/**
* Constructs a new HistorySyncMsg.
* @param [properties] Properties to set
*/
constructor(properties?: HistorySync.IHistorySyncMsg);
/** HistorySyncMsg message. */
public message?: (Web.IWebMessageInfo|null);
/** HistorySyncMsg msgOrderId. */
public msgOrderId?: (number|Long|null);
/** HistorySyncMsg _message. */
public _message?: "message";
/** HistorySyncMsg _msgOrderId. */
public _msgOrderId?: "msgOrderId";
/**
* Creates a new HistorySyncMsg instance using the specified properties.
* @param [properties] Properties to set
* @returns HistorySyncMsg instance
*/
public static create(properties?: HistorySync.IHistorySyncMsg): HistorySync.HistorySyncMsg;
/**
* Encodes the specified HistorySyncMsg message. Does not implicitly {@link HistorySync.HistorySyncMsg.verify|verify} messages.
* @param message HistorySyncMsg message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: HistorySync.IHistorySyncMsg, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HistorySyncMsg message, length delimited. Does not implicitly {@link HistorySync.HistorySyncMsg.verify|verify} messages.
* @param message HistorySyncMsg message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: HistorySync.IHistorySyncMsg, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HistorySyncMsg message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HistorySyncMsg
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HistorySync.HistorySyncMsg;
/**
* Decodes a HistorySyncMsg message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HistorySyncMsg
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HistorySync.HistorySyncMsg;
/**
* Verifies a HistorySyncMsg message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* C