sanka-baileyss
Version:
WhatsApp API Modification By Sanka_Vollerei
1,250 lines • 1.24 MB
TypeScript
import * as $protobuf from "protobufjs";
import Long = require("long");
/** Namespace E2E. */
export namespace E2E {
/** Properties of a MemberLabel. */
interface IMemberLabel {
/** MemberLabel label */
label?: (string|null);
/** MemberLabel labelTimestamp */
labelTimestamp?: (number|Long|null);
}
/** Represents a MemberLabel. */
class MemberLabel implements IMemberLabel {
/**
* Constructs a new MemberLabel.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IMemberLabel);
/** MemberLabel label. */
public label?: (string|null);
/** MemberLabel labelTimestamp. */
public labelTimestamp?: (number|Long|null);
/** MemberLabel _label. */
public _label?: "label";
/** MemberLabel _labelTimestamp. */
public _labelTimestamp?: "labelTimestamp";
/**
* Creates a new MemberLabel instance using the specified properties.
* @param [properties] Properties to set
* @returns MemberLabel instance
*/
public static create(properties?: E2E.IMemberLabel): E2E.MemberLabel;
/**
* Encodes the specified MemberLabel message. Does not implicitly {@link E2E.MemberLabel.verify|verify} messages.
* @param message MemberLabel message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IMemberLabel, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MemberLabel message, length delimited. Does not implicitly {@link E2E.MemberLabel.verify|verify} messages.
* @param message MemberLabel message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IMemberLabel, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MemberLabel message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MemberLabel
* @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): E2E.MemberLabel;
/**
* Decodes a MemberLabel message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MemberLabel
* @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)): E2E.MemberLabel;
/**
* Verifies a MemberLabel 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 MemberLabel message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MemberLabel
*/
public static fromObject(object: { [k: string]: any }): E2E.MemberLabel;
/**
* Creates a plain object from a MemberLabel message. Also converts values to other types if specified.
* @param message MemberLabel
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.MemberLabel, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MemberLabel to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MemberLabel
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a AIQueryFanout. */
interface IAIQueryFanout {
/** AIQueryFanout messageKey */
messageKey?: (Protocol.IMessageKey|null);
/** AIQueryFanout message */
message?: (E2E.IMessage|null);
/** AIQueryFanout timestamp */
timestamp?: (number|Long|null);
}
/** Represents a AIQueryFanout. */
class AIQueryFanout implements IAIQueryFanout {
/**
* Constructs a new AIQueryFanout.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IAIQueryFanout);
/** AIQueryFanout messageKey. */
public messageKey?: (Protocol.IMessageKey|null);
/** AIQueryFanout message. */
public message?: (E2E.IMessage|null);
/** AIQueryFanout timestamp. */
public timestamp?: (number|Long|null);
/** AIQueryFanout _messageKey. */
public _messageKey?: "messageKey";
/** AIQueryFanout _message. */
public _message?: "message";
/** AIQueryFanout _timestamp. */
public _timestamp?: "timestamp";
/**
* Creates a new AIQueryFanout instance using the specified properties.
* @param [properties] Properties to set
* @returns AIQueryFanout instance
*/
public static create(properties?: E2E.IAIQueryFanout): E2E.AIQueryFanout;
/**
* Encodes the specified AIQueryFanout message. Does not implicitly {@link E2E.AIQueryFanout.verify|verify} messages.
* @param message AIQueryFanout message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IAIQueryFanout, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIQueryFanout message, length delimited. Does not implicitly {@link E2E.AIQueryFanout.verify|verify} messages.
* @param message AIQueryFanout message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IAIQueryFanout, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIQueryFanout message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIQueryFanout
* @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): E2E.AIQueryFanout;
/**
* Decodes a AIQueryFanout message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIQueryFanout
* @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)): E2E.AIQueryFanout;
/**
* Verifies a AIQueryFanout 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 AIQueryFanout message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIQueryFanout
*/
public static fromObject(object: { [k: string]: any }): E2E.AIQueryFanout;
/**
* Creates a plain object from a AIQueryFanout message. Also converts values to other types if specified.
* @param message AIQueryFanout
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIQueryFanout, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIQueryFanout to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIQueryFanout
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an UrlTrackingMap. */
interface IUrlTrackingMap {
/** UrlTrackingMap urlTrackingMapElements */
urlTrackingMapElements?: (E2E.UrlTrackingMap.IUrlTrackingMapElement[]|null);
}
/** Represents an UrlTrackingMap. */
class UrlTrackingMap implements IUrlTrackingMap {
/**
* Constructs a new UrlTrackingMap.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IUrlTrackingMap);
/** UrlTrackingMap urlTrackingMapElements. */
public urlTrackingMapElements: E2E.UrlTrackingMap.IUrlTrackingMapElement[];
/**
* Creates a new UrlTrackingMap instance using the specified properties.
* @param [properties] Properties to set
* @returns UrlTrackingMap instance
*/
public static create(properties?: E2E.IUrlTrackingMap): E2E.UrlTrackingMap;
/**
* Encodes the specified UrlTrackingMap message. Does not implicitly {@link E2E.UrlTrackingMap.verify|verify} messages.
* @param message UrlTrackingMap message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified UrlTrackingMap message, length delimited. Does not implicitly {@link E2E.UrlTrackingMap.verify|verify} messages.
* @param message UrlTrackingMap message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an UrlTrackingMap message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns UrlTrackingMap
* @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): E2E.UrlTrackingMap;
/**
* Decodes an UrlTrackingMap message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns UrlTrackingMap
* @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)): E2E.UrlTrackingMap;
/**
* Verifies an UrlTrackingMap 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 UrlTrackingMap message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns UrlTrackingMap
*/
public static fromObject(object: { [k: string]: any }): E2E.UrlTrackingMap;
/**
* Creates a plain object from an UrlTrackingMap message. Also converts values to other types if specified.
* @param message UrlTrackingMap
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.UrlTrackingMap, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this UrlTrackingMap to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for UrlTrackingMap
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace UrlTrackingMap {
/** Properties of an UrlTrackingMapElement. */
interface IUrlTrackingMapElement {
/** UrlTrackingMapElement originalUrl */
originalUrl?: (string|null);
/** UrlTrackingMapElement unconsentedUsersUrl */
unconsentedUsersUrl?: (string|null);
/** UrlTrackingMapElement consentedUsersUrl */
consentedUsersUrl?: (string|null);
/** UrlTrackingMapElement cardIndex */
cardIndex?: (number|null);
}
/** Represents an UrlTrackingMapElement. */
class UrlTrackingMapElement implements IUrlTrackingMapElement {
/**
* Constructs a new UrlTrackingMapElement.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.UrlTrackingMap.IUrlTrackingMapElement);
/** UrlTrackingMapElement originalUrl. */
public originalUrl?: (string|null);
/** UrlTrackingMapElement unconsentedUsersUrl. */
public unconsentedUsersUrl?: (string|null);
/** UrlTrackingMapElement consentedUsersUrl. */
public consentedUsersUrl?: (string|null);
/** UrlTrackingMapElement cardIndex. */
public cardIndex?: (number|null);
/** UrlTrackingMapElement _originalUrl. */
public _originalUrl?: "originalUrl";
/** UrlTrackingMapElement _unconsentedUsersUrl. */
public _unconsentedUsersUrl?: "unconsentedUsersUrl";
/** UrlTrackingMapElement _consentedUsersUrl. */
public _consentedUsersUrl?: "consentedUsersUrl";
/** UrlTrackingMapElement _cardIndex. */
public _cardIndex?: "cardIndex";
/**
* Creates a new UrlTrackingMapElement instance using the specified properties.
* @param [properties] Properties to set
* @returns UrlTrackingMapElement instance
*/
public static create(properties?: E2E.UrlTrackingMap.IUrlTrackingMapElement): E2E.UrlTrackingMap.UrlTrackingMapElement;
/**
* Encodes the specified UrlTrackingMapElement message. Does not implicitly {@link E2E.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages.
* @param message UrlTrackingMapElement message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.UrlTrackingMap.IUrlTrackingMapElement, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified UrlTrackingMapElement message, length delimited. Does not implicitly {@link E2E.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages.
* @param message UrlTrackingMapElement message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.UrlTrackingMap.IUrlTrackingMapElement, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an UrlTrackingMapElement message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns UrlTrackingMapElement
* @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): E2E.UrlTrackingMap.UrlTrackingMapElement;
/**
* Decodes an UrlTrackingMapElement message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns UrlTrackingMapElement
* @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)): E2E.UrlTrackingMap.UrlTrackingMapElement;
/**
* Verifies an UrlTrackingMapElement 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 UrlTrackingMapElement message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns UrlTrackingMapElement
*/
public static fromObject(object: { [k: string]: any }): E2E.UrlTrackingMap.UrlTrackingMapElement;
/**
* Creates a plain object from an UrlTrackingMapElement message. Also converts values to other types if specified.
* @param message UrlTrackingMapElement
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.UrlTrackingMap.UrlTrackingMapElement, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this UrlTrackingMapElement to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for UrlTrackingMapElement
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a ProcessedVideo. */
interface IProcessedVideo {
/** ProcessedVideo directPath */
directPath?: (string|null);
/** ProcessedVideo fileSha256 */
fileSha256?: (Uint8Array|null);
/** ProcessedVideo height */
height?: (number|null);
/** ProcessedVideo width */
width?: (number|null);
/** ProcessedVideo fileLength */
fileLength?: (number|Long|null);
/** ProcessedVideo bitrate */
bitrate?: (number|null);
/** ProcessedVideo quality */
quality?: (E2E.ProcessedVideo.VideoQuality|null);
/** ProcessedVideo capabilities */
capabilities?: (string[]|null);
}
/** Represents a ProcessedVideo. */
class ProcessedVideo implements IProcessedVideo {
/**
* Constructs a new ProcessedVideo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IProcessedVideo);
/** ProcessedVideo directPath. */
public directPath?: (string|null);
/** ProcessedVideo fileSha256. */
public fileSha256?: (Uint8Array|null);
/** ProcessedVideo height. */
public height?: (number|null);
/** ProcessedVideo width. */
public width?: (number|null);
/** ProcessedVideo fileLength. */
public fileLength?: (number|Long|null);
/** ProcessedVideo bitrate. */
public bitrate?: (number|null);
/** ProcessedVideo quality. */
public quality?: (E2E.ProcessedVideo.VideoQuality|null);
/** ProcessedVideo capabilities. */
public capabilities: string[];
/** ProcessedVideo _directPath. */
public _directPath?: "directPath";
/** ProcessedVideo _fileSha256. */
public _fileSha256?: "fileSha256";
/** ProcessedVideo _height. */
public _height?: "height";
/** ProcessedVideo _width. */
public _width?: "width";
/** ProcessedVideo _fileLength. */
public _fileLength?: "fileLength";
/** ProcessedVideo _bitrate. */
public _bitrate?: "bitrate";
/** ProcessedVideo _quality. */
public _quality?: "quality";
/**
* Creates a new ProcessedVideo instance using the specified properties.
* @param [properties] Properties to set
* @returns ProcessedVideo instance
*/
public static create(properties?: E2E.IProcessedVideo): E2E.ProcessedVideo;
/**
* Encodes the specified ProcessedVideo message. Does not implicitly {@link E2E.ProcessedVideo.verify|verify} messages.
* @param message ProcessedVideo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IProcessedVideo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProcessedVideo message, length delimited. Does not implicitly {@link E2E.ProcessedVideo.verify|verify} messages.
* @param message ProcessedVideo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IProcessedVideo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProcessedVideo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProcessedVideo
* @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): E2E.ProcessedVideo;
/**
* Decodes a ProcessedVideo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProcessedVideo
* @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)): E2E.ProcessedVideo;
/**
* Verifies a ProcessedVideo 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 ProcessedVideo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProcessedVideo
*/
public static fromObject(object: { [k: string]: any }): E2E.ProcessedVideo;
/**
* Creates a plain object from a ProcessedVideo message. Also converts values to other types if specified.
* @param message ProcessedVideo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ProcessedVideo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProcessedVideo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProcessedVideo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ProcessedVideo {
/** VideoQuality enum. */
enum VideoQuality {
UNDEFINED = 0,
LOW = 1,
MID = 2,
HIGH = 3
}
}
/** Properties of a LIDMigrationMappingSyncMessage. */
interface ILIDMigrationMappingSyncMessage {
/** LIDMigrationMappingSyncMessage encodedMappingPayload */
encodedMappingPayload?: (Uint8Array|null);
}
/** Represents a LIDMigrationMappingSyncMessage. */
class LIDMigrationMappingSyncMessage implements ILIDMigrationMappingSyncMessage {
/**
* Constructs a new LIDMigrationMappingSyncMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ILIDMigrationMappingSyncMessage);
/** LIDMigrationMappingSyncMessage encodedMappingPayload. */
public encodedMappingPayload?: (Uint8Array|null);
/** LIDMigrationMappingSyncMessage _encodedMappingPayload. */
public _encodedMappingPayload?: "encodedMappingPayload";
/**
* Creates a new LIDMigrationMappingSyncMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns LIDMigrationMappingSyncMessage instance
*/
public static create(properties?: E2E.ILIDMigrationMappingSyncMessage): E2E.LIDMigrationMappingSyncMessage;
/**
* Encodes the specified LIDMigrationMappingSyncMessage message. Does not implicitly {@link E2E.LIDMigrationMappingSyncMessage.verify|verify} messages.
* @param message LIDMigrationMappingSyncMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ILIDMigrationMappingSyncMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LIDMigrationMappingSyncMessage message, length delimited. Does not implicitly {@link E2E.LIDMigrationMappingSyncMessage.verify|verify} messages.
* @param message LIDMigrationMappingSyncMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ILIDMigrationMappingSyncMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LIDMigrationMappingSyncMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LIDMigrationMappingSyncMessage
* @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): E2E.LIDMigrationMappingSyncMessage;
/**
* Decodes a LIDMigrationMappingSyncMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LIDMigrationMappingSyncMessage
* @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)): E2E.LIDMigrationMappingSyncMessage;
/**
* Verifies a LIDMigrationMappingSyncMessage 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 LIDMigrationMappingSyncMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LIDMigrationMappingSyncMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.LIDMigrationMappingSyncMessage;
/**
* Creates a plain object from a LIDMigrationMappingSyncMessage message. Also converts values to other types if specified.
* @param message LIDMigrationMappingSyncMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.LIDMigrationMappingSyncMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LIDMigrationMappingSyncMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for LIDMigrationMappingSyncMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MediaNotifyMessage. */
interface IMediaNotifyMessage {
/** MediaNotifyMessage expressPathUrl */
expressPathUrl?: (string|null);
/** MediaNotifyMessage fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** MediaNotifyMessage fileLength */
fileLength?: (number|Long|null);
}
/** Represents a MediaNotifyMessage. */
class MediaNotifyMessage implements IMediaNotifyMessage {
/**
* Constructs a new MediaNotifyMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IMediaNotifyMessage);
/** MediaNotifyMessage expressPathUrl. */
public expressPathUrl?: (string|null);
/** MediaNotifyMessage fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** MediaNotifyMessage fileLength. */
public fileLength?: (number|Long|null);
/** MediaNotifyMessage _expressPathUrl. */
public _expressPathUrl?: "expressPathUrl";
/** MediaNotifyMessage _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** MediaNotifyMessage _fileLength. */
public _fileLength?: "fileLength";
/**
* Creates a new MediaNotifyMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns MediaNotifyMessage instance
*/
public static create(properties?: E2E.IMediaNotifyMessage): E2E.MediaNotifyMessage;
/**
* Encodes the specified MediaNotifyMessage message. Does not implicitly {@link E2E.MediaNotifyMessage.verify|verify} messages.
* @param message MediaNotifyMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IMediaNotifyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MediaNotifyMessage message, length delimited. Does not implicitly {@link E2E.MediaNotifyMessage.verify|verify} messages.
* @param message MediaNotifyMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IMediaNotifyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MediaNotifyMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MediaNotifyMessage
* @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): E2E.MediaNotifyMessage;
/**
* Decodes a MediaNotifyMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MediaNotifyMessage
* @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)): E2E.MediaNotifyMessage;
/**
* Verifies a MediaNotifyMessage 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 MediaNotifyMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MediaNotifyMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.MediaNotifyMessage;
/**
* Creates a plain object from a MediaNotifyMessage message. Also converts values to other types if specified.
* @param message MediaNotifyMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.MediaNotifyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MediaNotifyMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MediaNotifyMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MessageSecretMessage. */
interface IMessageSecretMessage {
/** MessageSecretMessage version */
version?: (number|null);
/** MessageSecretMessage encIv */
encIv?: (Uint8Array|null);
/** MessageSecretMessage encPayload */
encPayload?: (Uint8Array|null);
}
/** Represents a MessageSecretMessage. */
class MessageSecretMessage implements IMessageSecretMessage {
/**
* Constructs a new MessageSecretMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IMessageSecretMessage);
/** MessageSecretMessage version. */
public version?: (number|null);
/** MessageSecretMessage encIv. */
public encIv?: (Uint8Array|null);
/** MessageSecretMessage encPayload. */
public encPayload?: (Uint8Array|null);
/** MessageSecretMessage _version. */
public _version?: "version";
/** MessageSecretMessage _encIv. */
public _encIv?: "encIv";
/** MessageSecretMessage _encPayload. */
public _encPayload?: "encPayload";
/**
* Creates a new MessageSecretMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns MessageSecretMessage instance
*/
public static create(properties?: E2E.IMessageSecretMessage): E2E.MessageSecretMessage;
/**
* Encodes the specified MessageSecretMessage message. Does not implicitly {@link E2E.MessageSecretMessage.verify|verify} messages.
* @param message MessageSecretMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IMessageSecretMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MessageSecretMessage message, length delimited. Does not implicitly {@link E2E.MessageSecretMessage.verify|verify} messages.
* @param message MessageSecretMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IMessageSecretMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MessageSecretMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MessageSecretMessage
* @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): E2E.MessageSecretMessage;
/**
* Decodes a MessageSecretMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MessageSecretMessage
* @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)): E2E.MessageSecretMessage;
/**
* Verifies a MessageSecretMessage 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 MessageSecretMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MessageSecretMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.MessageSecretMessage;
/**
* Creates a plain object from a MessageSecretMessage message. Also converts values to other types if specified.
* @param message MessageSecretMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.MessageSecretMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MessageSecretMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MessageSecretMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a GroupMention. */
interface IGroupMention {
/** GroupMention groupJid */
groupJid?: (string|null);
/** GroupMention groupSubject */
groupSubject?: (string|null);
}
/** Represents a GroupMention. */
class GroupMention implements IGroupMention {
/**
* Constructs a new GroupMention.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IGroupMention);
/** GroupMention groupJid. */
public groupJid?: (string|null);
/** GroupMention groupSubject. */
public groupSubject?: (string|null);
/** GroupMention _groupJid. */
public _groupJid?: "groupJid";
/** GroupMention _groupSubject. */
public _groupSubject?: "groupSubject";
/**
* Creates a new GroupMention instance using the specified properties.
* @param [properties] Properties to set
* @returns GroupMention instance
*/
public static create(properties?: E2E.IGroupMention): E2E.GroupMention;
/**
* Encodes the specified GroupMention message. Does not implicitly {@link E2E.GroupMention.verify|verify} messages.
* @param message GroupMention message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IGroupMention, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified GroupMention message, length delimited. Does not implicitly {@link E2E.GroupMention.verify|verify} messages.
* @param message GroupMention message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IGroupMention, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a GroupMention message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns GroupMention
* @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): E2E.GroupMention;
/**
* Decodes a GroupMention message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns GroupMention
* @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)): E2E.GroupMention;
/**
* Verifies a GroupMention 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 GroupMention message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns GroupMention
*/
public static fromObject(object: { [k: string]: any }): E2E.GroupMention;
/**
* Creates a plain object from a GroupMention message. Also converts values to other types if specified.
* @param message GroupMention
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.GroupMention, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this GroupMention to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for GroupMention
* @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?: E2E.IActionLink);
/** ActionLink url. */
public url?: (string|null);
/** ActionLink buttonTitle. */
public buttonTitle?: (string|null);
/** ActionLink _url. */
public _url?: "url";
/** ActionLink _buttonTitle. */
public _buttonTitle?: "buttonTitle";
/**
* Creates a new ActionLink instance using the specified properties.
* @param [properties] Properties to set
* @returns ActionLink instance
*/
public static create(properties?: E2E.IActionLink): E2E.ActionLink;
/**
* Encodes the specified ActionLink message. Does not implicitly {@link E2E.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: E2E.IActionLink, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ActionLink message, length delimited. Does not implicitly {@link E2E.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: E2E.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): E2E.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)): E2E.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 }): E2E.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: E2E.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 a DisappearingMode. */
interface IDisappearingMode {
/** DisappearingMode initiator */
initiator?: (E2E.DisappearingMode.Initiator|null);
/** DisappearingMode trigger */
trigger?: (E2E.DisappearingMode.Trigger|null);
/** DisappearingMode initiatorDeviceJid */
initiatorDeviceJid?: (string|null);
/** DisappearingMode initiatedByMe */
initiatedByMe?: (boolean|null);
}
/** Represents a DisappearingMode. */
class DisappearingMode implements IDisappearingMode {
/**
* Constructs a new DisappearingMode.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IDisappearingMode);
/** DisappearingMode initiator. */
public initiator?: (E2E.DisappearingMode.Initiator|null);
/** DisappearingMode trigger. */
public trigger?: (E2E.DisappearingMode.Trigger|null);
/** DisappearingMode initiatorDeviceJid. */
public initiatorDeviceJid?: (string|null);
/** DisappearingMode initiatedByMe. */
public initiatedByMe?: (boolean|null);
/** DisappearingMode _initiator. */
public _initiator?: "initiator";
/** DisappearingMode _trigger. */
public _trigger?: "trigger";
/** DisappearingMode _initiatorDeviceJid. */
public _initiatorDeviceJid?: "initiatorDeviceJid";
/** DisappearingMode _initiatedByMe. */
public _initiatedByMe?: "initiatedByMe";
/**
* Creates a new DisappearingMode instance using the specified properties.
* @param [properties] Properties to set
* @returns DisappearingMode instance
*/
public static create(properties?: E2E.IDisappearingMode): E2E.DisappearingMode;
/**
* Encodes the specified DisappearingMode message. Does not implicitly {@link E2E.DisappearingMode.verify|verify} messages.
* @param message DisappearingMode message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IDisappearingMode, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified DisappearingMode message, length delimited. Does not implicitly {@link E2E.DisappearingMode.verify|verify} messages.
* @param message DisappearingMode message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IDisappearingMode, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a DisappearingMode message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns DisappearingMode
* @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): E2E.DisappearingMode;
/**
* Decodes a DisappearingMode message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns DisappearingMode
* @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)): E2E.DisappearingMode;
/**
* Verifies a DisappearingMode 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 DisappearingMode message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns DisappearingMode
*/
public static fromObject(object: { [k: string]: any }): E2E.DisappearingMode;
/**
* Creates a plain object from a DisappearingMode message. Also converts values to other types if specified.
* @param message DisappearingMode
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.DisappearingMode, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this DisappearingMode to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for DisappearingMode
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace DisappearingMode {
/** Initiator enum. */
enum Initiator {
CHANGED_IN_CHAT = 0,
INITIATED_BY_ME = 1,
INITIATED_BY_OTHER = 2,
BIZ_UPGRADE_FB_HOSTING = 3
}
/** Trigger enum. */
enum Trigger {
UNKNOWN = 0,
CHAT_SETTING = 1,
ACCOUNT_SETTING = 2,
BULK_CHANGE = 3,
BIZ_SUPPORTS_FB_HOSTING = 4,
UNKNOWN_GROUPS = 5
}
}
/** Properties of a PaymentBackground. */
interface IPaymentBackground {
/** PaymentBackground id */
id?: (string|null);
/** PaymentBackground fileLength */
fileLength?: (number|Long|null);
/** PaymentBackground width */
width?: (number|null);
/** PaymentBackground height */
height?: (number|null);
/** PaymentBackground mimetype */
mimetype?: (string|null);
/** PaymentBackground placeholderArgb */
placeholderArgb?: (number|null);
/** PaymentBackground textArgb */
textArgb?: (number|null);
/** PaymentBackground subtextArgb */
subtextArgb?: (number|null);
/** PaymentBackground mediaData */
mediaData?: (E2E.PaymentBackground.IMediaData|null);
/** PaymentBackground type */
type?: (E2E.PaymentBackground.Type|null);
}
/** Represents a PaymentBackground. */
class PaymentBackground implements IPaymentBackground {
/**
* Constructs a new PaymentBackground.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IPaymentBackground);
/** PaymentBackground id. */
public id?: (string|null);
/** PaymentBackground fileLength. */
public fileLength?: (number|Long|null);
/** PaymentBackground width. */
public width?: (number|null);
/** PaymentBackground height. */
public height?: (number|null);
/** PaymentBackground mimetype. */
public mimetype?: (string|null);
/** PaymentBackground placeholderArgb. */
public placeholderArgb?: (number|null);
/** PaymentBackground textArgb. */
public textArgb?: (number|null);
/** PaymentBackground subtextArgb. */
public subtextArgb?: (number|null);
/** PaymentBackground mediaData. */
public mediaData?: (E2E.PaymentBackground.IMediaData|null);
/** PaymentBackground type. */
public type?: (E2E.PaymentBackground.Type|null);
/** PaymentBackground _id. */
public _id?: "id";
/** PaymentBackground _fileLength. */
public _fileLength?: "fileLength";
/** PaymentBackground _width. */
public _width?: "width";
/** PaymentBackground _height. */
public _height?: "height";
/** PaymentBackground _mimetype. */
public _mimetype?: "mimetype";
/** PaymentBackground _placeholderArgb. */
public _placeholderArgb?: "placeholderArgb";
/** PaymentBackground _textArgb. */
public _textArgb?: "textArgb";
/** PaymentBackground _subtextArgb. */
public _subtextArgb?: "subtextArgb";
/** PaymentBackground _mediaData. */
public _mediaData?: "mediaData";
/** PaymentBackground _type. */
public _type?: "type";
/**
* Creates a new PaymentBackground instance using the specified properties.
* @param [properties] Properties to set
* @returns PaymentBackground instance
*/
public static create(properties?: E2E.IPaymentBackground): E2E.PaymentBackground;
/**
* Encodes the specified PaymentBackground message. Does not implicitly {@link E2E.PaymentBackground.verify|verify} messages.
* @param message PaymentBackground message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IPaymentBackground, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PaymentBackground message, length delimited. Does not implicitly {@link E2E.PaymentBackground.verify|verify} messages.
* @param message PaymentBackground message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IPaymentBackground, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PaymentBackground message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PaymentBackground
* @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): E2E.PaymentBackground;
/**
* Decodes a PaymentBackground message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PaymentBackground
* @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)): E2E.PaymentBackground;
/**
* Verifies a PaymentBackground 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 PaymentBackground message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PaymentBackground
*/
public static fromObject(object: { [k: string]: any }): E2E.PaymentBackground;
/**
* Creates a plain object from a PaymentBackground message. Also converts values to other types if specified.
* @param message PaymentBackground
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.PaymentBackground, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PaymentBackground to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PaymentBackground
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PaymentBackground {
/** Properties of a MediaData. */
interface IMediaData {
/** MediaData mediaKey */
mediaKey?: (Uint8Array|null);
/** MediaData mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** MediaData fileSha256 */
fileSha256?: (Uint8Array|null);
/** MediaData fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** MediaData directPath */
directPath?: (string|null);
}
/** Represents a MediaData. */
class MediaData implements IMediaData {
/**
* Constructs a new MediaData.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.PaymentBackground.IMediaData);
/** MediaData mediaKey. */
public mediaKey?: (Uint8Array|null);
/** MediaData mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** MediaData fileSha256. */
public fileSha256?: (Uint8Array|null);