UNPKG

superchats

Version:

SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp

1,223 lines (997 loc) 1.77 MB
import * as $protobuf from "protobufjs"; import Long = require("long"); /** Namespace proto. */ export namespace proto { /** Properties of a ADVDeviceIdentity. */ interface IADVDeviceIdentity { /** ADVDeviceIdentity rawId */ rawId?: (number|null); /** ADVDeviceIdentity timestamp */ timestamp?: (number|Long|null); /** ADVDeviceIdentity keyIndex */ keyIndex?: (number|null); /** ADVDeviceIdentity accountType */ accountType?: (proto.ADVEncryptionType|null); /** ADVDeviceIdentity deviceType */ deviceType?: (proto.ADVEncryptionType|null); } /** Represents a ADVDeviceIdentity. */ class ADVDeviceIdentity implements IADVDeviceIdentity { /** * Constructs a new ADVDeviceIdentity. * @param [properties] Properties to set */ constructor(properties?: proto.IADVDeviceIdentity); /** ADVDeviceIdentity rawId. */ public rawId: number; /** ADVDeviceIdentity timestamp. */ public timestamp: (number|Long); /** ADVDeviceIdentity keyIndex. */ public keyIndex: number; /** ADVDeviceIdentity accountType. */ public accountType: proto.ADVEncryptionType; /** ADVDeviceIdentity deviceType. */ public deviceType: proto.ADVEncryptionType; /** * Creates a new ADVDeviceIdentity instance using the specified properties. * @param [properties] Properties to set * @returns ADVDeviceIdentity instance */ public static create(properties?: proto.IADVDeviceIdentity): proto.ADVDeviceIdentity; /** * Encodes the specified ADVDeviceIdentity message. Does not implicitly {@link proto.ADVDeviceIdentity.verify|verify} messages. * @param message ADVDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IADVDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVDeviceIdentity message, length delimited. Does not implicitly {@link proto.ADVDeviceIdentity.verify|verify} messages. * @param message ADVDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IADVDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVDeviceIdentity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVDeviceIdentity * @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): proto.ADVDeviceIdentity; /** * Decodes a ADVDeviceIdentity message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVDeviceIdentity * @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)): proto.ADVDeviceIdentity; /** * Verifies a ADVDeviceIdentity 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 ADVDeviceIdentity message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVDeviceIdentity */ public static fromObject(object: { [k: string]: any }): proto.ADVDeviceIdentity; /** * Creates a plain object from a ADVDeviceIdentity message. Also converts values to other types if specified. * @param message ADVDeviceIdentity * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.ADVDeviceIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVDeviceIdentity to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVDeviceIdentity * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** ADVEncryptionType enum. */ enum ADVEncryptionType { E2EE = 0, HOSTED = 1 } /** Properties of a ADVKeyIndexList. */ interface IADVKeyIndexList { /** ADVKeyIndexList rawId */ rawId?: (number|null); /** ADVKeyIndexList timestamp */ timestamp?: (number|Long|null); /** ADVKeyIndexList currentIndex */ currentIndex?: (number|null); /** ADVKeyIndexList validIndexes */ validIndexes?: (number[]|null); /** ADVKeyIndexList accountType */ accountType?: (proto.ADVEncryptionType|null); } /** Represents a ADVKeyIndexList. */ class ADVKeyIndexList implements IADVKeyIndexList { /** * Constructs a new ADVKeyIndexList. * @param [properties] Properties to set */ constructor(properties?: proto.IADVKeyIndexList); /** ADVKeyIndexList rawId. */ public rawId: number; /** ADVKeyIndexList timestamp. */ public timestamp: (number|Long); /** ADVKeyIndexList currentIndex. */ public currentIndex: number; /** ADVKeyIndexList validIndexes. */ public validIndexes: number[]; /** ADVKeyIndexList accountType. */ public accountType: proto.ADVEncryptionType; /** * Creates a new ADVKeyIndexList instance using the specified properties. * @param [properties] Properties to set * @returns ADVKeyIndexList instance */ public static create(properties?: proto.IADVKeyIndexList): proto.ADVKeyIndexList; /** * Encodes the specified ADVKeyIndexList message. Does not implicitly {@link proto.ADVKeyIndexList.verify|verify} messages. * @param message ADVKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IADVKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVKeyIndexList message, length delimited. Does not implicitly {@link proto.ADVKeyIndexList.verify|verify} messages. * @param message ADVKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IADVKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVKeyIndexList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVKeyIndexList * @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): proto.ADVKeyIndexList; /** * Decodes a ADVKeyIndexList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVKeyIndexList * @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)): proto.ADVKeyIndexList; /** * Verifies a ADVKeyIndexList 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 ADVKeyIndexList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVKeyIndexList */ public static fromObject(object: { [k: string]: any }): proto.ADVKeyIndexList; /** * Creates a plain object from a ADVKeyIndexList message. Also converts values to other types if specified. * @param message ADVKeyIndexList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.ADVKeyIndexList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVKeyIndexList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVKeyIndexList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVSignedDeviceIdentity. */ interface IADVSignedDeviceIdentity { /** ADVSignedDeviceIdentity details */ details?: (Uint8Array|null); /** ADVSignedDeviceIdentity accountSignatureKey */ accountSignatureKey?: (Uint8Array|null); /** ADVSignedDeviceIdentity accountSignature */ accountSignature?: (Uint8Array|null); /** ADVSignedDeviceIdentity deviceSignature */ deviceSignature?: (Uint8Array|null); } /** Represents a ADVSignedDeviceIdentity. */ class ADVSignedDeviceIdentity implements IADVSignedDeviceIdentity { /** * Constructs a new ADVSignedDeviceIdentity. * @param [properties] Properties to set */ constructor(properties?: proto.IADVSignedDeviceIdentity); /** ADVSignedDeviceIdentity details. */ public details: Uint8Array; /** ADVSignedDeviceIdentity accountSignatureKey. */ public accountSignatureKey: Uint8Array; /** ADVSignedDeviceIdentity accountSignature. */ public accountSignature: Uint8Array; /** ADVSignedDeviceIdentity deviceSignature. */ public deviceSignature: Uint8Array; /** * Creates a new ADVSignedDeviceIdentity instance using the specified properties. * @param [properties] Properties to set * @returns ADVSignedDeviceIdentity instance */ public static create(properties?: proto.IADVSignedDeviceIdentity): proto.ADVSignedDeviceIdentity; /** * Encodes the specified ADVSignedDeviceIdentity message. Does not implicitly {@link proto.ADVSignedDeviceIdentity.verify|verify} messages. * @param message ADVSignedDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IADVSignedDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVSignedDeviceIdentity message, length delimited. Does not implicitly {@link proto.ADVSignedDeviceIdentity.verify|verify} messages. * @param message ADVSignedDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IADVSignedDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVSignedDeviceIdentity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVSignedDeviceIdentity * @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): proto.ADVSignedDeviceIdentity; /** * Decodes a ADVSignedDeviceIdentity message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVSignedDeviceIdentity * @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)): proto.ADVSignedDeviceIdentity; /** * Verifies a ADVSignedDeviceIdentity 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 ADVSignedDeviceIdentity message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVSignedDeviceIdentity */ public static fromObject(object: { [k: string]: any }): proto.ADVSignedDeviceIdentity; /** * Creates a plain object from a ADVSignedDeviceIdentity message. Also converts values to other types if specified. * @param message ADVSignedDeviceIdentity * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.ADVSignedDeviceIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVSignedDeviceIdentity to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVSignedDeviceIdentity * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVSignedDeviceIdentityHMAC. */ interface IADVSignedDeviceIdentityHMAC { /** ADVSignedDeviceIdentityHMAC details */ details?: (Uint8Array|null); /** ADVSignedDeviceIdentityHMAC hmac */ hmac?: (Uint8Array|null); /** ADVSignedDeviceIdentityHMAC accountType */ accountType?: (proto.ADVEncryptionType|null); } /** Represents a ADVSignedDeviceIdentityHMAC. */ class ADVSignedDeviceIdentityHMAC implements IADVSignedDeviceIdentityHMAC { /** * Constructs a new ADVSignedDeviceIdentityHMAC. * @param [properties] Properties to set */ constructor(properties?: proto.IADVSignedDeviceIdentityHMAC); /** ADVSignedDeviceIdentityHMAC details. */ public details: Uint8Array; /** ADVSignedDeviceIdentityHMAC hmac. */ public hmac: Uint8Array; /** ADVSignedDeviceIdentityHMAC accountType. */ public accountType: proto.ADVEncryptionType; /** * Creates a new ADVSignedDeviceIdentityHMAC instance using the specified properties. * @param [properties] Properties to set * @returns ADVSignedDeviceIdentityHMAC instance */ public static create(properties?: proto.IADVSignedDeviceIdentityHMAC): proto.ADVSignedDeviceIdentityHMAC; /** * Encodes the specified ADVSignedDeviceIdentityHMAC message. Does not implicitly {@link proto.ADVSignedDeviceIdentityHMAC.verify|verify} messages. * @param message ADVSignedDeviceIdentityHMAC message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IADVSignedDeviceIdentityHMAC, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVSignedDeviceIdentityHMAC message, length delimited. Does not implicitly {@link proto.ADVSignedDeviceIdentityHMAC.verify|verify} messages. * @param message ADVSignedDeviceIdentityHMAC message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IADVSignedDeviceIdentityHMAC, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVSignedDeviceIdentityHMAC message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVSignedDeviceIdentityHMAC * @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): proto.ADVSignedDeviceIdentityHMAC; /** * Decodes a ADVSignedDeviceIdentityHMAC message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVSignedDeviceIdentityHMAC * @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)): proto.ADVSignedDeviceIdentityHMAC; /** * Verifies a ADVSignedDeviceIdentityHMAC 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 ADVSignedDeviceIdentityHMAC message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVSignedDeviceIdentityHMAC */ public static fromObject(object: { [k: string]: any }): proto.ADVSignedDeviceIdentityHMAC; /** * Creates a plain object from a ADVSignedDeviceIdentityHMAC message. Also converts values to other types if specified. * @param message ADVSignedDeviceIdentityHMAC * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.ADVSignedDeviceIdentityHMAC, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVSignedDeviceIdentityHMAC to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVSignedDeviceIdentityHMAC * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVSignedKeyIndexList. */ interface IADVSignedKeyIndexList { /** ADVSignedKeyIndexList details */ details?: (Uint8Array|null); /** ADVSignedKeyIndexList accountSignature */ accountSignature?: (Uint8Array|null); /** ADVSignedKeyIndexList accountSignatureKey */ accountSignatureKey?: (Uint8Array|null); } /** Represents a ADVSignedKeyIndexList. */ class ADVSignedKeyIndexList implements IADVSignedKeyIndexList { /** * Constructs a new ADVSignedKeyIndexList. * @param [properties] Properties to set */ constructor(properties?: proto.IADVSignedKeyIndexList); /** ADVSignedKeyIndexList details. */ public details: Uint8Array; /** ADVSignedKeyIndexList accountSignature. */ public accountSignature: Uint8Array; /** ADVSignedKeyIndexList accountSignatureKey. */ public accountSignatureKey: Uint8Array; /** * Creates a new ADVSignedKeyIndexList instance using the specified properties. * @param [properties] Properties to set * @returns ADVSignedKeyIndexList instance */ public static create(properties?: proto.IADVSignedKeyIndexList): proto.ADVSignedKeyIndexList; /** * Encodes the specified ADVSignedKeyIndexList message. Does not implicitly {@link proto.ADVSignedKeyIndexList.verify|verify} messages. * @param message ADVSignedKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IADVSignedKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVSignedKeyIndexList message, length delimited. Does not implicitly {@link proto.ADVSignedKeyIndexList.verify|verify} messages. * @param message ADVSignedKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IADVSignedKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVSignedKeyIndexList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVSignedKeyIndexList * @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): proto.ADVSignedKeyIndexList; /** * Decodes a ADVSignedKeyIndexList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVSignedKeyIndexList * @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)): proto.ADVSignedKeyIndexList; /** * Verifies a ADVSignedKeyIndexList 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 ADVSignedKeyIndexList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVSignedKeyIndexList */ public static fromObject(object: { [k: string]: any }): proto.ADVSignedKeyIndexList; /** * Creates a plain object from a ADVSignedKeyIndexList message. Also converts values to other types if specified. * @param message ADVSignedKeyIndexList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.ADVSignedKeyIndexList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVSignedKeyIndexList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVSignedKeyIndexList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActionLink. */ interface IActionLink { /** ActionLink url */ url?: (string|null); /** ActionLink buttonTitle */ buttonTitle?: (string|null); } /** Represents an ActionLink. */ class ActionLink implements IActionLink { /** * Constructs a new ActionLink. * @param [properties] Properties to set */ constructor(properties?: proto.IActionLink); /** ActionLink url. */ public url: string; /** ActionLink buttonTitle. */ public buttonTitle: string; /** * Creates a new ActionLink instance using the specified properties. * @param [properties] Properties to set * @returns ActionLink instance */ public static create(properties?: proto.IActionLink): proto.ActionLink; /** * Encodes the specified ActionLink message. Does not implicitly {@link proto.ActionLink.verify|verify} messages. * @param message ActionLink message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IActionLink, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionLink message, length delimited. Does not implicitly {@link proto.ActionLink.verify|verify} messages. * @param message ActionLink message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IActionLink, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionLink message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionLink * @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): proto.ActionLink; /** * Decodes an ActionLink message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionLink * @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)): proto.ActionLink; /** * Verifies an ActionLink 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 ActionLink message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionLink */ public static fromObject(object: { [k: string]: any }): proto.ActionLink; /** * Creates a plain object from an ActionLink message. Also converts values to other types if specified. * @param message ActionLink * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.ActionLink, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionLink to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionLink * @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?: proto.IAutoDownloadSettings); /** AutoDownloadSettings downloadImages. */ public downloadImages: boolean; /** AutoDownloadSettings downloadAudio. */ public downloadAudio: boolean; /** AutoDownloadSettings downloadVideo. */ public downloadVideo: boolean; /** AutoDownloadSettings downloadDocuments. */ public downloadDocuments: boolean; /** * Creates a new AutoDownloadSettings instance using the specified properties. * @param [properties] Properties to set * @returns AutoDownloadSettings instance */ public static create(properties?: proto.IAutoDownloadSettings): proto.AutoDownloadSettings; /** * Encodes the specified AutoDownloadSettings message. Does not implicitly {@link proto.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: proto.IAutoDownloadSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AutoDownloadSettings message, length delimited. Does not implicitly {@link proto.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: proto.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): proto.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)): proto.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 }): proto.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: proto.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 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?: proto.IAvatarUserSettings); /** AvatarUserSettings fbid. */ public fbid: string; /** AvatarUserSettings password. */ public password: string; /** * Creates a new AvatarUserSettings instance using the specified properties. * @param [properties] Properties to set * @returns AvatarUserSettings instance */ public static create(properties?: proto.IAvatarUserSettings): proto.AvatarUserSettings; /** * Encodes the specified AvatarUserSettings message. Does not implicitly {@link proto.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: proto.IAvatarUserSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AvatarUserSettings message, length delimited. Does not implicitly {@link proto.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: proto.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): proto.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)): proto.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 }): proto.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: proto.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 BizAccountLinkInfo. */ interface IBizAccountLinkInfo { /** BizAccountLinkInfo whatsappBizAcctFbid */ whatsappBizAcctFbid?: (number|Long|null); /** BizAccountLinkInfo whatsappAcctNumber */ whatsappAcctNumber?: (string|null); /** BizAccountLinkInfo issueTime */ issueTime?: (number|Long|null); /** BizAccountLinkInfo hostStorage */ hostStorage?: (proto.BizAccountLinkInfo.HostStorageType|null); /** BizAccountLinkInfo accountType */ accountType?: (proto.BizAccountLinkInfo.AccountType|null); } /** Represents a BizAccountLinkInfo. */ class BizAccountLinkInfo implements IBizAccountLinkInfo { /** * Constructs a new BizAccountLinkInfo. * @param [properties] Properties to set */ constructor(properties?: proto.IBizAccountLinkInfo); /** BizAccountLinkInfo whatsappBizAcctFbid. */ public whatsappBizAcctFbid: (number|Long); /** BizAccountLinkInfo whatsappAcctNumber. */ public whatsappAcctNumber: string; /** BizAccountLinkInfo issueTime. */ public issueTime: (number|Long); /** BizAccountLinkInfo hostStorage. */ public hostStorage: proto.BizAccountLinkInfo.HostStorageType; /** BizAccountLinkInfo accountType. */ public accountType: proto.BizAccountLinkInfo.AccountType; /** * Creates a new BizAccountLinkInfo instance using the specified properties. * @param [properties] Properties to set * @returns BizAccountLinkInfo instance */ public static create(properties?: proto.IBizAccountLinkInfo): proto.BizAccountLinkInfo; /** * Encodes the specified BizAccountLinkInfo message. Does not implicitly {@link proto.BizAccountLinkInfo.verify|verify} messages. * @param message BizAccountLinkInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizAccountLinkInfo message, length delimited. Does not implicitly {@link proto.BizAccountLinkInfo.verify|verify} messages. * @param message BizAccountLinkInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizAccountLinkInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizAccountLinkInfo * @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): proto.BizAccountLinkInfo; /** * Decodes a BizAccountLinkInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizAccountLinkInfo * @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)): proto.BizAccountLinkInfo; /** * Verifies a BizAccountLinkInfo 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 BizAccountLinkInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizAccountLinkInfo */ public static fromObject(object: { [k: string]: any }): proto.BizAccountLinkInfo; /** * Creates a plain object from a BizAccountLinkInfo message. Also converts values to other types if specified. * @param message BizAccountLinkInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.BizAccountLinkInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizAccountLinkInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizAccountLinkInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BizAccountLinkInfo { /** AccountType enum. */ enum AccountType { ENTERPRISE = 0 } /** HostStorageType enum. */ enum HostStorageType { ON_PREMISE = 0, FACEBOOK = 1 } } /** Properties of a BizAccountPayload. */ interface IBizAccountPayload { /** BizAccountPayload vnameCert */ vnameCert?: (proto.IVerifiedNameCertificate|null); /** BizAccountPayload bizAcctLinkInfo */ bizAcctLinkInfo?: (Uint8Array|null); } /** Represents a BizAccountPayload. */ class BizAccountPayload implements IBizAccountPayload { /** * Constructs a new BizAccountPayload. * @param [properties] Properties to set */ constructor(properties?: proto.IBizAccountPayload); /** BizAccountPayload vnameCert. */ public vnameCert?: (proto.IVerifiedNameCertificate|null); /** BizAccountPayload bizAcctLinkInfo. */ public bizAcctLinkInfo: Uint8Array; /** * Creates a new BizAccountPayload instance using the specified properties. * @param [properties] Properties to set * @returns BizAccountPayload instance */ public static create(properties?: proto.IBizAccountPayload): proto.BizAccountPayload; /** * Encodes the specified BizAccountPayload message. Does not implicitly {@link proto.BizAccountPayload.verify|verify} messages. * @param message BizAccountPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizAccountPayload message, length delimited. Does not implicitly {@link proto.BizAccountPayload.verify|verify} messages. * @param message BizAccountPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: proto.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizAccountPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizAccountPayload * @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): proto.BizAccountPayload; /** * Decodes a BizAccountPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizAccountPayload * @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)): proto.BizAccountPayload; /** * Verifies a BizAccountPayload 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 BizAccountPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizAccountPayload */ public static fromObject(object: { [k: string]: any }): proto.BizAccountPayload; /** * Creates a plain object from a BizAccountPayload message. Also converts values to other types if specified. * @param message BizAccountPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: proto.BizAccountPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizAccountPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizAccountPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizIdentityInfo. */ interface IBizIdentityInfo { /** BizIdentityInfo vlevel */ vlevel?: (proto.BizIdentityInfo.VerifiedLevelValue|null); /** BizIdentityInfo vnameCert */ vnameCert?: (proto.IVerifiedNameCertificate|null); /** BizIdentityInfo signed */ signed?: (boolean|null); /** BizIdentityInfo revoked */ revoked?: (boolean|null); /** BizIdentityInfo hostStorage */ hostStorage?: (proto.BizIdentityInfo.HostStorageType|null); /** BizIdentityInfo actualActors */ actualActors?: (proto.BizIdentityInfo.ActualActorsType|null); /** BizIdentityInfo privacyModeTs */ privacyModeTs?: (number|Long|null); /** BizIdentityInfo featureControls */ featureControls?: (number|Long|null); } /** Represents a BizIdentityInfo. */ class BizIdentityInfo implements IBizIdentityInfo { /** * Constructs a new BizIdentityInfo. * @param [properties] Properties to set */ constructor(properties?: proto.IBizIdentityInfo); /** BizIdentityInfo vlevel. */ public vlevel: proto.BizIdentityInfo.VerifiedLevelValue; /** BizIdentityInfo vnameCert. */ public vnameCert?: (proto.IVerifiedNameCertificate|null); /** BizIdentityInfo signed. */ public signed: boolean; /** BizIdentityInfo revoked. */ public revoked: boolean; /** BizIdentityInfo hostStorage. */ public hostStorage: proto.BizIdentityInfo.HostStorageType; /** BizIdentityInfo actualActors. */ public actualActors: proto.BizIdentityInfo.ActualActorsType; /** BizIdentityInfo privacyModeTs. */ public privacyModeTs: (number|Long); /** BizIdentityInfo featureControls. */ public featureControls: (number|Long); /** * Creates a new BizIdentityInfo instance using the specified properties. * @param [properties] Properties to set * @returns BizIdentityInfo instance */ public static create(properties?: proto.IBizIdentityInfo): proto.BizIdentityInfo; /** * Encodes the specified BizIdentityInfo message. Does not implicitly {@link proto.BizIdentityInfo.verify|verify} messages. * @param message BizIdentityInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: proto.IBizIdentityInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizIdentityInfo message, length delimited. Does not implicitl