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);
/** MediaData fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** MediaData directPath. */
public directPath?: (string|null);
/** MediaData _mediaKey. */
public _mediaKey?: "mediaKey";
/** MediaData _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** MediaData _fileSha256. */
public _fileSha256?: "fileSha256";
/** MediaData _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** MediaData _directPath. */
public _directPath?: "directPath";
/**
* Creates a new MediaData instance using the specified properties.
* @param [properties] Properties to set
* @returns MediaData instance
*/
public static create(properties?: E2E.PaymentBackground.IMediaData): E2E.PaymentBackground.MediaData;
/**
* Encodes the specified MediaData message. Does not implicitly {@link E2E.PaymentBackground.MediaData.verify|verify} messages.
* @param message MediaData message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.PaymentBackground.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MediaData message, length delimited. Does not implicitly {@link E2E.PaymentBackground.MediaData.verify|verify} messages.
* @param message MediaData message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.PaymentBackground.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MediaData message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MediaData
* @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.MediaData;
/**
* Decodes a MediaData message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MediaData
* @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.MediaData;
/**
* Verifies a MediaData 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 MediaData message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MediaData
*/
public static fromObject(object: { [k: string]: any }): E2E.PaymentBackground.MediaData;
/**
* Creates a plain object from a MediaData message. Also converts values to other types if specified.
* @param message MediaData
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.PaymentBackground.MediaData, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MediaData to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MediaData
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Type enum. */
enum Type {
UNKNOWN = 0,
DEFAULT = 1
}
}
/** Properties of a Money. */
interface IMoney {
/** Money value */
value?: (number|Long|null);
/** Money offset */
offset?: (number|null);
/** Money currencyCode */
currencyCode?: (string|null);
}
/** Represents a Money. */
class Money implements IMoney {
/**
* Constructs a new Money.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IMoney);
/** Money value. */
public value?: (number|Long|null);
/** Money offset. */
public offset?: (number|null);
/** Money currencyCode. */
public currencyCode?: (string|null);
/** Money _value. */
public _value?: "value";
/** Money _offset. */
public _offset?: "offset";
/** Money _currencyCode. */
public _currencyCode?: "currencyCode";
/**
* Creates a new Money instance using the specified properties.
* @param [properties] Properties to set
* @returns Money instance
*/
public static create(properties?: E2E.IMoney): E2E.Money;
/**
* Encodes the specified Money message. Does not implicitly {@link E2E.Money.verify|verify} messages.
* @param message Money message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IMoney, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Money message, length delimited. Does not implicitly {@link E2E.Money.verify|verify} messages.
* @param message Money message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IMoney, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Money message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Money
* @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.Money;
/**
* Decodes a Money message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Money
* @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.Money;
/**
* Verifies a Money 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 Money message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Money
*/
public static fromObject(object: { [k: string]: any }): E2E.Money;
/**
* Creates a plain object from a Money message. Also converts values to other types if specified.
* @param message Money
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Money, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Money to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Money
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HydratedTemplateButton. */
interface IHydratedTemplateButton {
/** HydratedTemplateButton index */
index?: (number|null);
/** HydratedTemplateButton quickReplyButton */
quickReplyButton?: (E2E.HydratedTemplateButton.IHydratedQuickReplyButton|null);
/** HydratedTemplateButton urlButton */
urlButton?: (E2E.HydratedTemplateButton.IHydratedURLButton|null);
/** HydratedTemplateButton callButton */
callButton?: (E2E.HydratedTemplateButton.IHydratedCallButton|null);
}
/** Represents a HydratedTemplateButton. */
class HydratedTemplateButton implements IHydratedTemplateButton {
/**
* Constructs a new HydratedTemplateButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IHydratedTemplateButton);
/** HydratedTemplateButton index. */
public index?: (number|null);
/** HydratedTemplateButton quickReplyButton. */
public quickReplyButton?: (E2E.HydratedTemplateButton.IHydratedQuickReplyButton|null);
/** HydratedTemplateButton urlButton. */
public urlButton?: (E2E.HydratedTemplateButton.IHydratedURLButton|null);
/** HydratedTemplateButton callButton. */
public callButton?: (E2E.HydratedTemplateButton.IHydratedCallButton|null);
/** HydratedTemplateButton _index. */
public _index?: "index";
/** HydratedTemplateButton hydratedButton. */
public hydratedButton?: ("quickReplyButton"|"urlButton"|"callButton");
/**
* Creates a new HydratedTemplateButton instance using the specified properties.
* @param [properties] Properties to set
* @returns HydratedTemplateButton instance
*/
public static create(properties?: E2E.IHydratedTemplateButton): E2E.HydratedTemplateButton;
/**
* Encodes the specified HydratedTemplateButton message. Does not implicitly {@link E2E.HydratedTemplateButton.verify|verify} messages.
* @param message HydratedTemplateButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IHydratedTemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HydratedTemplateButton message, length delimited. Does not implicitly {@link E2E.HydratedTemplateButton.verify|verify} messages.
* @param message HydratedTemplateButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IHydratedTemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HydratedTemplateButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HydratedTemplateButton
* @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.HydratedTemplateButton;
/**
* Decodes a HydratedTemplateButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HydratedTemplateButton
* @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.HydratedTemplateButton;
/**
* Verifies a HydratedTemplateButton 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 HydratedTemplateButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HydratedTemplateButton
*/
public static fromObject(object: { [k: string]: any }): E2E.HydratedTemplateButton;
/**
* Creates a plain object from a HydratedTemplateButton message. Also converts values to other types if specified.
* @param message HydratedTemplateButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.HydratedTemplateButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HydratedTemplateButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HydratedTemplateButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace HydratedTemplateButton {
/** Properties of a HydratedCallButton. */
interface IHydratedCallButton {
/** HydratedCallButton displayText */
displayText?: (string|null);
/** HydratedCallButton phoneNumber */
phoneNumber?: (string|null);
}
/** Represents a HydratedCallButton. */
class HydratedCallButton implements IHydratedCallButton {
/**
* Constructs a new HydratedCallButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.HydratedTemplateButton.IHydratedCallButton);
/** HydratedCallButton displayText. */
public displayText?: (string|null);
/** HydratedCallButton phoneNumber. */
public phoneNumber?: (string|null);
/** HydratedCallButton _displayText. */
public _displayText?: "displayText";
/** HydratedCallButton _phoneNumber. */
public _phoneNumber?: "phoneNumber";
/**
* Creates a new HydratedCallButton instance using the specified properties.
* @param [properties] Properties to set
* @returns HydratedCallButton instance
*/
public static create(properties?: E2E.HydratedTemplateButton.IHydratedCallButton): E2E.HydratedTemplateButton.HydratedCallButton;
/**
* Encodes the specified HydratedCallButton message. Does not implicitly {@link E2E.HydratedTemplateButton.HydratedCallButton.verify|verify} messages.
* @param message HydratedCallButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.HydratedTemplateButton.IHydratedCallButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HydratedCallButton message, length delimited. Does not implicitly {@link E2E.HydratedTemplateButton.HydratedCallButton.verify|verify} messages.
* @param message HydratedCallButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.HydratedTemplateButton.IHydratedCallButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HydratedCallButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HydratedCallButton
* @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.HydratedTemplateButton.HydratedCallButton;
/**
* Decodes a HydratedCallButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HydratedCallButton
* @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.HydratedTemplateButton.HydratedCallButton;
/**
* Verifies a HydratedCallButton 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 HydratedCallButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HydratedCallButton
*/
public static fromObject(object: { [k: string]: any }): E2E.HydratedTemplateButton.HydratedCallButton;
/**
* Creates a plain object from a HydratedCallButton message. Also converts values to other types if specified.
* @param message HydratedCallButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.HydratedTemplateButton.HydratedCallButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HydratedCallButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HydratedCallButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HydratedQuickReplyButton. */
interface IHydratedQuickReplyButton {
/** HydratedQuickReplyButton displayText */
displayText?: (string|null);
/** HydratedQuickReplyButton id */
id?: (string|null);
}
/** Represents a HydratedQuickReplyButton. */
class HydratedQuickReplyButton implements IHydratedQuickReplyButton {
/**
* Constructs a new HydratedQuickReplyButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.HydratedTemplateButton.IHydratedQuickReplyButton);
/** HydratedQuickReplyButton displayText. */
public displayText?: (string|null);
/** HydratedQuickReplyButton id. */
public id?: (string|null);
/** HydratedQuickReplyButton _displayText. */
public _displayText?: "displayText";
/** HydratedQuickReplyButton _id. */
public _id?: "id";
/**
* Creates a new HydratedQuickReplyButton instance using the specified properties.
* @param [properties] Properties to set
* @returns HydratedQuickReplyButton instance
*/
public static create(properties?: E2E.HydratedTemplateButton.IHydratedQuickReplyButton): E2E.HydratedTemplateButton.HydratedQuickReplyButton;
/**
* Encodes the specified HydratedQuickReplyButton message. Does not implicitly {@link E2E.HydratedTemplateButton.HydratedQuickReplyButton.verify|verify} messages.
* @param message HydratedQuickReplyButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.HydratedTemplateButton.IHydratedQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HydratedQuickReplyButton message, length delimited. Does not implicitly {@link E2E.HydratedTemplateButton.HydratedQuickReplyButton.verify|verify} messages.
* @param message HydratedQuickReplyButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.HydratedTemplateButton.IHydratedQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HydratedQuickReplyButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HydratedQuickReplyButton
* @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.HydratedTemplateButton.HydratedQuickReplyButton;
/**
* Decodes a HydratedQuickReplyButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HydratedQuickReplyButton
* @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.HydratedTemplateButton.HydratedQuickReplyButton;
/**
* Verifies a HydratedQuickReplyButton 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 HydratedQuickReplyButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HydratedQuickReplyButton
*/
public static fromObject(object: { [k: string]: any }): E2E.HydratedTemplateButton.HydratedQuickReplyButton;
/**
* Creates a plain object from a HydratedQuickReplyButton message. Also converts values to other types if specified.
* @param message HydratedQuickReplyButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.HydratedTemplateButton.HydratedQuickReplyButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HydratedQuickReplyButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HydratedQuickReplyButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HydratedURLButton. */
interface IHydratedURLButton {
/** HydratedURLButton displayText */
displayText?: (string|null);
/** HydratedURLButton url */
url?: (string|null);
/** HydratedURLButton consentedUsersUrl */
consentedUsersUrl?: (string|null);
/** HydratedURLButton webviewPresentation */
webviewPresentation?: (E2E.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType|null);
}
/** Represents a HydratedURLButton. */
class HydratedURLButton implements IHydratedURLButton {
/**
* Constructs a new HydratedURLButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.HydratedTemplateButton.IHydratedURLButton);
/** HydratedURLButton displayText. */
public displayText?: (string|null);
/** HydratedURLButton url. */
public url?: (string|null);
/** HydratedURLButton consentedUsersUrl. */
public consentedUsersUrl?: (string|null);
/** HydratedURLButton webviewPresentation. */
public webviewPresentation?: (E2E.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType|null);
/** HydratedURLButton _displayText. */
public _displayText?: "displayText";
/** HydratedURLButton _url. */
public _url?: "url";
/** HydratedURLButton _consentedUsersUrl. */
public _consentedUsersUrl?: "consentedUsersUrl";
/** HydratedURLButton _webviewPresentation. */
public _webviewPresentation?: "webviewPresentation";
/**
* Creates a new HydratedURLButton instance using the specified properties.
* @param [properties] Properties to set
* @returns HydratedURLButton instance
*/
public static create(properties?: E2E.HydratedTemplateButton.IHydratedURLButton): E2E.HydratedTemplateButton.HydratedURLButton;
/**
* Encodes the specified HydratedURLButton message. Does not implicitly {@link E2E.HydratedTemplateButton.HydratedURLButton.verify|verify} messages.
* @param message HydratedURLButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.HydratedTemplateButton.IHydratedURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HydratedURLButton message, length delimited. Does not implicitly {@link E2E.HydratedTemplateButton.HydratedURLButton.verify|verify} messages.
* @param message HydratedURLButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.HydratedTemplateButton.IHydratedURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HydratedURLButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HydratedURLButton
* @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.HydratedTemplateButton.HydratedURLButton;
/**
* Decodes a HydratedURLButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HydratedURLButton
* @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.HydratedTemplateButton.HydratedURLButton;
/**
* Verifies a HydratedURLButton 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 HydratedURLButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HydratedURLButton
*/
public static fromObject(object: { [k: string]: any }): E2E.HydratedTemplateButton.HydratedURLButton;
/**
* Creates a plain object from a HydratedURLButton message. Also converts values to other types if specified.
* @param message HydratedURLButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.HydratedTemplateButton.HydratedURLButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HydratedURLButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HydratedURLButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace HydratedURLButton {
/** WebviewPresentationType enum. */
enum WebviewPresentationType {
FULL = 1,
TALL = 2,
COMPACT = 3
}
}
}
/** Properties of a TemplateButton. */
interface ITemplateButton {
/** TemplateButton index */
index?: (number|null);
/** TemplateButton quickReplyButton */
quickReplyButton?: (E2E.TemplateButton.IQuickReplyButton|null);
/** TemplateButton urlButton */
urlButton?: (E2E.TemplateButton.IURLButton|null);
/** TemplateButton callButton */
callButton?: (E2E.TemplateButton.ICallButton|null);
}
/** Represents a TemplateButton. */
class TemplateButton implements ITemplateButton {
/**
* Constructs a new TemplateButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ITemplateButton);
/** TemplateButton index. */
public index?: (number|null);
/** TemplateButton quickReplyButton. */
public quickReplyButton?: (E2E.TemplateButton.IQuickReplyButton|null);
/** TemplateButton urlButton. */
public urlButton?: (E2E.TemplateButton.IURLButton|null);
/** TemplateButton callButton. */
public callButton?: (E2E.TemplateButton.ICallButton|null);
/** TemplateButton _index. */
public _index?: "index";
/** TemplateButton button. */
public button?: ("quickReplyButton"|"urlButton"|"callButton");
/**
* Creates a new TemplateButton instance using the specified properties.
* @param [properties] Properties to set
* @returns TemplateButton instance
*/
public static create(properties?: E2E.ITemplateButton): E2E.TemplateButton;
/**
* Encodes the specified TemplateButton message. Does not implicitly {@link E2E.TemplateButton.verify|verify} messages.
* @param message TemplateButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ITemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TemplateButton message, length delimited. Does not implicitly {@link E2E.TemplateButton.verify|verify} messages.
* @param message TemplateButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ITemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TemplateButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TemplateButton
* @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.TemplateButton;
/**
* Decodes a TemplateButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TemplateButton
* @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.TemplateButton;
/**
* Verifies a TemplateButton 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 TemplateButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TemplateButton
*/
public static fromObject(object: { [k: string]: any }): E2E.TemplateButton;
/**
* Creates a plain object from a TemplateButton message. Also converts values to other types if specified.
* @param message TemplateButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.TemplateButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TemplateButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for TemplateButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace TemplateButton {
/** Properties of a CallButton. */
interface ICallButton {
/** CallButton displayText */
displayText?: (E2E.Message.IHighlyStructuredMessage|null);
/** CallButton phoneNumber */
phoneNumber?: (E2E.Message.IHighlyStructuredMessage|null);
}
/** Represents a CallButton. */
class CallButton implements ICallButton {
/**
* Constructs a new CallButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.TemplateButton.ICallButton);
/** CallButton displayText. */
public displayText?: (E2E.Message.IHighlyStructuredMessage|null);
/** CallButton phoneNumber. */
public phoneNumber?: (E2E.Message.IHighlyStructuredMessage|null);
/** CallButton _displayText. */
public _displayText?: "displayText";
/** CallButton _phoneNumber. */
public _phoneNumber?: "phoneNumber";
/**
* Creates a new CallButton instance using the specified properties.
* @param [properties] Properties to set
* @returns CallButton instance
*/
public static create(properties?: E2E.TemplateButton.ICallButton): E2E.TemplateButton.CallButton;
/**
* Encodes the specified CallButton message. Does not implicitly {@link E2E.TemplateButton.CallButton.verify|verify} messages.
* @param message CallButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.TemplateButton.ICallButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CallButton message, length delimited. Does not implicitly {@link E2E.TemplateButton.CallButton.verify|verify} messages.
* @param message CallButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.TemplateButton.ICallButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CallButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CallButton
* @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.TemplateButton.CallButton;
/**
* Decodes a CallButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CallButton
* @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.TemplateButton.CallButton;
/**
* Verifies a CallButton 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 CallButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CallButton
*/
public static fromObject(object: { [k: string]: any }): E2E.TemplateButton.CallButton;
/**
* Creates a plain object from a CallButton message. Also converts values to other types if specified.
* @param message CallButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.TemplateButton.CallButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CallButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CallButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a QuickReplyButton. */
interface IQuickReplyButton {
/** QuickReplyButton displayText */
displayText?: (E2E.Message.IHighlyStructuredMessage|null);
/** QuickReplyButton id */
id?: (string|null);
}
/** Represents a QuickReplyButton. */
class QuickReplyButton implements IQuickReplyButton {
/**
* Constructs a new QuickReplyButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.TemplateButton.IQuickReplyButton);
/** QuickReplyButton displayText. */
public displayText?: (E2E.Message.IHighlyStructuredMessage|null);
/** QuickReplyButton id. */
public id?: (string|null);
/** QuickReplyButton _displayText. */
public _displayText?: "displayText";
/** QuickReplyButton _id. */
public _id?: "id";
/**
* Creates a new QuickReplyButton instance using the specified properties.
* @param [properties] Properties to set
* @returns QuickReplyButton instance
*/
public static create(properties?: E2E.TemplateButton.IQuickReplyButton): E2E.TemplateButton.QuickReplyButton;
/**
* Encodes the specified QuickReplyButton message. Does not implicitly {@link E2E.TemplateButton.QuickReplyButton.verify|verify} messages.
* @param message QuickReplyButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.TemplateButton.IQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified QuickReplyButton message, length delimited. Does not implicitly {@link E2E.TemplateButton.QuickReplyButton.verify|verify} messages.
* @param message QuickReplyButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.TemplateButton.IQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a QuickReplyButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns QuickReplyButton
* @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.TemplateButton.QuickReplyButton;
/**
* Decodes a QuickReplyButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns QuickReplyButton
* @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.TemplateButton.QuickReplyButton;
/**
* Verifies a QuickReplyButton 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 QuickReplyButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns QuickReplyButton
*/
public static fromObject(object: { [k: string]: any }): E2E.TemplateButton.QuickReplyButton;
/**
* Creates a plain object from a QuickReplyButton message. Also converts values to other types if specified.
* @param message QuickReplyButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.TemplateButton.QuickReplyButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this QuickReplyButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for QuickReplyButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a URLButton. */
interface IURLButton {
/** URLButton displayText */
displayText?: (E2E.Message.IHighlyStructuredMessage|null);
/** URLButton url */
url?: (E2E.Message.IHighlyStructuredMessage|null);
}
/** Represents a URLButton. */
class URLButton implements IURLButton {
/**
* Constructs a new URLButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.TemplateButton.IURLButton);
/** URLButton displayText. */
public displayText?: (E2E.Message.IHighlyStructuredMessage|null);
/** URLButton url. */
public url?: (E2E.Message.IHighlyStructuredMessage|null);
/** URLButton _displayText. */
public _displayText?: "displayText";
/** URLButton _url. */
public _url?: "url";
/**
* Creates a new URLButton instance using the specified properties.
* @param [properties] Properties to set
* @returns URLButton instance
*/
public static create(properties?: E2E.TemplateButton.IURLButton): E2E.TemplateButton.URLButton;
/**
* Encodes the specified URLButton message. Does not implicitly {@link E2E.TemplateButton.URLButton.verify|verify} messages.
* @param message URLButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.TemplateButton.IURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified URLButton message, length delimited. Does not implicitly {@link E2E.TemplateButton.URLButton.verify|verify} messages.
* @param message URLButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.TemplateButton.IURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a URLButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns URLButton
* @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.TemplateButton.URLButton;
/**
* Decodes a URLButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns URLButton
* @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.TemplateButton.URLButton;
/**
* Verifies a URLButton 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 URLButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns URLButton
*/
public static fromObject(object: { [k: string]: any }): E2E.TemplateButton.URLButton;
/**
* Creates a plain object from a URLButton message. Also converts values to other types if specified.
* @param message URLButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.TemplateButton.URLButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this URLButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for URLButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a Location. */
interface ILocation {
/** Location degreesLatitude */
degreesLatitude?: (number|null);
/** Location degreesLongitude */
degreesLongitude?: (number|null);
/** Location name */
name?: (string|null);
}
/** Represents a Location. */
class Location implements ILocation {
/**
* Constructs a new Location.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ILocation);
/** Location degreesLatitude. */
public degreesLatitude?: (number|null);
/** Location degreesLongitude. */
public degreesLongitude?: (number|null);
/** Location name. */
public name?: (string|null);
/** Location _degreesLatitude. */
public _degreesLatitude?: "degreesLatitude";
/** Location _degreesLongitude. */
public _degreesLongitude?: "degreesLongitude";
/** Location _name. */
public _name?: "name";
/**
* Creates a new Location instance using the specified properties.
* @param [properties] Properties to set
* @returns Location instance
*/
public static create(properties?: E2E.ILocation): E2E.Location;
/**
* Encodes the specified Location message. Does not implicitly {@link E2E.Location.verify|verify} messages.
* @param message Location message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Location message, length delimited. Does not implicitly {@link E2E.Location.verify|verify} messages.
* @param message Location message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Location message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Location
* @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.Location;
/**
* Decodes a Location message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Location
* @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.Location;
/**
* Verifies a Location 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 Location message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Location
*/
public static fromObject(object: { [k: string]: any }): E2E.Location;
/**
* Creates a plain object from a Location message. Also converts values to other types if specified.
* @param message Location
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Location to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Location
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Point. */
interface IPoint {
/** Point xDeprecated */
xDeprecated?: (number|null);
/** Point yDeprecated */
yDeprecated?: (number|null);
/** Point x */
x?: (number|null);
/** Point y */
y?: (number|null);
}
/** Represents a Point. */
class Point implements IPoint {
/**
* Constructs a new Point.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IPoint);
/** Point xDeprecated. */
public xDeprecated?: (number|null);
/** Point yDeprecated. */
public yDeprecated?: (number|null);
/** Point x. */
public x?: (number|null);
/** Point y. */
public y?: (number|null);
/** Point _xDeprecated. */
public _xDeprecated?: "xDeprecated";
/** Point _yDeprecated. */
public _yDeprecated?: "yDeprecated";
/** Point _x. */
public _x?: "x";
/** Point _y. */
public _y?: "y";
/**
* Creates a new Point instance using the specified properties.
* @param [properties] Properties to set
* @returns Point instance
*/
public static create(properties?: E2E.IPoint): E2E.Point;
/**
* Encodes the specified Point message. Does not implicitly {@link E2E.Point.verify|verify} messages.
* @param message Point message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IPoint, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Point message, length delimited. Does not implicitly {@link E2E.Point.verify|verify} messages.
* @param message Point message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IPoint, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Point message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Point
* @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.Point;
/**
* Decodes a Point message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Point
* @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.Point;
/**
* Verifies a Point 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 Point message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Point
*/
public static fromObject(object: { [k: string]: any }): E2E.Point;
/**
* Creates a plain object from a Point message. Also converts values to other types if specified.
* @param message Point
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Point, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Point to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Point
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an InteractiveAnnotation. */
interface IInteractiveAnnotation {
/** InteractiveAnnotation polygonVertices */
polygonVertices?: (E2E.IPoint[]|null);
/** InteractiveAnnotation shouldSkipConfirmation */
shouldSkipConfirmation?: (boolean|null);
/** InteractiveAnnotation embeddedContent */
embeddedContent?: (E2E.IEmbeddedContent|null);
/** InteractiveAnnotation statusLinkType */
statusLinkType?: (E2E.InteractiveAnnotation.StatusLinkType|null);
/** InteractiveAnnotation location */
location?: (E2E.ILocation|null);
/** InteractiveAnnotation newsletter */
newsletter?: (E2E.ContextInfo.IForwardedNewsletterMessageInfo|null);
/** InteractiveAnnotation embeddedAction */
embeddedAction?: (boolean|null);
/** InteractiveAnnotation tapAction */
tapAction?: (E2E.ITapLinkAction|null);
}
/** Represents an InteractiveAnnotation. */
class InteractiveAnnotation implements IInteractiveAnnotation {
/**
* Constructs a new InteractiveAnnotation.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IInteractiveAnnotation);
/** InteractiveAnnotation polygonVertices. */
public polygonVertices: E2E.IPoint[];
/** InteractiveAnnotation shouldSkipConfirmation. */
public shouldSkipConfirmation?: (boolean|null);
/** InteractiveAnnotation embeddedContent. */
public embeddedContent?: (E2E.IEmbeddedContent|null);
/** InteractiveAnnotation statusLinkType. */
public statusLinkType?: (E2E.InteractiveAnnotation.StatusLinkType|null);
/** InteractiveAnnotation location. */
public location?: (E2E.ILocation|null);
/** InteractiveAnnotation newsletter. */
public newsletter?: (E2E.ContextInfo.IForwardedNewsletterMessageInfo|null);
/** InteractiveAnnotation embeddedAction. */
public embeddedAction?: (boolean|null);
/** InteractiveAnnotation tapAction. */
public tapAction?: (E2E.ITapLinkAction|null);
/** InteractiveAnnotation _shouldSkipConfirmation. */
public _shouldSkipConfirmation?: "shouldSkipConfirmation";
/** InteractiveAnnotation _embeddedContent. */
public _embeddedContent?: "embeddedContent";
/** InteractiveAnnotation _statusLinkType. */
public _statusLinkType?: "statusLinkType";
/** InteractiveAnnotation action. */
public action?: ("location"|"newsletter"|"embeddedAction"|"tapAction");
/**
* Creates a new InteractiveAnnotation instance using the specified properties.
* @param [properties] Properties to set
* @returns InteractiveAnnotation instance
*/
public static create(properties?: E2E.IInteractiveAnnotation): E2E.InteractiveAnnotation;
/**
* Encodes the specified InteractiveAnnotation message. Does not implicitly {@link E2E.InteractiveAnnotation.verify|verify} messages.
* @param message InteractiveAnnotation message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified InteractiveAnnotation message, length delimited. Does not implicitly {@link E2E.InteractiveAnnotation.verify|verify} messages.
* @param message InteractiveAnnotation message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an InteractiveAnnotation message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns InteractiveAnnotation
* @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.InteractiveAnnotation;
/**
* Decodes an InteractiveAnnotation message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns InteractiveAnnotation
* @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.InteractiveAnnotation;
/**
* Verifies an InteractiveAnnotation 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 InteractiveAnnotation message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns InteractiveAnnotation
*/
public static fromObject(object: { [k: string]: any }): E2E.InteractiveAnnotation;
/**
* Creates a plain object from an InteractiveAnnotation message. Also converts values to other types if specified.
* @param message InteractiveAnnotation
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.InteractiveAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this InteractiveAnnotation to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for InteractiveAnnotation
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace InteractiveAnnotation {
/** StatusLinkType enum. */
enum StatusLinkType {
RASTERIZED_LINK_PREVIEW = 1,
RASTERIZED_LINK_TRUNCATED = 2,
RASTERIZED_LINK_FULL_URL = 3
}
}
/** Properties of a TapLinkAction. */
interface ITapLinkAction {
/** TapLinkAction title */
title?: (string|null);
/** TapLinkAction tapUrl */
tapUrl?: (string|null);
}
/** Represents a TapLinkAction. */
class TapLinkAction implements ITapLinkAction {
/**
* Constructs a new TapLinkAction.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ITapLinkAction);
/** TapLinkAction title. */
public title?: (string|null);
/** TapLinkAction tapUrl. */
public tapUrl?: (string|null);
/** TapLinkAction _title. */
public _title?: "title";
/** TapLinkAction _tapUrl. */
public _tapUrl?: "tapUrl";
/**
* Creates a new TapLinkAction instance using the specified properties.
* @param [properties] Properties to set
* @returns TapLinkAction instance
*/
public static create(properties?: E2E.ITapLinkAction): E2E.TapLinkAction;
/**
* Encodes the specified TapLinkAction message. Does not implicitly {@link E2E.TapLinkAction.verify|verify} messages.
* @param message TapLinkAction message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ITapLinkAction, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TapLinkAction message, length delimited. Does not implicitly {@link E2E.TapLinkAction.verify|verify} messages.
* @param message TapLinkAction message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ITapLinkAction, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TapLinkAction message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TapLinkAction
* @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.TapLinkAction;
/**
* Decodes a TapLinkAction message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TapLinkAction
* @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.TapLinkAction;
/**
* Verifies a TapLinkAction 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 TapLinkAction message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TapLinkAction
*/
public static fromObject(object: { [k: string]: any }): E2E.TapLinkAction;
/**
* Creates a plain object from a TapLinkAction message. Also converts values to other types if specified.
* @param message TapLinkAction
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.TapLinkAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TapLinkAction to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for TapLinkAction
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EmbeddedContent. */
interface IEmbeddedContent {
/** EmbeddedContent embeddedMessage */
embeddedMessage?: (E2E.IEmbeddedMessage|null);
/** EmbeddedContent embeddedMusic */
embeddedMusic?: (E2E.IEmbeddedMusic|null);
}
/** Represents an EmbeddedContent. */
class EmbeddedContent implements IEmbeddedContent {
/**
* Constructs a new EmbeddedContent.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IEmbeddedContent);
/** EmbeddedContent embeddedMessage. */
public embeddedMessage?: (E2E.IEmbeddedMessage|null);
/** EmbeddedContent embeddedMusic. */
public embeddedMusic?: (E2E.IEmbeddedMusic|null);
/** EmbeddedContent content. */
public content?: ("embeddedMessage"|"embeddedMusic");
/**
* Creates a new EmbeddedContent instance using the specified properties.
* @param [properties] Properties to set
* @returns EmbeddedContent instance
*/
public static create(properties?: E2E.IEmbeddedContent): E2E.EmbeddedContent;
/**
* Encodes the specified EmbeddedContent message. Does not implicitly {@link E2E.EmbeddedContent.verify|verify} messages.
* @param message EmbeddedContent message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IEmbeddedContent, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EmbeddedContent message, length delimited. Does not implicitly {@link E2E.EmbeddedContent.verify|verify} messages.
* @param message EmbeddedContent message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IEmbeddedContent, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EmbeddedContent message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EmbeddedContent
* @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.EmbeddedContent;
/**
* Decodes an EmbeddedContent message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EmbeddedContent
* @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.EmbeddedContent;
/**
* Verifies an EmbeddedContent 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 EmbeddedContent message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EmbeddedContent
*/
public static fromObject(object: { [k: string]: any }): E2E.EmbeddedContent;
/**
* Creates a plain object from an EmbeddedContent message. Also converts values to other types if specified.
* @param message EmbeddedContent
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.EmbeddedContent, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EmbeddedContent to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EmbeddedContent
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EmbeddedMusic. */
interface IEmbeddedMusic {
/** EmbeddedMusic musicContentMediaId */
musicContentMediaId?: (string|null);
/** EmbeddedMusic songId */
songId?: (string|null);
/** EmbeddedMusic author */
author?: (string|null);
/** EmbeddedMusic title */
title?: (string|null);
/** EmbeddedMusic artworkDirectPath */
artworkDirectPath?: (string|null);
/** EmbeddedMusic artworkSha256 */
artworkSha256?: (Uint8Array|null);
/** EmbeddedMusic artworkEncSha256 */
artworkEncSha256?: (Uint8Array|null);
/** EmbeddedMusic artworkMediaKey */
artworkMediaKey?: (Uint8Array|null);
/** EmbeddedMusic artistAttribution */
artistAttribution?: (string|null);
/** EmbeddedMusic countryBlocklist */
countryBlocklist?: (Uint8Array|null);
/** EmbeddedMusic isExplicit */
isExplicit?: (boolean|null);
}
/** Represents an EmbeddedMusic. */
class EmbeddedMusic implements IEmbeddedMusic {
/**
* Constructs a new EmbeddedMusic.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IEmbeddedMusic);
/** EmbeddedMusic musicContentMediaId. */
public musicContentMediaId?: (string|null);
/** EmbeddedMusic songId. */
public songId?: (string|null);
/** EmbeddedMusic author. */
public author?: (string|null);
/** EmbeddedMusic title. */
public title?: (string|null);
/** EmbeddedMusic artworkDirectPath. */
public artworkDirectPath?: (string|null);
/** EmbeddedMusic artworkSha256. */
public artworkSha256?: (Uint8Array|null);
/** EmbeddedMusic artworkEncSha256. */
public artworkEncSha256?: (Uint8Array|null);
/** EmbeddedMusic artworkMediaKey. */
public artworkMediaKey?: (Uint8Array|null);
/** EmbeddedMusic artistAttribution. */
public artistAttribution?: (string|null);
/** EmbeddedMusic countryBlocklist. */
public countryBlocklist?: (Uint8Array|null);
/** EmbeddedMusic isExplicit. */
public isExplicit?: (boolean|null);
/** EmbeddedMusic _musicContentMediaId. */
public _musicContentMediaId?: "musicContentMediaId";
/** EmbeddedMusic _songId. */
public _songId?: "songId";
/** EmbeddedMusic _author. */
public _author?: "author";
/** EmbeddedMusic _title. */
public _title?: "title";
/** EmbeddedMusic _artworkDirectPath. */
public _artworkDirectPath?: "artworkDirectPath";
/** EmbeddedMusic _artworkSha256. */
public _artworkSha256?: "artworkSha256";
/** EmbeddedMusic _artworkEncSha256. */
public _artworkEncSha256?: "artworkEncSha256";
/** EmbeddedMusic _artworkMediaKey. */
public _artworkMediaKey?: "artworkMediaKey";
/** EmbeddedMusic _artistAttribution. */
public _artistAttribution?: "artistAttribution";
/** EmbeddedMusic _countryBlocklist. */
public _countryBlocklist?: "countryBlocklist";
/** EmbeddedMusic _isExplicit. */
public _isExplicit?: "isExplicit";
/**
* Creates a new EmbeddedMusic instance using the specified properties.
* @param [properties] Properties to set
* @returns EmbeddedMusic instance
*/
public static create(properties?: E2E.IEmbeddedMusic): E2E.EmbeddedMusic;
/**
* Encodes the specified EmbeddedMusic message. Does not implicitly {@link E2E.EmbeddedMusic.verify|verify} messages.
* @param message EmbeddedMusic message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IEmbeddedMusic, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EmbeddedMusic message, length delimited. Does not implicitly {@link E2E.EmbeddedMusic.verify|verify} messages.
* @param message EmbeddedMusic message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IEmbeddedMusic, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EmbeddedMusic message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EmbeddedMusic
* @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.EmbeddedMusic;
/**
* Decodes an EmbeddedMusic message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EmbeddedMusic
* @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.EmbeddedMusic;
/**
* Verifies an EmbeddedMusic 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 EmbeddedMusic message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EmbeddedMusic
*/
public static fromObject(object: { [k: string]: any }): E2E.EmbeddedMusic;
/**
* Creates a plain object from an EmbeddedMusic message. Also converts values to other types if specified.
* @param message EmbeddedMusic
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.EmbeddedMusic, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EmbeddedMusic to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EmbeddedMusic
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EmbeddedMessage. */
interface IEmbeddedMessage {
/** EmbeddedMessage stanzaId */
stanzaId?: (string|null);
/** EmbeddedMessage message */
message?: (E2E.IMessage|null);
}
/** Represents an EmbeddedMessage. */
class EmbeddedMessage implements IEmbeddedMessage {
/**
* Constructs a new EmbeddedMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IEmbeddedMessage);
/** EmbeddedMessage stanzaId. */
public stanzaId?: (string|null);
/** EmbeddedMessage message. */
public message?: (E2E.IMessage|null);
/** EmbeddedMessage _stanzaId. */
public _stanzaId?: "stanzaId";
/** EmbeddedMessage _message. */
public _message?: "message";
/**
* Creates a new EmbeddedMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns EmbeddedMessage instance
*/
public static create(properties?: E2E.IEmbeddedMessage): E2E.EmbeddedMessage;
/**
* Encodes the specified EmbeddedMessage message. Does not implicitly {@link E2E.EmbeddedMessage.verify|verify} messages.
* @param message EmbeddedMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IEmbeddedMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EmbeddedMessage message, length delimited. Does not implicitly {@link E2E.EmbeddedMessage.verify|verify} messages.
* @param message EmbeddedMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IEmbeddedMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EmbeddedMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EmbeddedMessage
* @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.EmbeddedMessage;
/**
* Decodes an EmbeddedMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EmbeddedMessage
* @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.EmbeddedMessage;
/**
* Verifies an EmbeddedMessage 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 EmbeddedMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EmbeddedMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.EmbeddedMessage;
/**
* Creates a plain object from an EmbeddedMessage message. Also converts values to other types if specified.
* @param message EmbeddedMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.EmbeddedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EmbeddedMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EmbeddedMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a DeviceListMetadata. */
interface IDeviceListMetadata {
/** DeviceListMetadata senderKeyHash */
senderKeyHash?: (Uint8Array|null);
/** DeviceListMetadata senderTimestamp */
senderTimestamp?: (number|Long|null);
/** DeviceListMetadata senderKeyIndexes */
senderKeyIndexes?: (number[]|null);
/** DeviceListMetadata senderAccountType */
senderAccountType?: (Adv.ADVEncryptionType|null);
/** DeviceListMetadata receiverAccountType */
receiverAccountType?: (Adv.ADVEncryptionType|null);
/** DeviceListMetadata recipientKeyHash */
recipientKeyHash?: (Uint8Array|null);
/** DeviceListMetadata recipientTimestamp */
recipientTimestamp?: (number|Long|null);
/** DeviceListMetadata recipientKeyIndexes */
recipientKeyIndexes?: (number[]|null);
}
/** Represents a DeviceListMetadata. */
class DeviceListMetadata implements IDeviceListMetadata {
/**
* Constructs a new DeviceListMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IDeviceListMetadata);
/** DeviceListMetadata senderKeyHash. */
public senderKeyHash?: (Uint8Array|null);
/** DeviceListMetadata senderTimestamp. */
public senderTimestamp?: (number|Long|null);
/** DeviceListMetadata senderKeyIndexes. */
public senderKeyIndexes: number[];
/** DeviceListMetadata senderAccountType. */
public senderAccountType?: (Adv.ADVEncryptionType|null);
/** DeviceListMetadata receiverAccountType. */
public receiverAccountType?: (Adv.ADVEncryptionType|null);
/** DeviceListMetadata recipientKeyHash. */
public recipientKeyHash?: (Uint8Array|null);
/** DeviceListMetadata recipientTimestamp. */
public recipientTimestamp?: (number|Long|null);
/** DeviceListMetadata recipientKeyIndexes. */
public recipientKeyIndexes: number[];
/** DeviceListMetadata _senderKeyHash. */
public _senderKeyHash?: "senderKeyHash";
/** DeviceListMetadata _senderTimestamp. */
public _senderTimestamp?: "senderTimestamp";
/** DeviceListMetadata _senderAccountType. */
public _senderAccountType?: "senderAccountType";
/** DeviceListMetadata _receiverAccountType. */
public _receiverAccountType?: "receiverAccountType";
/** DeviceListMetadata _recipientKeyHash. */
public _recipientKeyHash?: "recipientKeyHash";
/** DeviceListMetadata _recipientTimestamp. */
public _recipientTimestamp?: "recipientTimestamp";
/**
* Creates a new DeviceListMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns DeviceListMetadata instance
*/
public static create(properties?: E2E.IDeviceListMetadata): E2E.DeviceListMetadata;
/**
* Encodes the specified DeviceListMetadata message. Does not implicitly {@link E2E.DeviceListMetadata.verify|verify} messages.
* @param message DeviceListMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IDeviceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified DeviceListMetadata message, length delimited. Does not implicitly {@link E2E.DeviceListMetadata.verify|verify} messages.
* @param message DeviceListMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IDeviceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a DeviceListMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns DeviceListMetadata
* @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.DeviceListMetadata;
/**
* Decodes a DeviceListMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns DeviceListMetadata
* @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.DeviceListMetadata;
/**
* Verifies a DeviceListMetadata 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 DeviceListMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns DeviceListMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.DeviceListMetadata;
/**
* Creates a plain object from a DeviceListMetadata message. Also converts values to other types if specified.
* @param message DeviceListMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.DeviceListMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this DeviceListMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for DeviceListMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MessageContextInfo. */
interface IMessageContextInfo {
/** MessageContextInfo deviceListMetadata */
deviceListMetadata?: (E2E.IDeviceListMetadata|null);
/** MessageContextInfo deviceListMetadataVersion */
deviceListMetadataVersion?: (number|null);
/** MessageContextInfo messageSecret */
messageSecret?: (Uint8Array|null);
/** MessageContextInfo paddingBytes */
paddingBytes?: (Uint8Array|null);
/** MessageContextInfo messageAddOnDurationInSecs */
messageAddOnDurationInSecs?: (number|null);
/** MessageContextInfo botMessageSecret */
botMessageSecret?: (Uint8Array|null);
/** MessageContextInfo botMetadata */
botMetadata?: (E2E.IBotMetadata|null);
/** MessageContextInfo reportingTokenVersion */
reportingTokenVersion?: (number|null);
/** MessageContextInfo messageAddOnExpiryType */
messageAddOnExpiryType?: (E2E.MessageContextInfo.MessageAddonExpiryType|null);
/** MessageContextInfo messageAssociation */
messageAssociation?: (E2E.IMessageAssociation|null);
/** MessageContextInfo capiCreatedGroup */
capiCreatedGroup?: (boolean|null);
/** MessageContextInfo supportPayload */
supportPayload?: (string|null);
/** MessageContextInfo limitSharing */
limitSharing?: (Protocol.ILimitSharing|null);
/** MessageContextInfo limitSharingV2 */
limitSharingV2?: (Protocol.ILimitSharing|null);
/** MessageContextInfo threadId */
threadId?: (E2E.IThreadID[]|null);
}
/** Represents a MessageContextInfo. */
class MessageContextInfo implements IMessageContextInfo {
/**
* Constructs a new MessageContextInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IMessageContextInfo);
/** MessageContextInfo deviceListMetadata. */
public deviceListMetadata?: (E2E.IDeviceListMetadata|null);
/** MessageContextInfo deviceListMetadataVersion. */
public deviceListMetadataVersion?: (number|null);
/** MessageContextInfo messageSecret. */
public messageSecret?: (Uint8Array|null);
/** MessageContextInfo paddingBytes. */
public paddingBytes?: (Uint8Array|null);
/** MessageContextInfo messageAddOnDurationInSecs. */
public messageAddOnDurationInSecs?: (number|null);
/** MessageContextInfo botMessageSecret. */
public botMessageSecret?: (Uint8Array|null);
/** MessageContextInfo botMetadata. */
public botMetadata?: (E2E.IBotMetadata|null);
/** MessageContextInfo reportingTokenVersion. */
public reportingTokenVersion?: (number|null);
/** MessageContextInfo messageAddOnExpiryType. */
public messageAddOnExpiryType?: (E2E.MessageContextInfo.MessageAddonExpiryType|null);
/** MessageContextInfo messageAssociation. */
public messageAssociation?: (E2E.IMessageAssociation|null);
/** MessageContextInfo capiCreatedGroup. */
public capiCreatedGroup?: (boolean|null);
/** MessageContextInfo supportPayload. */
public supportPayload?: (string|null);
/** MessageContextInfo limitSharing. */
public limitSharing?: (Protocol.ILimitSharing|null);
/** MessageContextInfo limitSharingV2. */
public limitSharingV2?: (Protocol.ILimitSharing|null);
/** MessageContextInfo threadId. */
public threadId: E2E.IThreadID[];
/** MessageContextInfo _deviceListMetadata. */
public _deviceListMetadata?: "deviceListMetadata";
/** MessageContextInfo _deviceListMetadataVersion. */
public _deviceListMetadataVersion?: "deviceListMetadataVersion";
/** MessageContextInfo _messageSecret. */
public _messageSecret?: "messageSecret";
/** MessageContextInfo _paddingBytes. */
public _paddingBytes?: "paddingBytes";
/** MessageContextInfo _messageAddOnDurationInSecs. */
public _messageAddOnDurationInSecs?: "messageAddOnDurationInSecs";
/** MessageContextInfo _botMessageSecret. */
public _botMessageSecret?: "botMessageSecret";
/** MessageContextInfo _botMetadata. */
public _botMetadata?: "botMetadata";
/** MessageContextInfo _reportingTokenVersion. */
public _reportingTokenVersion?: "reportingTokenVersion";
/** MessageContextInfo _messageAddOnExpiryType. */
public _messageAddOnExpiryType?: "messageAddOnExpiryType";
/** MessageContextInfo _messageAssociation. */
public _messageAssociation?: "messageAssociation";
/** MessageContextInfo _capiCreatedGroup. */
public _capiCreatedGroup?: "capiCreatedGroup";
/** MessageContextInfo _supportPayload. */
public _supportPayload?: "supportPayload";
/** MessageContextInfo _limitSharing. */
public _limitSharing?: "limitSharing";
/** MessageContextInfo _limitSharingV2. */
public _limitSharingV2?: "limitSharingV2";
/**
* Creates a new MessageContextInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns MessageContextInfo instance
*/
public static create(properties?: E2E.IMessageContextInfo): E2E.MessageContextInfo;
/**
* Encodes the specified MessageContextInfo message. Does not implicitly {@link E2E.MessageContextInfo.verify|verify} messages.
* @param message MessageContextInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IMessageContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MessageContextInfo message, length delimited. Does not implicitly {@link E2E.MessageContextInfo.verify|verify} messages.
* @param message MessageContextInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IMessageContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MessageContextInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MessageContextInfo
* @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.MessageContextInfo;
/**
* Decodes a MessageContextInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MessageContextInfo
* @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.MessageContextInfo;
/**
* Verifies a MessageContextInfo 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 MessageContextInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MessageContextInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.MessageContextInfo;
/**
* Creates a plain object from a MessageContextInfo message. Also converts values to other types if specified.
* @param message MessageContextInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.MessageContextInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MessageContextInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MessageContextInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace MessageContextInfo {
/** MessageAddonExpiryType enum. */
enum MessageAddonExpiryType {
STATIC = 1,
DEPENDENT_ON_PARENT = 2
}
}
/** Properties of a ThreadID. */
interface IThreadID {
/** ThreadID threadType */
threadType?: (E2E.ThreadID.ThreadType|null);
/** ThreadID threadKey */
threadKey?: (Protocol.IMessageKey|null);
}
/** Represents a ThreadID. */
class ThreadID implements IThreadID {
/**
* Constructs a new ThreadID.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IThreadID);
/** ThreadID threadType. */
public threadType?: (E2E.ThreadID.ThreadType|null);
/** ThreadID threadKey. */
public threadKey?: (Protocol.IMessageKey|null);
/** ThreadID _threadType. */
public _threadType?: "threadType";
/** ThreadID _threadKey. */
public _threadKey?: "threadKey";
/**
* Creates a new ThreadID instance using the specified properties.
* @param [properties] Properties to set
* @returns ThreadID instance
*/
public static create(properties?: E2E.IThreadID): E2E.ThreadID;
/**
* Encodes the specified ThreadID message. Does not implicitly {@link E2E.ThreadID.verify|verify} messages.
* @param message ThreadID message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IThreadID, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ThreadID message, length delimited. Does not implicitly {@link E2E.ThreadID.verify|verify} messages.
* @param message ThreadID message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IThreadID, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ThreadID message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ThreadID
* @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.ThreadID;
/**
* Decodes a ThreadID message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ThreadID
* @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.ThreadID;
/**
* Verifies a ThreadID 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 ThreadID message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ThreadID
*/
public static fromObject(object: { [k: string]: any }): E2E.ThreadID;
/**
* Creates a plain object from a ThreadID message. Also converts values to other types if specified.
* @param message ThreadID
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ThreadID, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ThreadID to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ThreadID
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ThreadID {
/** ThreadType enum. */
enum ThreadType {
UNKNOWN = 0,
VIEW_REPLIES = 1
}
}
/** Properties of a MessageAssociation. */
interface IMessageAssociation {
/** MessageAssociation associationType */
associationType?: (E2E.MessageAssociation.AssociationType|null);
/** MessageAssociation parentMessageKey */
parentMessageKey?: (Protocol.IMessageKey|null);
/** MessageAssociation messageIndex */
messageIndex?: (number|null);
}
/** Represents a MessageAssociation. */
class MessageAssociation implements IMessageAssociation {
/**
* Constructs a new MessageAssociation.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IMessageAssociation);
/** MessageAssociation associationType. */
public associationType?: (E2E.MessageAssociation.AssociationType|null);
/** MessageAssociation parentMessageKey. */
public parentMessageKey?: (Protocol.IMessageKey|null);
/** MessageAssociation messageIndex. */
public messageIndex?: (number|null);
/** MessageAssociation _associationType. */
public _associationType?: "associationType";
/** MessageAssociation _parentMessageKey. */
public _parentMessageKey?: "parentMessageKey";
/** MessageAssociation _messageIndex. */
public _messageIndex?: "messageIndex";
/**
* Creates a new MessageAssociation instance using the specified properties.
* @param [properties] Properties to set
* @returns MessageAssociation instance
*/
public static create(properties?: E2E.IMessageAssociation): E2E.MessageAssociation;
/**
* Encodes the specified MessageAssociation message. Does not implicitly {@link E2E.MessageAssociation.verify|verify} messages.
* @param message MessageAssociation message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IMessageAssociation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MessageAssociation message, length delimited. Does not implicitly {@link E2E.MessageAssociation.verify|verify} messages.
* @param message MessageAssociation message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IMessageAssociation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MessageAssociation message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MessageAssociation
* @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.MessageAssociation;
/**
* Decodes a MessageAssociation message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MessageAssociation
* @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.MessageAssociation;
/**
* Verifies a MessageAssociation 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 MessageAssociation message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MessageAssociation
*/
public static fromObject(object: { [k: string]: any }): E2E.MessageAssociation;
/**
* Creates a plain object from a MessageAssociation message. Also converts values to other types if specified.
* @param message MessageAssociation
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.MessageAssociation, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MessageAssociation to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MessageAssociation
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace MessageAssociation {
/** AssociationType enum. */
enum AssociationType {
UNKNOWN = 0,
MEDIA_ALBUM = 1,
BOT_PLUGIN = 2,
EVENT_COVER_IMAGE = 3,
STATUS_POLL = 4,
HD_VIDEO_DUAL_UPLOAD = 5,
STATUS_EXTERNAL_RESHARE = 6,
MEDIA_POLL = 7,
STATUS_ADD_YOURS = 8,
STATUS_NOTIFICATION = 9,
HD_IMAGE_DUAL_UPLOAD = 10,
STICKER_ANNOTATION = 11,
MOTION_PHOTO = 12,
STATUS_LINK_ACTION = 13,
VIEW_ALL_REPLIES = 14,
STATUS_ADD_YOURS_AI_IMAGINE = 15
}
}
/** Properties of a BotMetadata. */
interface IBotMetadata {
/** BotMetadata avatarMetadata */
avatarMetadata?: (E2E.IBotAvatarMetadata|null);
/** BotMetadata personaId */
personaId?: (string|null);
/** BotMetadata pluginMetadata */
pluginMetadata?: (E2E.IBotPluginMetadata|null);
/** BotMetadata suggestedPromptMetadata */
suggestedPromptMetadata?: (E2E.IBotSuggestedPromptMetadata|null);
/** BotMetadata invokerJid */
invokerJid?: (string|null);
/** BotMetadata sessionMetadata */
sessionMetadata?: (E2E.IBotSessionMetadata|null);
/** BotMetadata memuMetadata */
memuMetadata?: (E2E.IBotMemuMetadata|null);
/** BotMetadata timezone */
timezone?: (string|null);
/** BotMetadata reminderMetadata */
reminderMetadata?: (E2E.IBotReminderMetadata|null);
/** BotMetadata modelMetadata */
modelMetadata?: (E2E.IBotModelMetadata|null);
/** BotMetadata messageDisclaimerText */
messageDisclaimerText?: (string|null);
/** BotMetadata progressIndicatorMetadata */
progressIndicatorMetadata?: (E2E.IBotProgressIndicatorMetadata|null);
/** BotMetadata capabilityMetadata */
capabilityMetadata?: (E2E.IBotCapabilityMetadata|null);
/** BotMetadata imagineMetadata */
imagineMetadata?: (E2E.IBotImagineMetadata|null);
/** BotMetadata memoryMetadata */
memoryMetadata?: (E2E.IBotMemoryMetadata|null);
/** BotMetadata renderingMetadata */
renderingMetadata?: (E2E.IBotRenderingMetadata|null);
/** BotMetadata botMetricsMetadata */
botMetricsMetadata?: (E2E.IBotMetricsMetadata|null);
/** BotMetadata botLinkedAccountsMetadata */
botLinkedAccountsMetadata?: (E2E.IBotLinkedAccountsMetadata|null);
/** BotMetadata richResponseSourcesMetadata */
richResponseSourcesMetadata?: (E2E.IBotSourcesMetadata|null);
/** BotMetadata aiConversationContext */
aiConversationContext?: (Uint8Array|null);
/** BotMetadata botPromotionMessageMetadata */
botPromotionMessageMetadata?: (E2E.IBotPromotionMessageMetadata|null);
/** BotMetadata botModeSelectionMetadata */
botModeSelectionMetadata?: (E2E.IBotModeSelectionMetadata|null);
/** BotMetadata botQuotaMetadata */
botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
/** BotMetadata botAgeCollectionMetadata */
botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
/** BotMetadata conversationStarterPromptId */
conversationStarterPromptId?: (string|null);
/** BotMetadata botResponseId */
botResponseId?: (string|null);
/** BotMetadata verificationMetadata */
verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
}
/** Represents a BotMetadata. */
class BotMetadata implements IBotMetadata {
/**
* Constructs a new BotMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotMetadata);
/** BotMetadata avatarMetadata. */
public avatarMetadata?: (E2E.IBotAvatarMetadata|null);
/** BotMetadata personaId. */
public personaId?: (string|null);
/** BotMetadata pluginMetadata. */
public pluginMetadata?: (E2E.IBotPluginMetadata|null);
/** BotMetadata suggestedPromptMetadata. */
public suggestedPromptMetadata?: (E2E.IBotSuggestedPromptMetadata|null);
/** BotMetadata invokerJid. */
public invokerJid?: (string|null);
/** BotMetadata sessionMetadata. */
public sessionMetadata?: (E2E.IBotSessionMetadata|null);
/** BotMetadata memuMetadata. */
public memuMetadata?: (E2E.IBotMemuMetadata|null);
/** BotMetadata timezone. */
public timezone?: (string|null);
/** BotMetadata reminderMetadata. */
public reminderMetadata?: (E2E.IBotReminderMetadata|null);
/** BotMetadata modelMetadata. */
public modelMetadata?: (E2E.IBotModelMetadata|null);
/** BotMetadata messageDisclaimerText. */
public messageDisclaimerText?: (string|null);
/** BotMetadata progressIndicatorMetadata. */
public progressIndicatorMetadata?: (E2E.IBotProgressIndicatorMetadata|null);
/** BotMetadata capabilityMetadata. */
public capabilityMetadata?: (E2E.IBotCapabilityMetadata|null);
/** BotMetadata imagineMetadata. */
public imagineMetadata?: (E2E.IBotImagineMetadata|null);
/** BotMetadata memoryMetadata. */
public memoryMetadata?: (E2E.IBotMemoryMetadata|null);
/** BotMetadata renderingMetadata. */
public renderingMetadata?: (E2E.IBotRenderingMetadata|null);
/** BotMetadata botMetricsMetadata. */
public botMetricsMetadata?: (E2E.IBotMetricsMetadata|null);
/** BotMetadata botLinkedAccountsMetadata. */
public botLinkedAccountsMetadata?: (E2E.IBotLinkedAccountsMetadata|null);
/** BotMetadata richResponseSourcesMetadata. */
public richResponseSourcesMetadata?: (E2E.IBotSourcesMetadata|null);
/** BotMetadata aiConversationContext. */
public aiConversationContext?: (Uint8Array|null);
/** BotMetadata botPromotionMessageMetadata. */
public botPromotionMessageMetadata?: (E2E.IBotPromotionMessageMetadata|null);
/** BotMetadata botModeSelectionMetadata. */
public botModeSelectionMetadata?: (E2E.IBotModeSelectionMetadata|null);
/** BotMetadata botQuotaMetadata. */
public botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
/** BotMetadata botAgeCollectionMetadata. */
public botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
/** BotMetadata conversationStarterPromptId. */
public conversationStarterPromptId?: (string|null);
/** BotMetadata botResponseId. */
public botResponseId?: (string|null);
/** BotMetadata verificationMetadata. */
public verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
/** BotMetadata _avatarMetadata. */
public _avatarMetadata?: "avatarMetadata";
/** BotMetadata _personaId. */
public _personaId?: "personaId";
/** BotMetadata _pluginMetadata. */
public _pluginMetadata?: "pluginMetadata";
/** BotMetadata _suggestedPromptMetadata. */
public _suggestedPromptMetadata?: "suggestedPromptMetadata";
/** BotMetadata _invokerJid. */
public _invokerJid?: "invokerJid";
/** BotMetadata _sessionMetadata. */
public _sessionMetadata?: "sessionMetadata";
/** BotMetadata _memuMetadata. */
public _memuMetadata?: "memuMetadata";
/** BotMetadata _timezone. */
public _timezone?: "timezone";
/** BotMetadata _reminderMetadata. */
public _reminderMetadata?: "reminderMetadata";
/** BotMetadata _modelMetadata. */
public _modelMetadata?: "modelMetadata";
/** BotMetadata _messageDisclaimerText. */
public _messageDisclaimerText?: "messageDisclaimerText";
/** BotMetadata _progressIndicatorMetadata. */
public _progressIndicatorMetadata?: "progressIndicatorMetadata";
/** BotMetadata _capabilityMetadata. */
public _capabilityMetadata?: "capabilityMetadata";
/** BotMetadata _imagineMetadata. */
public _imagineMetadata?: "imagineMetadata";
/** BotMetadata _memoryMetadata. */
public _memoryMetadata?: "memoryMetadata";
/** BotMetadata _renderingMetadata. */
public _renderingMetadata?: "renderingMetadata";
/** BotMetadata _botMetricsMetadata. */
public _botMetricsMetadata?: "botMetricsMetadata";
/** BotMetadata _botLinkedAccountsMetadata. */
public _botLinkedAccountsMetadata?: "botLinkedAccountsMetadata";
/** BotMetadata _richResponseSourcesMetadata. */
public _richResponseSourcesMetadata?: "richResponseSourcesMetadata";
/** BotMetadata _aiConversationContext. */
public _aiConversationContext?: "aiConversationContext";
/** BotMetadata _botPromotionMessageMetadata. */
public _botPromotionMessageMetadata?: "botPromotionMessageMetadata";
/** BotMetadata _botModeSelectionMetadata. */
public _botModeSelectionMetadata?: "botModeSelectionMetadata";
/** BotMetadata _botQuotaMetadata. */
public _botQuotaMetadata?: "botQuotaMetadata";
/** BotMetadata _botAgeCollectionMetadata. */
public _botAgeCollectionMetadata?: "botAgeCollectionMetadata";
/** BotMetadata _conversationStarterPromptId. */
public _conversationStarterPromptId?: "conversationStarterPromptId";
/** BotMetadata _botResponseId. */
public _botResponseId?: "botResponseId";
/** BotMetadata _verificationMetadata. */
public _verificationMetadata?: "verificationMetadata";
/**
* Creates a new BotMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotMetadata instance
*/
public static create(properties?: E2E.IBotMetadata): E2E.BotMetadata;
/**
* Encodes the specified BotMetadata message. Does not implicitly {@link E2E.BotMetadata.verify|verify} messages.
* @param message BotMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotMetadata message, length delimited. Does not implicitly {@link E2E.BotMetadata.verify|verify} messages.
* @param message BotMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotMetadata
* @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.BotMetadata;
/**
* Decodes a BotMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotMetadata
* @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.BotMetadata;
/**
* Verifies a BotMetadata 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 BotMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotMetadata;
/**
* Creates a plain object from a BotMetadata message. Also converts values to other types if specified.
* @param message BotMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotSourcesMetadata. */
interface IBotSourcesMetadata {
/** BotSourcesMetadata sources */
sources?: (E2E.BotSourcesMetadata.IBotSourceItem[]|null);
}
/** Represents a BotSourcesMetadata. */
class BotSourcesMetadata implements IBotSourcesMetadata {
/**
* Constructs a new BotSourcesMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotSourcesMetadata);
/** BotSourcesMetadata sources. */
public sources: E2E.BotSourcesMetadata.IBotSourceItem[];
/**
* Creates a new BotSourcesMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotSourcesMetadata instance
*/
public static create(properties?: E2E.IBotSourcesMetadata): E2E.BotSourcesMetadata;
/**
* Encodes the specified BotSourcesMetadata message. Does not implicitly {@link E2E.BotSourcesMetadata.verify|verify} messages.
* @param message BotSourcesMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotSourcesMetadata message, length delimited. Does not implicitly {@link E2E.BotSourcesMetadata.verify|verify} messages.
* @param message BotSourcesMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotSourcesMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotSourcesMetadata
* @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.BotSourcesMetadata;
/**
* Decodes a BotSourcesMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotSourcesMetadata
* @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.BotSourcesMetadata;
/**
* Verifies a BotSourcesMetadata 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 BotSourcesMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotSourcesMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotSourcesMetadata;
/**
* Creates a plain object from a BotSourcesMetadata message. Also converts values to other types if specified.
* @param message BotSourcesMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotSourcesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotSourcesMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotSourcesMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotSourcesMetadata {
/** Properties of a BotSourceItem. */
interface IBotSourceItem {
/** BotSourceItem provider */
provider?: (E2E.BotSourcesMetadata.BotSourceItem.SourceProvider|null);
/** BotSourceItem thumbnailCdnUrl */
thumbnailCdnUrl?: (string|null);
/** BotSourceItem sourceProviderUrl */
sourceProviderUrl?: (string|null);
/** BotSourceItem sourceQuery */
sourceQuery?: (string|null);
/** BotSourceItem faviconCdnUrl */
faviconCdnUrl?: (string|null);
/** BotSourceItem citationNumber */
citationNumber?: (number|null);
}
/** Represents a BotSourceItem. */
class BotSourceItem implements IBotSourceItem {
/**
* Constructs a new BotSourceItem.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.BotSourcesMetadata.IBotSourceItem);
/** BotSourceItem provider. */
public provider?: (E2E.BotSourcesMetadata.BotSourceItem.SourceProvider|null);
/** BotSourceItem thumbnailCdnUrl. */
public thumbnailCdnUrl?: (string|null);
/** BotSourceItem sourceProviderUrl. */
public sourceProviderUrl?: (string|null);
/** BotSourceItem sourceQuery. */
public sourceQuery?: (string|null);
/** BotSourceItem faviconCdnUrl. */
public faviconCdnUrl?: (string|null);
/** BotSourceItem citationNumber. */
public citationNumber?: (number|null);
/** BotSourceItem _provider. */
public _provider?: "provider";
/** BotSourceItem _thumbnailCdnUrl. */
public _thumbnailCdnUrl?: "thumbnailCdnUrl";
/** BotSourceItem _sourceProviderUrl. */
public _sourceProviderUrl?: "sourceProviderUrl";
/** BotSourceItem _sourceQuery. */
public _sourceQuery?: "sourceQuery";
/** BotSourceItem _faviconCdnUrl. */
public _faviconCdnUrl?: "faviconCdnUrl";
/** BotSourceItem _citationNumber. */
public _citationNumber?: "citationNumber";
/**
* Creates a new BotSourceItem instance using the specified properties.
* @param [properties] Properties to set
* @returns BotSourceItem instance
*/
public static create(properties?: E2E.BotSourcesMetadata.IBotSourceItem): E2E.BotSourcesMetadata.BotSourceItem;
/**
* Encodes the specified BotSourceItem message. Does not implicitly {@link E2E.BotSourcesMetadata.BotSourceItem.verify|verify} messages.
* @param message BotSourceItem message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.BotSourcesMetadata.IBotSourceItem, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotSourceItem message, length delimited. Does not implicitly {@link E2E.BotSourcesMetadata.BotSourceItem.verify|verify} messages.
* @param message BotSourceItem message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.BotSourcesMetadata.IBotSourceItem, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotSourceItem message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotSourceItem
* @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.BotSourcesMetadata.BotSourceItem;
/**
* Decodes a BotSourceItem message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotSourceItem
* @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.BotSourcesMetadata.BotSourceItem;
/**
* Verifies a BotSourceItem 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 BotSourceItem message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotSourceItem
*/
public static fromObject(object: { [k: string]: any }): E2E.BotSourcesMetadata.BotSourceItem;
/**
* Creates a plain object from a BotSourceItem message. Also converts values to other types if specified.
* @param message BotSourceItem
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotSourcesMetadata.BotSourceItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotSourceItem to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotSourceItem
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotSourceItem {
/** SourceProvider enum. */
enum SourceProvider {
UNKNOWN = 0,
BING = 1,
GOOGLE = 2,
SUPPORT = 3
}
}
}
/** Properties of a BotAgeCollectionMetadata. */
interface IBotAgeCollectionMetadata {
/** BotAgeCollectionMetadata ageCollectionEligible */
ageCollectionEligible?: (boolean|null);
/** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient */
shouldTriggerAgeCollectionOnClient?: (boolean|null);
}
/** Represents a BotAgeCollectionMetadata. */
class BotAgeCollectionMetadata implements IBotAgeCollectionMetadata {
/**
* Constructs a new BotAgeCollectionMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotAgeCollectionMetadata);
/** BotAgeCollectionMetadata ageCollectionEligible. */
public ageCollectionEligible?: (boolean|null);
/** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient. */
public shouldTriggerAgeCollectionOnClient?: (boolean|null);
/** BotAgeCollectionMetadata _ageCollectionEligible. */
public _ageCollectionEligible?: "ageCollectionEligible";
/** BotAgeCollectionMetadata _shouldTriggerAgeCollectionOnClient. */
public _shouldTriggerAgeCollectionOnClient?: "shouldTriggerAgeCollectionOnClient";
/**
* Creates a new BotAgeCollectionMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotAgeCollectionMetadata instance
*/
public static create(properties?: E2E.IBotAgeCollectionMetadata): E2E.BotAgeCollectionMetadata;
/**
* Encodes the specified BotAgeCollectionMetadata message. Does not implicitly {@link E2E.BotAgeCollectionMetadata.verify|verify} messages.
* @param message BotAgeCollectionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotAgeCollectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotAgeCollectionMetadata message, length delimited. Does not implicitly {@link E2E.BotAgeCollectionMetadata.verify|verify} messages.
* @param message BotAgeCollectionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotAgeCollectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotAgeCollectionMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotAgeCollectionMetadata
* @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.BotAgeCollectionMetadata;
/**
* Decodes a BotAgeCollectionMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotAgeCollectionMetadata
* @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.BotAgeCollectionMetadata;
/**
* Verifies a BotAgeCollectionMetadata 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 BotAgeCollectionMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotAgeCollectionMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotAgeCollectionMetadata;
/**
* Creates a plain object from a BotAgeCollectionMetadata message. Also converts values to other types if specified.
* @param message BotAgeCollectionMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotAgeCollectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotAgeCollectionMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotAgeCollectionMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotImagineMetadata. */
interface IBotImagineMetadata {
/** BotImagineMetadata imagineType */
imagineType?: (E2E.BotImagineMetadata.ImagineType|null);
}
/** Represents a BotImagineMetadata. */
class BotImagineMetadata implements IBotImagineMetadata {
/**
* Constructs a new BotImagineMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotImagineMetadata);
/** BotImagineMetadata imagineType. */
public imagineType?: (E2E.BotImagineMetadata.ImagineType|null);
/** BotImagineMetadata _imagineType. */
public _imagineType?: "imagineType";
/**
* Creates a new BotImagineMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotImagineMetadata instance
*/
public static create(properties?: E2E.IBotImagineMetadata): E2E.BotImagineMetadata;
/**
* Encodes the specified BotImagineMetadata message. Does not implicitly {@link E2E.BotImagineMetadata.verify|verify} messages.
* @param message BotImagineMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotImagineMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotImagineMetadata message, length delimited. Does not implicitly {@link E2E.BotImagineMetadata.verify|verify} messages.
* @param message BotImagineMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotImagineMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotImagineMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotImagineMetadata
* @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.BotImagineMetadata;
/**
* Decodes a BotImagineMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotImagineMetadata
* @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.BotImagineMetadata;
/**
* Verifies a BotImagineMetadata 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 BotImagineMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotImagineMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotImagineMetadata;
/**
* Creates a plain object from a BotImagineMetadata message. Also converts values to other types if specified.
* @param message BotImagineMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotImagineMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotImagineMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotImagineMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotImagineMetadata {
/** ImagineType enum. */
enum ImagineType {
UNKNOWN = 0,
IMAGINE = 1,
MEMU = 2,
FLASH = 3,
EDIT = 4
}
}
/** Properties of a BotQuotaMetadata. */
interface IBotQuotaMetadata {
/** BotQuotaMetadata botFeatureQuotaMetadata */
botFeatureQuotaMetadata?: (E2E.BotQuotaMetadata.IBotFeatureQuotaMetadata[]|null);
}
/** Represents a BotQuotaMetadata. */
class BotQuotaMetadata implements IBotQuotaMetadata {
/**
* Constructs a new BotQuotaMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotQuotaMetadata);
/** BotQuotaMetadata botFeatureQuotaMetadata. */
public botFeatureQuotaMetadata: E2E.BotQuotaMetadata.IBotFeatureQuotaMetadata[];
/**
* Creates a new BotQuotaMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotQuotaMetadata instance
*/
public static create(properties?: E2E.IBotQuotaMetadata): E2E.BotQuotaMetadata;
/**
* Encodes the specified BotQuotaMetadata message. Does not implicitly {@link E2E.BotQuotaMetadata.verify|verify} messages.
* @param message BotQuotaMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotQuotaMetadata message, length delimited. Does not implicitly {@link E2E.BotQuotaMetadata.verify|verify} messages.
* @param message BotQuotaMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotQuotaMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotQuotaMetadata
* @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.BotQuotaMetadata;
/**
* Decodes a BotQuotaMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotQuotaMetadata
* @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.BotQuotaMetadata;
/**
* Verifies a BotQuotaMetadata 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 BotQuotaMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotQuotaMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotQuotaMetadata;
/**
* Creates a plain object from a BotQuotaMetadata message. Also converts values to other types if specified.
* @param message BotQuotaMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotQuotaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotQuotaMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotQuotaMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotQuotaMetadata {
/** Properties of a BotFeatureQuotaMetadata. */
interface IBotFeatureQuotaMetadata {
/** BotFeatureQuotaMetadata featureType */
featureType?: (E2E.BotQuotaMetadata.BotFeatureQuotaMetadata.BotFeatureType|null);
/** BotFeatureQuotaMetadata remainingQuota */
remainingQuota?: (number|null);
/** BotFeatureQuotaMetadata expirationTimestamp */
expirationTimestamp?: (number|Long|null);
}
/** Represents a BotFeatureQuotaMetadata. */
class BotFeatureQuotaMetadata implements IBotFeatureQuotaMetadata {
/**
* Constructs a new BotFeatureQuotaMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.BotQuotaMetadata.IBotFeatureQuotaMetadata);
/** BotFeatureQuotaMetadata featureType. */
public featureType?: (E2E.BotQuotaMetadata.BotFeatureQuotaMetadata.BotFeatureType|null);
/** BotFeatureQuotaMetadata remainingQuota. */
public remainingQuota?: (number|null);
/** BotFeatureQuotaMetadata expirationTimestamp. */
public expirationTimestamp?: (number|Long|null);
/** BotFeatureQuotaMetadata _featureType. */
public _featureType?: "featureType";
/** BotFeatureQuotaMetadata _remainingQuota. */
public _remainingQuota?: "remainingQuota";
/** BotFeatureQuotaMetadata _expirationTimestamp. */
public _expirationTimestamp?: "expirationTimestamp";
/**
* Creates a new BotFeatureQuotaMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotFeatureQuotaMetadata instance
*/
public static create(properties?: E2E.BotQuotaMetadata.IBotFeatureQuotaMetadata): E2E.BotQuotaMetadata.BotFeatureQuotaMetadata;
/**
* Encodes the specified BotFeatureQuotaMetadata message. Does not implicitly {@link E2E.BotQuotaMetadata.BotFeatureQuotaMetadata.verify|verify} messages.
* @param message BotFeatureQuotaMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.BotQuotaMetadata.IBotFeatureQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotFeatureQuotaMetadata message, length delimited. Does not implicitly {@link E2E.BotQuotaMetadata.BotFeatureQuotaMetadata.verify|verify} messages.
* @param message BotFeatureQuotaMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.BotQuotaMetadata.IBotFeatureQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotFeatureQuotaMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotFeatureQuotaMetadata
* @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.BotQuotaMetadata.BotFeatureQuotaMetadata;
/**
* Decodes a BotFeatureQuotaMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotFeatureQuotaMetadata
* @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.BotQuotaMetadata.BotFeatureQuotaMetadata;
/**
* Verifies a BotFeatureQuotaMetadata 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 BotFeatureQuotaMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotFeatureQuotaMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotQuotaMetadata.BotFeatureQuotaMetadata;
/**
* Creates a plain object from a BotFeatureQuotaMetadata message. Also converts values to other types if specified.
* @param message BotFeatureQuotaMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotQuotaMetadata.BotFeatureQuotaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotFeatureQuotaMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotFeatureQuotaMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotFeatureQuotaMetadata {
/** BotFeatureType enum. */
enum BotFeatureType {
UNKNOWN_FEATURE = 0,
REASONING_FEATURE = 1
}
}
}
/** Properties of a BotModeSelectionMetadata. */
interface IBotModeSelectionMetadata {
/** BotModeSelectionMetadata mode */
mode?: (E2E.BotModeSelectionMetadata.BotUserSelectionMode[]|null);
}
/** Represents a BotModeSelectionMetadata. */
class BotModeSelectionMetadata implements IBotModeSelectionMetadata {
/**
* Constructs a new BotModeSelectionMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotModeSelectionMetadata);
/** BotModeSelectionMetadata mode. */
public mode: E2E.BotModeSelectionMetadata.BotUserSelectionMode[];
/**
* Creates a new BotModeSelectionMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotModeSelectionMetadata instance
*/
public static create(properties?: E2E.IBotModeSelectionMetadata): E2E.BotModeSelectionMetadata;
/**
* Encodes the specified BotModeSelectionMetadata message. Does not implicitly {@link E2E.BotModeSelectionMetadata.verify|verify} messages.
* @param message BotModeSelectionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotModeSelectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotModeSelectionMetadata message, length delimited. Does not implicitly {@link E2E.BotModeSelectionMetadata.verify|verify} messages.
* @param message BotModeSelectionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotModeSelectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotModeSelectionMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotModeSelectionMetadata
* @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.BotModeSelectionMetadata;
/**
* Decodes a BotModeSelectionMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotModeSelectionMetadata
* @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.BotModeSelectionMetadata;
/**
* Verifies a BotModeSelectionMetadata 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 BotModeSelectionMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotModeSelectionMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotModeSelectionMetadata;
/**
* Creates a plain object from a BotModeSelectionMetadata message. Also converts values to other types if specified.
* @param message BotModeSelectionMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotModeSelectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotModeSelectionMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotModeSelectionMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotModeSelectionMetadata {
/** BotUserSelectionMode enum. */
enum BotUserSelectionMode {
UNKNOWN_MODE = 0,
REASONING_MODE = 1
}
}
/** Properties of a BotCapabilityMetadata. */
interface IBotCapabilityMetadata {
/** BotCapabilityMetadata capabilities */
capabilities?: (E2E.BotCapabilityMetadata.BotCapabilityType[]|null);
}
/** Represents a BotCapabilityMetadata. */
class BotCapabilityMetadata implements IBotCapabilityMetadata {
/**
* Constructs a new BotCapabilityMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotCapabilityMetadata);
/** BotCapabilityMetadata capabilities. */
public capabilities: E2E.BotCapabilityMetadata.BotCapabilityType[];
/**
* Creates a new BotCapabilityMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotCapabilityMetadata instance
*/
public static create(properties?: E2E.IBotCapabilityMetadata): E2E.BotCapabilityMetadata;
/**
* Encodes the specified BotCapabilityMetadata message. Does not implicitly {@link E2E.BotCapabilityMetadata.verify|verify} messages.
* @param message BotCapabilityMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotCapabilityMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotCapabilityMetadata message, length delimited. Does not implicitly {@link E2E.BotCapabilityMetadata.verify|verify} messages.
* @param message BotCapabilityMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotCapabilityMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotCapabilityMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotCapabilityMetadata
* @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.BotCapabilityMetadata;
/**
* Decodes a BotCapabilityMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotCapabilityMetadata
* @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.BotCapabilityMetadata;
/**
* Verifies a BotCapabilityMetadata 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 BotCapabilityMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotCapabilityMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotCapabilityMetadata;
/**
* Creates a plain object from a BotCapabilityMetadata message. Also converts values to other types if specified.
* @param message BotCapabilityMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotCapabilityMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotCapabilityMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotCapabilityMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotCapabilityMetadata {
/** BotCapabilityType enum. */
enum BotCapabilityType {
UNKNOWN = 0,
PROGRESS_INDICATOR = 1,
RICH_RESPONSE_HEADING = 2,
RICH_RESPONSE_NESTED_LIST = 3,
AI_MEMORY = 4,
RICH_RESPONSE_THREAD_SURFING = 5,
RICH_RESPONSE_TABLE = 6,
RICH_RESPONSE_CODE = 7,
RICH_RESPONSE_STRUCTURED_RESPONSE = 8,
RICH_RESPONSE_INLINE_IMAGE = 9,
WA_IG_1P_PLUGIN_RANKING_CONTROL = 10,
WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11,
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12,
WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13,
WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14,
WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15,
WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16,
WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17,
WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18,
WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19,
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20,
RICH_RESPONSE_SUB_HEADING = 21,
RICH_RESPONSE_GRID_IMAGE = 22,
AI_STUDIO_UGC_MEMORY = 23,
RICH_RESPONSE_LATEX = 24,
RICH_RESPONSE_MAPS = 25,
RICH_RESPONSE_INLINE_REELS = 26,
AGENTIC_PLANNING = 27,
ACCOUNT_LINKING = 28,
STREAMING_DISAGGREGATION = 29,
RICH_RESPONSE_GRID_IMAGE_3P = 30,
RICH_RESPONSE_LATEX_INLINE = 31,
QUERY_PLAN = 32,
PROACTIVE_MESSAGE = 33,
RICH_RESPONSE_UNIFIED_RESPONSE = 34,
PROMOTION_MESSAGE = 35,
SIMPLIFIED_PROFILE_PAGE = 36
}
}
/** Properties of a BotProgressIndicatorMetadata. */
interface IBotProgressIndicatorMetadata {
/** BotProgressIndicatorMetadata progressDescription */
progressDescription?: (string|null);
/** BotProgressIndicatorMetadata stepsMetadata */
stepsMetadata?: (E2E.BotProgressIndicatorMetadata.IBotPlanningStepMetadata[]|null);
}
/** Represents a BotProgressIndicatorMetadata. */
class BotProgressIndicatorMetadata implements IBotProgressIndicatorMetadata {
/**
* Constructs a new BotProgressIndicatorMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotProgressIndicatorMetadata);
/** BotProgressIndicatorMetadata progressDescription. */
public progressDescription?: (string|null);
/** BotProgressIndicatorMetadata stepsMetadata. */
public stepsMetadata: E2E.BotProgressIndicatorMetadata.IBotPlanningStepMetadata[];
/** BotProgressIndicatorMetadata _progressDescription. */
public _progressDescription?: "progressDescription";
/**
* Creates a new BotProgressIndicatorMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotProgressIndicatorMetadata instance
*/
public static create(properties?: E2E.IBotProgressIndicatorMetadata): E2E.BotProgressIndicatorMetadata;
/**
* Encodes the specified BotProgressIndicatorMetadata message. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.verify|verify} messages.
* @param message BotProgressIndicatorMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotProgressIndicatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotProgressIndicatorMetadata message, length delimited. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.verify|verify} messages.
* @param message BotProgressIndicatorMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotProgressIndicatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotProgressIndicatorMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotProgressIndicatorMetadata
* @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.BotProgressIndicatorMetadata;
/**
* Decodes a BotProgressIndicatorMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotProgressIndicatorMetadata
* @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.BotProgressIndicatorMetadata;
/**
* Verifies a BotProgressIndicatorMetadata 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 BotProgressIndicatorMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotProgressIndicatorMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotProgressIndicatorMetadata;
/**
* Creates a plain object from a BotProgressIndicatorMetadata message. Also converts values to other types if specified.
* @param message BotProgressIndicatorMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotProgressIndicatorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotProgressIndicatorMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotProgressIndicatorMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotProgressIndicatorMetadata {
/** Properties of a BotPlanningStepMetadata. */
interface IBotPlanningStepMetadata {
/** BotPlanningStepMetadata statusTitle */
statusTitle?: (string|null);
/** BotPlanningStepMetadata statusBody */
statusBody?: (string|null);
/** BotPlanningStepMetadata sourcesMetadata */
sourcesMetadata?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata[]|null);
/** BotPlanningStepMetadata status */
status?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.PlanningStepStatus|null);
/** BotPlanningStepMetadata isReasoning */
isReasoning?: (boolean|null);
/** BotPlanningStepMetadata isEnhancedSearch */
isEnhancedSearch?: (boolean|null);
/** BotPlanningStepMetadata sections */
sections?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata[]|null);
}
/** Represents a BotPlanningStepMetadata. */
class BotPlanningStepMetadata implements IBotPlanningStepMetadata {
/**
* Constructs a new BotPlanningStepMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.BotProgressIndicatorMetadata.IBotPlanningStepMetadata);
/** BotPlanningStepMetadata statusTitle. */
public statusTitle?: (string|null);
/** BotPlanningStepMetadata statusBody. */
public statusBody?: (string|null);
/** BotPlanningStepMetadata sourcesMetadata. */
public sourcesMetadata: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata[];
/** BotPlanningStepMetadata status. */
public status?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.PlanningStepStatus|null);
/** BotPlanningStepMetadata isReasoning. */
public isReasoning?: (boolean|null);
/** BotPlanningStepMetadata isEnhancedSearch. */
public isEnhancedSearch?: (boolean|null);
/** BotPlanningStepMetadata sections. */
public sections: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata[];
/** BotPlanningStepMetadata _statusTitle. */
public _statusTitle?: "statusTitle";
/** BotPlanningStepMetadata _statusBody. */
public _statusBody?: "statusBody";
/** BotPlanningStepMetadata _status. */
public _status?: "status";
/** BotPlanningStepMetadata _isReasoning. */
public _isReasoning?: "isReasoning";
/** BotPlanningStepMetadata _isEnhancedSearch. */
public _isEnhancedSearch?: "isEnhancedSearch";
/**
* Creates a new BotPlanningStepMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPlanningStepMetadata instance
*/
public static create(properties?: E2E.BotProgressIndicatorMetadata.IBotPlanningStepMetadata): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata;
/**
* Encodes the specified BotPlanningStepMetadata message. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.verify|verify} messages.
* @param message BotPlanningStepMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.BotProgressIndicatorMetadata.IBotPlanningStepMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPlanningStepMetadata message, length delimited. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.verify|verify} messages.
* @param message BotPlanningStepMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.BotProgressIndicatorMetadata.IBotPlanningStepMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPlanningStepMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPlanningStepMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata;
/**
* Decodes a BotPlanningStepMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPlanningStepMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata;
/**
* Verifies a BotPlanningStepMetadata 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 BotPlanningStepMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPlanningStepMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata;
/**
* Creates a plain object from a BotPlanningStepMetadata message. Also converts values to other types if specified.
* @param message BotPlanningStepMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPlanningStepMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPlanningStepMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotPlanningStepMetadata {
/** Properties of a BotPlanningSearchSourceMetadata. */
interface IBotPlanningSearchSourceMetadata {
/** BotPlanningSearchSourceMetadata title */
title?: (string|null);
/** BotPlanningSearchSourceMetadata provider */
provider?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider|null);
/** BotPlanningSearchSourceMetadata sourceUrl */
sourceUrl?: (string|null);
/** BotPlanningSearchSourceMetadata favIconUrl */
favIconUrl?: (string|null);
}
/** Represents a BotPlanningSearchSourceMetadata. */
class BotPlanningSearchSourceMetadata implements IBotPlanningSearchSourceMetadata {
/**
* Constructs a new BotPlanningSearchSourceMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata);
/** BotPlanningSearchSourceMetadata title. */
public title?: (string|null);
/** BotPlanningSearchSourceMetadata provider. */
public provider?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider|null);
/** BotPlanningSearchSourceMetadata sourceUrl. */
public sourceUrl?: (string|null);
/** BotPlanningSearchSourceMetadata favIconUrl. */
public favIconUrl?: (string|null);
/** BotPlanningSearchSourceMetadata _title. */
public _title?: "title";
/** BotPlanningSearchSourceMetadata _provider. */
public _provider?: "provider";
/** BotPlanningSearchSourceMetadata _sourceUrl. */
public _sourceUrl?: "sourceUrl";
/** BotPlanningSearchSourceMetadata _favIconUrl. */
public _favIconUrl?: "favIconUrl";
/**
* Creates a new BotPlanningSearchSourceMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPlanningSearchSourceMetadata instance
*/
public static create(properties?: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
/**
* Encodes the specified BotPlanningSearchSourceMetadata message. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata.verify|verify} messages.
* @param message BotPlanningSearchSourceMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPlanningSearchSourceMetadata message, length delimited. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata.verify|verify} messages.
* @param message BotPlanningSearchSourceMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPlanningSearchSourceMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPlanningSearchSourceMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
/**
* Decodes a BotPlanningSearchSourceMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPlanningSearchSourceMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
/**
* Verifies a BotPlanningSearchSourceMetadata 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 BotPlanningSearchSourceMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPlanningSearchSourceMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
/**
* Creates a plain object from a BotPlanningSearchSourceMetadata message. Also converts values to other types if specified.
* @param message BotPlanningSearchSourceMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPlanningSearchSourceMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPlanningSearchSourceMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotPlanningSearchSourcesMetadata. */
interface IBotPlanningSearchSourcesMetadata {
/** BotPlanningSearchSourcesMetadata sourceTitle */
sourceTitle?: (string|null);
/** BotPlanningSearchSourcesMetadata provider */
provider?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.BotPlanningSearchSourceProvider|null);
/** BotPlanningSearchSourcesMetadata sourceUrl */
sourceUrl?: (string|null);
}
/** Represents a BotPlanningSearchSourcesMetadata. */
class BotPlanningSearchSourcesMetadata implements IBotPlanningSearchSourcesMetadata {
/**
* Constructs a new BotPlanningSearchSourcesMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata);
/** BotPlanningSearchSourcesMetadata sourceTitle. */
public sourceTitle?: (string|null);
/** BotPlanningSearchSourcesMetadata provider. */
public provider?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.BotPlanningSearchSourceProvider|null);
/** BotPlanningSearchSourcesMetadata sourceUrl. */
public sourceUrl?: (string|null);
/** BotPlanningSearchSourcesMetadata _sourceTitle. */
public _sourceTitle?: "sourceTitle";
/** BotPlanningSearchSourcesMetadata _provider. */
public _provider?: "provider";
/** BotPlanningSearchSourcesMetadata _sourceUrl. */
public _sourceUrl?: "sourceUrl";
/**
* Creates a new BotPlanningSearchSourcesMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPlanningSearchSourcesMetadata instance
*/
public static create(properties?: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata;
/**
* Encodes the specified BotPlanningSearchSourcesMetadata message. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.verify|verify} messages.
* @param message BotPlanningSearchSourcesMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPlanningSearchSourcesMetadata message, length delimited. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.verify|verify} messages.
* @param message BotPlanningSearchSourcesMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPlanningSearchSourcesMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPlanningSearchSourcesMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata;
/**
* Decodes a BotPlanningSearchSourcesMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPlanningSearchSourcesMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata;
/**
* Verifies a BotPlanningSearchSourcesMetadata 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 BotPlanningSearchSourcesMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPlanningSearchSourcesMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata;
/**
* Creates a plain object from a BotPlanningSearchSourcesMetadata message. Also converts values to other types if specified.
* @param message BotPlanningSearchSourcesMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPlanningSearchSourcesMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPlanningSearchSourcesMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotPlanningSearchSourcesMetadata {
/** BotPlanningSearchSourceProvider enum. */
enum BotPlanningSearchSourceProvider {
UNKNOWN = 0,
OTHER = 1,
GOOGLE = 2,
BING = 3
}
}
/** Properties of a BotPlanningStepSectionMetadata. */
interface IBotPlanningStepSectionMetadata {
/** BotPlanningStepSectionMetadata sectionTitle */
sectionTitle?: (string|null);
/** BotPlanningStepSectionMetadata sectionBody */
sectionBody?: (string|null);
/** BotPlanningStepSectionMetadata sourcesMetadata */
sourcesMetadata?: (E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata[]|null);
}
/** Represents a BotPlanningStepSectionMetadata. */
class BotPlanningStepSectionMetadata implements IBotPlanningStepSectionMetadata {
/**
* Constructs a new BotPlanningStepSectionMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata);
/** BotPlanningStepSectionMetadata sectionTitle. */
public sectionTitle?: (string|null);
/** BotPlanningStepSectionMetadata sectionBody. */
public sectionBody?: (string|null);
/** BotPlanningStepSectionMetadata sourcesMetadata. */
public sourcesMetadata: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata[];
/** BotPlanningStepSectionMetadata _sectionTitle. */
public _sectionTitle?: "sectionTitle";
/** BotPlanningStepSectionMetadata _sectionBody. */
public _sectionBody?: "sectionBody";
/**
* Creates a new BotPlanningStepSectionMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPlanningStepSectionMetadata instance
*/
public static create(properties?: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
/**
* Encodes the specified BotPlanningStepSectionMetadata message. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata.verify|verify} messages.
* @param message BotPlanningStepSectionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPlanningStepSectionMetadata message, length delimited. Does not implicitly {@link E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata.verify|verify} messages.
* @param message BotPlanningStepSectionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPlanningStepSectionMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPlanningStepSectionMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
/**
* Decodes a BotPlanningStepSectionMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPlanningStepSectionMetadata
* @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.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
/**
* Verifies a BotPlanningStepSectionMetadata 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 BotPlanningStepSectionMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPlanningStepSectionMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
/**
* Creates a plain object from a BotPlanningStepSectionMetadata message. Also converts values to other types if specified.
* @param message BotPlanningStepSectionMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPlanningStepSectionMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPlanningStepSectionMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** BotSearchSourceProvider enum. */
enum BotSearchSourceProvider {
UNKNOWN_PROVIDER = 0,
OTHER = 1,
GOOGLE = 2,
BING = 3
}
/** PlanningStepStatus enum. */
enum PlanningStepStatus {
UNKNOWN = 0,
PLANNED = 1,
EXECUTING = 2,
FINISHED = 3
}
}
}
/** Properties of a BotModelMetadata. */
interface IBotModelMetadata {
/** BotModelMetadata modelType */
modelType?: (E2E.BotModelMetadata.ModelType|null);
/** BotModelMetadata premiumModelStatus */
premiumModelStatus?: (E2E.BotModelMetadata.PremiumModelStatus|null);
}
/** Represents a BotModelMetadata. */
class BotModelMetadata implements IBotModelMetadata {
/**
* Constructs a new BotModelMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotModelMetadata);
/** BotModelMetadata modelType. */
public modelType?: (E2E.BotModelMetadata.ModelType|null);
/** BotModelMetadata premiumModelStatus. */
public premiumModelStatus?: (E2E.BotModelMetadata.PremiumModelStatus|null);
/** BotModelMetadata _modelType. */
public _modelType?: "modelType";
/** BotModelMetadata _premiumModelStatus. */
public _premiumModelStatus?: "premiumModelStatus";
/**
* Creates a new BotModelMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotModelMetadata instance
*/
public static create(properties?: E2E.IBotModelMetadata): E2E.BotModelMetadata;
/**
* Encodes the specified BotModelMetadata message. Does not implicitly {@link E2E.BotModelMetadata.verify|verify} messages.
* @param message BotModelMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotModelMetadata message, length delimited. Does not implicitly {@link E2E.BotModelMetadata.verify|verify} messages.
* @param message BotModelMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotModelMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotModelMetadata
* @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.BotModelMetadata;
/**
* Decodes a BotModelMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotModelMetadata
* @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.BotModelMetadata;
/**
* Verifies a BotModelMetadata 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 BotModelMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotModelMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotModelMetadata;
/**
* Creates a plain object from a BotModelMetadata message. Also converts values to other types if specified.
* @param message BotModelMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotModelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotModelMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotModelMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotModelMetadata {
/** ModelType enum. */
enum ModelType {
UNKNOWN_TYPE = 0,
LLAMA_PROD = 1,
LLAMA_PROD_PREMIUM = 2
}
/** PremiumModelStatus enum. */
enum PremiumModelStatus {
UNKNOWN_STATUS = 0,
AVAILABLE = 1,
QUOTA_EXCEED_LIMIT = 2
}
}
/** Properties of a BotReminderMetadata. */
interface IBotReminderMetadata {
/** BotReminderMetadata requestMessageKey */
requestMessageKey?: (Protocol.IMessageKey|null);
/** BotReminderMetadata action */
action?: (E2E.BotReminderMetadata.ReminderAction|null);
/** BotReminderMetadata name */
name?: (string|null);
/** BotReminderMetadata nextTriggerTimestamp */
nextTriggerTimestamp?: (number|Long|null);
/** BotReminderMetadata frequency */
frequency?: (E2E.BotReminderMetadata.ReminderFrequency|null);
}
/** Represents a BotReminderMetadata. */
class BotReminderMetadata implements IBotReminderMetadata {
/**
* Constructs a new BotReminderMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotReminderMetadata);
/** BotReminderMetadata requestMessageKey. */
public requestMessageKey?: (Protocol.IMessageKey|null);
/** BotReminderMetadata action. */
public action?: (E2E.BotReminderMetadata.ReminderAction|null);
/** BotReminderMetadata name. */
public name?: (string|null);
/** BotReminderMetadata nextTriggerTimestamp. */
public nextTriggerTimestamp?: (number|Long|null);
/** BotReminderMetadata frequency. */
public frequency?: (E2E.BotReminderMetadata.ReminderFrequency|null);
/** BotReminderMetadata _requestMessageKey. */
public _requestMessageKey?: "requestMessageKey";
/** BotReminderMetadata _action. */
public _action?: "action";
/** BotReminderMetadata _name. */
public _name?: "name";
/** BotReminderMetadata _nextTriggerTimestamp. */
public _nextTriggerTimestamp?: "nextTriggerTimestamp";
/** BotReminderMetadata _frequency. */
public _frequency?: "frequency";
/**
* Creates a new BotReminderMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotReminderMetadata instance
*/
public static create(properties?: E2E.IBotReminderMetadata): E2E.BotReminderMetadata;
/**
* Encodes the specified BotReminderMetadata message. Does not implicitly {@link E2E.BotReminderMetadata.verify|verify} messages.
* @param message BotReminderMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotReminderMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotReminderMetadata message, length delimited. Does not implicitly {@link E2E.BotReminderMetadata.verify|verify} messages.
* @param message BotReminderMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotReminderMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotReminderMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotReminderMetadata
* @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.BotReminderMetadata;
/**
* Decodes a BotReminderMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotReminderMetadata
* @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.BotReminderMetadata;
/**
* Verifies a BotReminderMetadata 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 BotReminderMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotReminderMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotReminderMetadata;
/**
* Creates a plain object from a BotReminderMetadata message. Also converts values to other types if specified.
* @param message BotReminderMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotReminderMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotReminderMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotReminderMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotReminderMetadata {
/** ReminderAction enum. */
enum ReminderAction {
NOTIFY = 1,
CREATE = 2,
DELETE = 3,
UPDATE = 4
}
/** ReminderFrequency enum. */
enum ReminderFrequency {
ONCE = 1,
DAILY = 2,
WEEKLY = 3,
BIWEEKLY = 4,
MONTHLY = 5
}
}
/** Properties of a BotMemuMetadata. */
interface IBotMemuMetadata {
/** BotMemuMetadata faceImages */
faceImages?: (E2E.IBotMediaMetadata[]|null);
}
/** Represents a BotMemuMetadata. */
class BotMemuMetadata implements IBotMemuMetadata {
/**
* Constructs a new BotMemuMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotMemuMetadata);
/** BotMemuMetadata faceImages. */
public faceImages: E2E.IBotMediaMetadata[];
/**
* Creates a new BotMemuMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotMemuMetadata instance
*/
public static create(properties?: E2E.IBotMemuMetadata): E2E.BotMemuMetadata;
/**
* Encodes the specified BotMemuMetadata message. Does not implicitly {@link E2E.BotMemuMetadata.verify|verify} messages.
* @param message BotMemuMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotMemuMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotMemuMetadata message, length delimited. Does not implicitly {@link E2E.BotMemuMetadata.verify|verify} messages.
* @param message BotMemuMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotMemuMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotMemuMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotMemuMetadata
* @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.BotMemuMetadata;
/**
* Decodes a BotMemuMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotMemuMetadata
* @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.BotMemuMetadata;
/**
* Verifies a BotMemuMetadata 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 BotMemuMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotMemuMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotMemuMetadata;
/**
* Creates a plain object from a BotMemuMetadata message. Also converts values to other types if specified.
* @param message BotMemuMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotMemuMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotMemuMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotMemuMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotMediaMetadata. */
interface IBotMediaMetadata {
/** BotMediaMetadata fileSha256 */
fileSha256?: (string|null);
/** BotMediaMetadata mediaKey */
mediaKey?: (string|null);
/** BotMediaMetadata fileEncSha256 */
fileEncSha256?: (string|null);
/** BotMediaMetadata directPath */
directPath?: (string|null);
/** BotMediaMetadata mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** BotMediaMetadata mimetype */
mimetype?: (string|null);
/** BotMediaMetadata orientationType */
orientationType?: (E2E.BotMediaMetadata.OrientationType|null);
}
/** Represents a BotMediaMetadata. */
class BotMediaMetadata implements IBotMediaMetadata {
/**
* Constructs a new BotMediaMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotMediaMetadata);
/** BotMediaMetadata fileSha256. */
public fileSha256?: (string|null);
/** BotMediaMetadata mediaKey. */
public mediaKey?: (string|null);
/** BotMediaMetadata fileEncSha256. */
public fileEncSha256?: (string|null);
/** BotMediaMetadata directPath. */
public directPath?: (string|null);
/** BotMediaMetadata mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** BotMediaMetadata mimetype. */
public mimetype?: (string|null);
/** BotMediaMetadata orientationType. */
public orientationType?: (E2E.BotMediaMetadata.OrientationType|null);
/** BotMediaMetadata _fileSha256. */
public _fileSha256?: "fileSha256";
/** BotMediaMetadata _mediaKey. */
public _mediaKey?: "mediaKey";
/** BotMediaMetadata _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** BotMediaMetadata _directPath. */
public _directPath?: "directPath";
/** BotMediaMetadata _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** BotMediaMetadata _mimetype. */
public _mimetype?: "mimetype";
/** BotMediaMetadata _orientationType. */
public _orientationType?: "orientationType";
/**
* Creates a new BotMediaMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotMediaMetadata instance
*/
public static create(properties?: E2E.IBotMediaMetadata): E2E.BotMediaMetadata;
/**
* Encodes the specified BotMediaMetadata message. Does not implicitly {@link E2E.BotMediaMetadata.verify|verify} messages.
* @param message BotMediaMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotMediaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotMediaMetadata message, length delimited. Does not implicitly {@link E2E.BotMediaMetadata.verify|verify} messages.
* @param message BotMediaMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotMediaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotMediaMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotMediaMetadata
* @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.BotMediaMetadata;
/**
* Decodes a BotMediaMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotMediaMetadata
* @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.BotMediaMetadata;
/**
* Verifies a BotMediaMetadata 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 BotMediaMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotMediaMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotMediaMetadata;
/**
* Creates a plain object from a BotMediaMetadata message. Also converts values to other types if specified.
* @param message BotMediaMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotMediaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotMediaMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotMediaMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotMediaMetadata {
/** OrientationType enum. */
enum OrientationType {
CENTER = 1,
LEFT = 2,
RIGHT = 3
}
}
/** Properties of a BotSessionMetadata. */
interface IBotSessionMetadata {
/** BotSessionMetadata sessionId */
sessionId?: (string|null);
/** BotSessionMetadata sessionSource */
sessionSource?: (E2E.BotSessionSource|null);
}
/** Represents a BotSessionMetadata. */
class BotSessionMetadata implements IBotSessionMetadata {
/**
* Constructs a new BotSessionMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotSessionMetadata);
/** BotSessionMetadata sessionId. */
public sessionId?: (string|null);
/** BotSessionMetadata sessionSource. */
public sessionSource?: (E2E.BotSessionSource|null);
/** BotSessionMetadata _sessionId. */
public _sessionId?: "sessionId";
/** BotSessionMetadata _sessionSource. */
public _sessionSource?: "sessionSource";
/**
* Creates a new BotSessionMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotSessionMetadata instance
*/
public static create(properties?: E2E.IBotSessionMetadata): E2E.BotSessionMetadata;
/**
* Encodes the specified BotSessionMetadata message. Does not implicitly {@link E2E.BotSessionMetadata.verify|verify} messages.
* @param message BotSessionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotSessionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotSessionMetadata message, length delimited. Does not implicitly {@link E2E.BotSessionMetadata.verify|verify} messages.
* @param message BotSessionMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotSessionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotSessionMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotSessionMetadata
* @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.BotSessionMetadata;
/**
* Decodes a BotSessionMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotSessionMetadata
* @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.BotSessionMetadata;
/**
* Verifies a BotSessionMetadata 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 BotSessionMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotSessionMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotSessionMetadata;
/**
* Creates a plain object from a BotSessionMetadata message. Also converts values to other types if specified.
* @param message BotSessionMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotSessionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotSessionMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotSessionMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotMetricsMetadata. */
interface IBotMetricsMetadata {
/** BotMetricsMetadata destinationId */
destinationId?: (string|null);
/** BotMetricsMetadata destinationEntryPoint */
destinationEntryPoint?: (E2E.BotMetricsEntryPoint|null);
/** BotMetricsMetadata threadOrigin */
threadOrigin?: (E2E.BotMetricsThreadEntryPoint|null);
}
/** Represents a BotMetricsMetadata. */
class BotMetricsMetadata implements IBotMetricsMetadata {
/**
* Constructs a new BotMetricsMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotMetricsMetadata);
/** BotMetricsMetadata destinationId. */
public destinationId?: (string|null);
/** BotMetricsMetadata destinationEntryPoint. */
public destinationEntryPoint?: (E2E.BotMetricsEntryPoint|null);
/** BotMetricsMetadata threadOrigin. */
public threadOrigin?: (E2E.BotMetricsThreadEntryPoint|null);
/** BotMetricsMetadata _destinationId. */
public _destinationId?: "destinationId";
/** BotMetricsMetadata _destinationEntryPoint. */
public _destinationEntryPoint?: "destinationEntryPoint";
/** BotMetricsMetadata _threadOrigin. */
public _threadOrigin?: "threadOrigin";
/**
* Creates a new BotMetricsMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotMetricsMetadata instance
*/
public static create(properties?: E2E.IBotMetricsMetadata): E2E.BotMetricsMetadata;
/**
* Encodes the specified BotMetricsMetadata message. Does not implicitly {@link E2E.BotMetricsMetadata.verify|verify} messages.
* @param message BotMetricsMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotMetricsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotMetricsMetadata message, length delimited. Does not implicitly {@link E2E.BotMetricsMetadata.verify|verify} messages.
* @param message BotMetricsMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotMetricsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotMetricsMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotMetricsMetadata
* @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.BotMetricsMetadata;
/**
* Decodes a BotMetricsMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotMetricsMetadata
* @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.BotMetricsMetadata;
/**
* Verifies a BotMetricsMetadata 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 BotMetricsMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotMetricsMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotMetricsMetadata;
/**
* Creates a plain object from a BotMetricsMetadata message. Also converts values to other types if specified.
* @param message BotMetricsMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotMetricsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotMetricsMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotMetricsMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotRenderingMetadata. */
interface IBotRenderingMetadata {
/** BotRenderingMetadata keywords */
keywords?: (E2E.BotRenderingMetadata.IKeyword[]|null);
}
/** Represents a BotRenderingMetadata. */
class BotRenderingMetadata implements IBotRenderingMetadata {
/**
* Constructs a new BotRenderingMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotRenderingMetadata);
/** BotRenderingMetadata keywords. */
public keywords: E2E.BotRenderingMetadata.IKeyword[];
/**
* Creates a new BotRenderingMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotRenderingMetadata instance
*/
public static create(properties?: E2E.IBotRenderingMetadata): E2E.BotRenderingMetadata;
/**
* Encodes the specified BotRenderingMetadata message. Does not implicitly {@link E2E.BotRenderingMetadata.verify|verify} messages.
* @param message BotRenderingMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotRenderingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotRenderingMetadata message, length delimited. Does not implicitly {@link E2E.BotRenderingMetadata.verify|verify} messages.
* @param message BotRenderingMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotRenderingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotRenderingMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotRenderingMetadata
* @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.BotRenderingMetadata;
/**
* Decodes a BotRenderingMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotRenderingMetadata
* @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.BotRenderingMetadata;
/**
* Verifies a BotRenderingMetadata 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 BotRenderingMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotRenderingMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotRenderingMetadata;
/**
* Creates a plain object from a BotRenderingMetadata message. Also converts values to other types if specified.
* @param message BotRenderingMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotRenderingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotRenderingMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotRenderingMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotRenderingMetadata {
/** Properties of a Keyword. */
interface IKeyword {
/** Keyword value */
value?: (string|null);
/** Keyword associatedPrompts */
associatedPrompts?: (string[]|null);
}
/** Represents a Keyword. */
class Keyword implements IKeyword {
/**
* Constructs a new Keyword.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.BotRenderingMetadata.IKeyword);
/** Keyword value. */
public value?: (string|null);
/** Keyword associatedPrompts. */
public associatedPrompts: string[];
/** Keyword _value. */
public _value?: "value";
/**
* Creates a new Keyword instance using the specified properties.
* @param [properties] Properties to set
* @returns Keyword instance
*/
public static create(properties?: E2E.BotRenderingMetadata.IKeyword): E2E.BotRenderingMetadata.Keyword;
/**
* Encodes the specified Keyword message. Does not implicitly {@link E2E.BotRenderingMetadata.Keyword.verify|verify} messages.
* @param message Keyword message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.BotRenderingMetadata.IKeyword, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Keyword message, length delimited. Does not implicitly {@link E2E.BotRenderingMetadata.Keyword.verify|verify} messages.
* @param message Keyword message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.BotRenderingMetadata.IKeyword, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Keyword message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Keyword
* @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.BotRenderingMetadata.Keyword;
/**
* Decodes a Keyword message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Keyword
* @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.BotRenderingMetadata.Keyword;
/**
* Verifies a Keyword 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 Keyword message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Keyword
*/
public static fromObject(object: { [k: string]: any }): E2E.BotRenderingMetadata.Keyword;
/**
* Creates a plain object from a Keyword message. Also converts values to other types if specified.
* @param message Keyword
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotRenderingMetadata.Keyword, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Keyword to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Keyword
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a BotPromotionMessageMetadata. */
interface IBotPromotionMessageMetadata {
/** BotPromotionMessageMetadata promotionType */
promotionType?: (E2E.BotPromotionMessageMetadata.BotPromotionType|null);
/** BotPromotionMessageMetadata buttonTitle */
buttonTitle?: (string|null);
}
/** Represents a BotPromotionMessageMetadata. */
class BotPromotionMessageMetadata implements IBotPromotionMessageMetadata {
/**
* Constructs a new BotPromotionMessageMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotPromotionMessageMetadata);
/** BotPromotionMessageMetadata promotionType. */
public promotionType?: (E2E.BotPromotionMessageMetadata.BotPromotionType|null);
/** BotPromotionMessageMetadata buttonTitle. */
public buttonTitle?: (string|null);
/** BotPromotionMessageMetadata _promotionType. */
public _promotionType?: "promotionType";
/** BotPromotionMessageMetadata _buttonTitle. */
public _buttonTitle?: "buttonTitle";
/**
* Creates a new BotPromotionMessageMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPromotionMessageMetadata instance
*/
public static create(properties?: E2E.IBotPromotionMessageMetadata): E2E.BotPromotionMessageMetadata;
/**
* Encodes the specified BotPromotionMessageMetadata message. Does not implicitly {@link E2E.BotPromotionMessageMetadata.verify|verify} messages.
* @param message BotPromotionMessageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotPromotionMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPromotionMessageMetadata message, length delimited. Does not implicitly {@link E2E.BotPromotionMessageMetadata.verify|verify} messages.
* @param message BotPromotionMessageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotPromotionMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPromotionMessageMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPromotionMessageMetadata
* @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.BotPromotionMessageMetadata;
/**
* Decodes a BotPromotionMessageMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPromotionMessageMetadata
* @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.BotPromotionMessageMetadata;
/**
* Verifies a BotPromotionMessageMetadata 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 BotPromotionMessageMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPromotionMessageMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotPromotionMessageMetadata;
/**
* Creates a plain object from a BotPromotionMessageMetadata message. Also converts values to other types if specified.
* @param message BotPromotionMessageMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotPromotionMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPromotionMessageMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPromotionMessageMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotPromotionMessageMetadata {
/** BotPromotionType enum. */
enum BotPromotionType {
UNKNOWN_TYPE = 0,
C50 = 1
}
}
/** Properties of a AIRichResponseMessage. */
interface IAIRichResponseMessage {
/** AIRichResponseMessage messageType */
messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
/** AIRichResponseMessage submessages */
submessages?: (E2E.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
/** AIRichResponseMessage unifiedResponse */
unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
/** AIRichResponseMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a AIRichResponseMessage. */
class AIRichResponseMessage implements IAIRichResponseMessage {
/**
* Constructs a new AIRichResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IAIRichResponseMessage);
/** AIRichResponseMessage messageType. */
public messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
/** AIRichResponseMessage submessages. */
public submessages: E2E.AIRichResponseMessage.IAIRichResponseSubMessage[];
/** AIRichResponseMessage unifiedResponse. */
public unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
/** AIRichResponseMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** AIRichResponseMessage _messageType. */
public _messageType?: "messageType";
/** AIRichResponseMessage _unifiedResponse. */
public _unifiedResponse?: "unifiedResponse";
/** AIRichResponseMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new AIRichResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseMessage instance
*/
public static create(properties?: E2E.IAIRichResponseMessage): E2E.AIRichResponseMessage;
/**
* Encodes the specified AIRichResponseMessage message. Does not implicitly {@link E2E.AIRichResponseMessage.verify|verify} messages.
* @param message AIRichResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseMessage message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.verify|verify} messages.
* @param message AIRichResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseMessage
* @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.AIRichResponseMessage;
/**
* Decodes a AIRichResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseMessage
* @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.AIRichResponseMessage;
/**
* Verifies a AIRichResponseMessage 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 AIRichResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage;
/**
* Creates a plain object from a AIRichResponseMessage message. Also converts values to other types if specified.
* @param message AIRichResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseMessage {
/** Properties of a AIRichResponseCodeMetadata. */
interface IAIRichResponseCodeMetadata {
/** AIRichResponseCodeMetadata codeLanguage */
codeLanguage?: (string|null);
/** AIRichResponseCodeMetadata codeBlocks */
codeBlocks?: (E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[]|null);
}
/** Represents a AIRichResponseCodeMetadata. */
class AIRichResponseCodeMetadata implements IAIRichResponseCodeMetadata {
/**
* Constructs a new AIRichResponseCodeMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseCodeMetadata);
/** AIRichResponseCodeMetadata codeLanguage. */
public codeLanguage?: (string|null);
/** AIRichResponseCodeMetadata codeBlocks. */
public codeBlocks: E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[];
/** AIRichResponseCodeMetadata _codeLanguage. */
public _codeLanguage?: "codeLanguage";
/**
* Creates a new AIRichResponseCodeMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseCodeMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseCodeMetadata): E2E.AIRichResponseMessage.AIRichResponseCodeMetadata;
/**
* Encodes the specified AIRichResponseCodeMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.verify|verify} messages.
* @param message AIRichResponseCodeMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseCodeMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.verify|verify} messages.
* @param message AIRichResponseCodeMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseCodeMetadata
* @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.AIRichResponseMessage.AIRichResponseCodeMetadata;
/**
* Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseCodeMetadata
* @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.AIRichResponseMessage.AIRichResponseCodeMetadata;
/**
* Verifies a AIRichResponseCodeMetadata 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 AIRichResponseCodeMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseCodeMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseCodeMetadata;
/**
* Creates a plain object from a AIRichResponseCodeMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseCodeMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseCodeMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseCodeMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseCodeMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseCodeMetadata {
/** Properties of a AIRichResponseCodeBlock. */
interface IAIRichResponseCodeBlock {
/** AIRichResponseCodeBlock highlightType */
highlightType?: (E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
/** AIRichResponseCodeBlock codeContent */
codeContent?: (string|null);
}
/** Represents a AIRichResponseCodeBlock. */
class AIRichResponseCodeBlock implements IAIRichResponseCodeBlock {
/**
* Constructs a new AIRichResponseCodeBlock.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock);
/** AIRichResponseCodeBlock highlightType. */
public highlightType?: (E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
/** AIRichResponseCodeBlock codeContent. */
public codeContent?: (string|null);
/** AIRichResponseCodeBlock _highlightType. */
public _highlightType?: "highlightType";
/** AIRichResponseCodeBlock _codeContent. */
public _codeContent?: "codeContent";
/**
* Creates a new AIRichResponseCodeBlock instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseCodeBlock instance
*/
public static create(properties?: E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock): E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
/**
* Encodes the specified AIRichResponseCodeBlock message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages.
* @param message AIRichResponseCodeBlock message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseCodeBlock message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages.
* @param message AIRichResponseCodeBlock message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseCodeBlock message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseCodeBlock
* @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.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
/**
* Decodes a AIRichResponseCodeBlock message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseCodeBlock
* @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.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
/**
* Verifies a AIRichResponseCodeBlock 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 AIRichResponseCodeBlock message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseCodeBlock
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
/**
* Creates a plain object from a AIRichResponseCodeBlock message. Also converts values to other types if specified.
* @param message AIRichResponseCodeBlock
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseCodeBlock to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseCodeBlock
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** AIRichResponseCodeHighlightType enum. */
enum AIRichResponseCodeHighlightType {
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0,
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1,
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2,
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3,
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4,
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5
}
}
/** Properties of a AIRichResponseContentItemsMetadata. */
interface IAIRichResponseContentItemsMetadata {
/** AIRichResponseContentItemsMetadata itemsMetadata */
itemsMetadata?: (E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[]|null);
/** AIRichResponseContentItemsMetadata contentType */
contentType?: (E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.ContentType|null);
}
/** Represents a AIRichResponseContentItemsMetadata. */
class AIRichResponseContentItemsMetadata implements IAIRichResponseContentItemsMetadata {
/**
* Constructs a new AIRichResponseContentItemsMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseContentItemsMetadata);
/** AIRichResponseContentItemsMetadata itemsMetadata. */
public itemsMetadata: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[];
/** AIRichResponseContentItemsMetadata contentType. */
public contentType?: (E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.ContentType|null);
/** AIRichResponseContentItemsMetadata _contentType. */
public _contentType?: "contentType";
/**
* Creates a new AIRichResponseContentItemsMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseContentItemsMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseContentItemsMetadata): E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata;
/**
* Encodes the specified AIRichResponseContentItemsMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.verify|verify} messages.
* @param message AIRichResponseContentItemsMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseContentItemsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseContentItemsMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.verify|verify} messages.
* @param message AIRichResponseContentItemsMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseContentItemsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseContentItemsMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseContentItemsMetadata
* @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.AIRichResponseMessage.AIRichResponseContentItemsMetadata;
/**
* Decodes a AIRichResponseContentItemsMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseContentItemsMetadata
* @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.AIRichResponseMessage.AIRichResponseContentItemsMetadata;
/**
* Verifies a AIRichResponseContentItemsMetadata 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 AIRichResponseContentItemsMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseContentItemsMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata;
/**
* Creates a plain object from a AIRichResponseContentItemsMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseContentItemsMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseContentItemsMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseContentItemsMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseContentItemsMetadata {
/** Properties of a AIRichResponseContentItemMetadata. */
interface IAIRichResponseContentItemMetadata {
/** AIRichResponseContentItemMetadata reelItem */
reelItem?: (E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
}
/** Represents a AIRichResponseContentItemMetadata. */
class AIRichResponseContentItemMetadata implements IAIRichResponseContentItemMetadata {
/**
* Constructs a new AIRichResponseContentItemMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata);
/** AIRichResponseContentItemMetadata reelItem. */
public reelItem?: (E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
/** AIRichResponseContentItemMetadata aIRichResponseContentItem. */
public aIRichResponseContentItem?: "reelItem";
/**
* Creates a new AIRichResponseContentItemMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseContentItemMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata): E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
/**
* Encodes the specified AIRichResponseContentItemMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata.verify|verify} messages.
* @param message AIRichResponseContentItemMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseContentItemMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata.verify|verify} messages.
* @param message AIRichResponseContentItemMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseContentItemMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseContentItemMetadata
* @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.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
/**
* Decodes a AIRichResponseContentItemMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseContentItemMetadata
* @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.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
/**
* Verifies a AIRichResponseContentItemMetadata 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 AIRichResponseContentItemMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseContentItemMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
/**
* Creates a plain object from a AIRichResponseContentItemMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseContentItemMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseContentItemMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseContentItemMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a AIRichResponseReelItem. */
interface IAIRichResponseReelItem {
/** AIRichResponseReelItem title */
title?: (string|null);
/** AIRichResponseReelItem profileIconUrl */
profileIconUrl?: (string|null);
/** AIRichResponseReelItem thumbnailUrl */
thumbnailUrl?: (string|null);
/** AIRichResponseReelItem videoUrl */
videoUrl?: (string|null);
}
/** Represents a AIRichResponseReelItem. */
class AIRichResponseReelItem implements IAIRichResponseReelItem {
/**
* Constructs a new AIRichResponseReelItem.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem);
/** AIRichResponseReelItem title. */
public title?: (string|null);
/** AIRichResponseReelItem profileIconUrl. */
public profileIconUrl?: (string|null);
/** AIRichResponseReelItem thumbnailUrl. */
public thumbnailUrl?: (string|null);
/** AIRichResponseReelItem videoUrl. */
public videoUrl?: (string|null);
/** AIRichResponseReelItem _title. */
public _title?: "title";
/** AIRichResponseReelItem _profileIconUrl. */
public _profileIconUrl?: "profileIconUrl";
/** AIRichResponseReelItem _thumbnailUrl. */
public _thumbnailUrl?: "thumbnailUrl";
/** AIRichResponseReelItem _videoUrl. */
public _videoUrl?: "videoUrl";
/**
* Creates a new AIRichResponseReelItem instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseReelItem instance
*/
public static create(properties?: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem): E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
/**
* Encodes the specified AIRichResponseReelItem message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem.verify|verify} messages.
* @param message AIRichResponseReelItem message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseReelItem message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem.verify|verify} messages.
* @param message AIRichResponseReelItem message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseReelItem message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseReelItem
* @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.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
/**
* Decodes a AIRichResponseReelItem message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseReelItem
* @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.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
/**
* Verifies a AIRichResponseReelItem 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 AIRichResponseReelItem message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseReelItem
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
/**
* Creates a plain object from a AIRichResponseReelItem message. Also converts values to other types if specified.
* @param message AIRichResponseReelItem
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseReelItem to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseReelItem
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** ContentType enum. */
enum ContentType {
DEFAULT = 0,
CAROUSEL = 1
}
}
/** Properties of a AIRichResponseDynamicMetadata. */
interface IAIRichResponseDynamicMetadata {
/** AIRichResponseDynamicMetadata type */
type?: (E2E.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
/** AIRichResponseDynamicMetadata version */
version?: (number|Long|null);
/** AIRichResponseDynamicMetadata url */
url?: (string|null);
/** AIRichResponseDynamicMetadata loopCount */
loopCount?: (number|null);
}
/** Represents a AIRichResponseDynamicMetadata. */
class AIRichResponseDynamicMetadata implements IAIRichResponseDynamicMetadata {
/**
* Constructs a new AIRichResponseDynamicMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseDynamicMetadata);
/** AIRichResponseDynamicMetadata type. */
public type?: (E2E.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
/** AIRichResponseDynamicMetadata version. */
public version?: (number|Long|null);
/** AIRichResponseDynamicMetadata url. */
public url?: (string|null);
/** AIRichResponseDynamicMetadata loopCount. */
public loopCount?: (number|null);
/** AIRichResponseDynamicMetadata _type. */
public _type?: "type";
/** AIRichResponseDynamicMetadata _version. */
public _version?: "version";
/** AIRichResponseDynamicMetadata _url. */
public _url?: "url";
/** AIRichResponseDynamicMetadata _loopCount. */
public _loopCount?: "loopCount";
/**
* Creates a new AIRichResponseDynamicMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseDynamicMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseDynamicMetadata): E2E.AIRichResponseMessage.AIRichResponseDynamicMetadata;
/**
* Encodes the specified AIRichResponseDynamicMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseDynamicMetadata.verify|verify} messages.
* @param message AIRichResponseDynamicMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseDynamicMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseDynamicMetadata.verify|verify} messages.
* @param message AIRichResponseDynamicMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseDynamicMetadata
* @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.AIRichResponseMessage.AIRichResponseDynamicMetadata;
/**
* Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseDynamicMetadata
* @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.AIRichResponseMessage.AIRichResponseDynamicMetadata;
/**
* Verifies a AIRichResponseDynamicMetadata 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 AIRichResponseDynamicMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseDynamicMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseDynamicMetadata;
/**
* Creates a plain object from a AIRichResponseDynamicMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseDynamicMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseDynamicMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseDynamicMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseDynamicMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseDynamicMetadata {
/** AIRichResponseDynamicMetadataType enum. */
enum AIRichResponseDynamicMetadataType {
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0,
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1,
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2
}
}
/** Properties of a AIRichResponseGridImageMetadata. */
interface IAIRichResponseGridImageMetadata {
/** AIRichResponseGridImageMetadata gridImageUrl */
gridImageUrl?: (E2E.AIRichResponseMessage.IAIRichResponseImageURL|null);
/** AIRichResponseGridImageMetadata imageUrls */
imageUrls?: (E2E.AIRichResponseMessage.IAIRichResponseImageURL[]|null);
}
/** Represents a AIRichResponseGridImageMetadata. */
class AIRichResponseGridImageMetadata implements IAIRichResponseGridImageMetadata {
/**
* Constructs a new AIRichResponseGridImageMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseGridImageMetadata);
/** AIRichResponseGridImageMetadata gridImageUrl. */
public gridImageUrl?: (E2E.AIRichResponseMessage.IAIRichResponseImageURL|null);
/** AIRichResponseGridImageMetadata imageUrls. */
public imageUrls: E2E.AIRichResponseMessage.IAIRichResponseImageURL[];
/** AIRichResponseGridImageMetadata _gridImageUrl. */
public _gridImageUrl?: "gridImageUrl";
/**
* Creates a new AIRichResponseGridImageMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseGridImageMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseGridImageMetadata): E2E.AIRichResponseMessage.AIRichResponseGridImageMetadata;
/**
* Encodes the specified AIRichResponseGridImageMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseGridImageMetadata.verify|verify} messages.
* @param message AIRichResponseGridImageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseGridImageMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseGridImageMetadata.verify|verify} messages.
* @param message AIRichResponseGridImageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseGridImageMetadata
* @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.AIRichResponseMessage.AIRichResponseGridImageMetadata;
/**
* Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseGridImageMetadata
* @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.AIRichResponseMessage.AIRichResponseGridImageMetadata;
/**
* Verifies a AIRichResponseGridImageMetadata 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 AIRichResponseGridImageMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseGridImageMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseGridImageMetadata;
/**
* Creates a plain object from a AIRichResponseGridImageMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseGridImageMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseGridImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseGridImageMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseGridImageMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a AIRichResponseImageURL. */
interface IAIRichResponseImageURL {
/** AIRichResponseImageURL imagePreviewUrl */
imagePreviewUrl?: (string|null);
/** AIRichResponseImageURL imageHighResUrl */
imageHighResUrl?: (string|null);
/** AIRichResponseImageURL sourceUrl */
sourceUrl?: (string|null);
}
/** Represents a AIRichResponseImageURL. */
class AIRichResponseImageURL implements IAIRichResponseImageURL {
/**
* Constructs a new AIRichResponseImageURL.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseImageURL);
/** AIRichResponseImageURL imagePreviewUrl. */
public imagePreviewUrl?: (string|null);
/** AIRichResponseImageURL imageHighResUrl. */
public imageHighResUrl?: (string|null);
/** AIRichResponseImageURL sourceUrl. */
public sourceUrl?: (string|null);
/** AIRichResponseImageURL _imagePreviewUrl. */
public _imagePreviewUrl?: "imagePreviewUrl";
/** AIRichResponseImageURL _imageHighResUrl. */
public _imageHighResUrl?: "imageHighResUrl";
/** AIRichResponseImageURL _sourceUrl. */
public _sourceUrl?: "sourceUrl";
/**
* Creates a new AIRichResponseImageURL instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseImageURL instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseImageURL): E2E.AIRichResponseMessage.AIRichResponseImageURL;
/**
* Encodes the specified AIRichResponseImageURL message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseImageURL.verify|verify} messages.
* @param message AIRichResponseImageURL message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseImageURL message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseImageURL.verify|verify} messages.
* @param message AIRichResponseImageURL message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseImageURL message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseImageURL
* @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.AIRichResponseMessage.AIRichResponseImageURL;
/**
* Decodes a AIRichResponseImageURL message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseImageURL
* @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.AIRichResponseMessage.AIRichResponseImageURL;
/**
* Verifies a AIRichResponseImageURL 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 AIRichResponseImageURL message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseImageURL
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseImageURL;
/**
* Creates a plain object from a AIRichResponseImageURL message. Also converts values to other types if specified.
* @param message AIRichResponseImageURL
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseImageURL, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseImageURL to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseImageURL
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a AIRichResponseInlineImageMetadata. */
interface IAIRichResponseInlineImageMetadata {
/** AIRichResponseInlineImageMetadata imageUrl */
imageUrl?: (E2E.AIRichResponseMessage.IAIRichResponseImageURL|null);
/** AIRichResponseInlineImageMetadata imageText */
imageText?: (string|null);
/** AIRichResponseInlineImageMetadata alignment */
alignment?: (E2E.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
/** AIRichResponseInlineImageMetadata tapLinkUrl */
tapLinkUrl?: (string|null);
}
/** Represents a AIRichResponseInlineImageMetadata. */
class AIRichResponseInlineImageMetadata implements IAIRichResponseInlineImageMetadata {
/**
* Constructs a new AIRichResponseInlineImageMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseInlineImageMetadata);
/** AIRichResponseInlineImageMetadata imageUrl. */
public imageUrl?: (E2E.AIRichResponseMessage.IAIRichResponseImageURL|null);
/** AIRichResponseInlineImageMetadata imageText. */
public imageText?: (string|null);
/** AIRichResponseInlineImageMetadata alignment. */
public alignment?: (E2E.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
/** AIRichResponseInlineImageMetadata tapLinkUrl. */
public tapLinkUrl?: (string|null);
/** AIRichResponseInlineImageMetadata _imageUrl. */
public _imageUrl?: "imageUrl";
/** AIRichResponseInlineImageMetadata _imageText. */
public _imageText?: "imageText";
/** AIRichResponseInlineImageMetadata _alignment. */
public _alignment?: "alignment";
/** AIRichResponseInlineImageMetadata _tapLinkUrl. */
public _tapLinkUrl?: "tapLinkUrl";
/**
* Creates a new AIRichResponseInlineImageMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseInlineImageMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseInlineImageMetadata): E2E.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
/**
* Encodes the specified AIRichResponseInlineImageMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseInlineImageMetadata.verify|verify} messages.
* @param message AIRichResponseInlineImageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseInlineImageMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseInlineImageMetadata.verify|verify} messages.
* @param message AIRichResponseInlineImageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseInlineImageMetadata
* @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.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
/**
* Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseInlineImageMetadata
* @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.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
/**
* Verifies a AIRichResponseInlineImageMetadata 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 AIRichResponseInlineImageMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseInlineImageMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
/**
* Creates a plain object from a AIRichResponseInlineImageMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseInlineImageMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseInlineImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseInlineImageMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseInlineImageMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseInlineImageMetadata {
/** AIRichResponseImageAlignment enum. */
enum AIRichResponseImageAlignment {
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0,
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1,
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2
}
}
/** Properties of a AIRichResponseLatexMetadata. */
interface IAIRichResponseLatexMetadata {
/** AIRichResponseLatexMetadata text */
text?: (string|null);
/** AIRichResponseLatexMetadata expressions */
expressions?: (E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[]|null);
}
/** Represents a AIRichResponseLatexMetadata. */
class AIRichResponseLatexMetadata implements IAIRichResponseLatexMetadata {
/**
* Constructs a new AIRichResponseLatexMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseLatexMetadata);
/** AIRichResponseLatexMetadata text. */
public text?: (string|null);
/** AIRichResponseLatexMetadata expressions. */
public expressions: E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[];
/** AIRichResponseLatexMetadata _text. */
public _text?: "text";
/**
* Creates a new AIRichResponseLatexMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseLatexMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseLatexMetadata): E2E.AIRichResponseMessage.AIRichResponseLatexMetadata;
/**
* Encodes the specified AIRichResponseLatexMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.verify|verify} messages.
* @param message AIRichResponseLatexMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseLatexMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseLatexMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.verify|verify} messages.
* @param message AIRichResponseLatexMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseLatexMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseLatexMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseLatexMetadata
* @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.AIRichResponseMessage.AIRichResponseLatexMetadata;
/**
* Decodes a AIRichResponseLatexMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseLatexMetadata
* @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.AIRichResponseMessage.AIRichResponseLatexMetadata;
/**
* Verifies a AIRichResponseLatexMetadata 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 AIRichResponseLatexMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseLatexMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseLatexMetadata;
/**
* Creates a plain object from a AIRichResponseLatexMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseLatexMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseLatexMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseLatexMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseLatexMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseLatexMetadata {
/** Properties of a AIRichResponseLatexExpression. */
interface IAIRichResponseLatexExpression {
/** AIRichResponseLatexExpression latexExpression */
latexExpression?: (string|null);
/** AIRichResponseLatexExpression url */
url?: (string|null);
/** AIRichResponseLatexExpression width */
width?: (number|null);
/** AIRichResponseLatexExpression height */
height?: (number|null);
/** AIRichResponseLatexExpression fontHeight */
fontHeight?: (number|null);
/** AIRichResponseLatexExpression imageTopPadding */
imageTopPadding?: (number|null);
/** AIRichResponseLatexExpression imageLeadingPadding */
imageLeadingPadding?: (number|null);
/** AIRichResponseLatexExpression imageBottomPadding */
imageBottomPadding?: (number|null);
/** AIRichResponseLatexExpression imageTrailingPadding */
imageTrailingPadding?: (number|null);
}
/** Represents a AIRichResponseLatexExpression. */
class AIRichResponseLatexExpression implements IAIRichResponseLatexExpression {
/**
* Constructs a new AIRichResponseLatexExpression.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression);
/** AIRichResponseLatexExpression latexExpression. */
public latexExpression?: (string|null);
/** AIRichResponseLatexExpression url. */
public url?: (string|null);
/** AIRichResponseLatexExpression width. */
public width?: (number|null);
/** AIRichResponseLatexExpression height. */
public height?: (number|null);
/** AIRichResponseLatexExpression fontHeight. */
public fontHeight?: (number|null);
/** AIRichResponseLatexExpression imageTopPadding. */
public imageTopPadding?: (number|null);
/** AIRichResponseLatexExpression imageLeadingPadding. */
public imageLeadingPadding?: (number|null);
/** AIRichResponseLatexExpression imageBottomPadding. */
public imageBottomPadding?: (number|null);
/** AIRichResponseLatexExpression imageTrailingPadding. */
public imageTrailingPadding?: (number|null);
/** AIRichResponseLatexExpression _latexExpression. */
public _latexExpression?: "latexExpression";
/** AIRichResponseLatexExpression _url. */
public _url?: "url";
/** AIRichResponseLatexExpression _width. */
public _width?: "width";
/** AIRichResponseLatexExpression _height. */
public _height?: "height";
/** AIRichResponseLatexExpression _fontHeight. */
public _fontHeight?: "fontHeight";
/** AIRichResponseLatexExpression _imageTopPadding. */
public _imageTopPadding?: "imageTopPadding";
/** AIRichResponseLatexExpression _imageLeadingPadding. */
public _imageLeadingPadding?: "imageLeadingPadding";
/** AIRichResponseLatexExpression _imageBottomPadding. */
public _imageBottomPadding?: "imageBottomPadding";
/** AIRichResponseLatexExpression _imageTrailingPadding. */
public _imageTrailingPadding?: "imageTrailingPadding";
/**
* Creates a new AIRichResponseLatexExpression instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseLatexExpression instance
*/
public static create(properties?: E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression): E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
/**
* Encodes the specified AIRichResponseLatexExpression message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression.verify|verify} messages.
* @param message AIRichResponseLatexExpression message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseLatexExpression message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression.verify|verify} messages.
* @param message AIRichResponseLatexExpression message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseLatexExpression message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseLatexExpression
* @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.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
/**
* Decodes a AIRichResponseLatexExpression message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseLatexExpression
* @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.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
/**
* Verifies a AIRichResponseLatexExpression 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 AIRichResponseLatexExpression message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseLatexExpression
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
/**
* Creates a plain object from a AIRichResponseLatexExpression message. Also converts values to other types if specified.
* @param message AIRichResponseLatexExpression
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseLatexExpression to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseLatexExpression
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a AIRichResponseMapMetadata. */
interface IAIRichResponseMapMetadata {
/** AIRichResponseMapMetadata centerLatitude */
centerLatitude?: (number|null);
/** AIRichResponseMapMetadata centerLongitude */
centerLongitude?: (number|null);
/** AIRichResponseMapMetadata latitudeDelta */
latitudeDelta?: (number|null);
/** AIRichResponseMapMetadata longitudeDelta */
longitudeDelta?: (number|null);
/** AIRichResponseMapMetadata annotations */
annotations?: (E2E.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[]|null);
/** AIRichResponseMapMetadata showInfoList */
showInfoList?: (boolean|null);
}
/** Represents a AIRichResponseMapMetadata. */
class AIRichResponseMapMetadata implements IAIRichResponseMapMetadata {
/**
* Constructs a new AIRichResponseMapMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseMapMetadata);
/** AIRichResponseMapMetadata centerLatitude. */
public centerLatitude?: (number|null);
/** AIRichResponseMapMetadata centerLongitude. */
public centerLongitude?: (number|null);
/** AIRichResponseMapMetadata latitudeDelta. */
public latitudeDelta?: (number|null);
/** AIRichResponseMapMetadata longitudeDelta. */
public longitudeDelta?: (number|null);
/** AIRichResponseMapMetadata annotations. */
public annotations: E2E.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[];
/** AIRichResponseMapMetadata showInfoList. */
public showInfoList?: (boolean|null);
/** AIRichResponseMapMetadata _centerLatitude. */
public _centerLatitude?: "centerLatitude";
/** AIRichResponseMapMetadata _centerLongitude. */
public _centerLongitude?: "centerLongitude";
/** AIRichResponseMapMetadata _latitudeDelta. */
public _latitudeDelta?: "latitudeDelta";
/** AIRichResponseMapMetadata _longitudeDelta. */
public _longitudeDelta?: "longitudeDelta";
/** AIRichResponseMapMetadata _showInfoList. */
public _showInfoList?: "showInfoList";
/**
* Creates a new AIRichResponseMapMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseMapMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseMapMetadata): E2E.AIRichResponseMessage.AIRichResponseMapMetadata;
/**
* Encodes the specified AIRichResponseMapMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseMapMetadata.verify|verify} messages.
* @param message AIRichResponseMapMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseMapMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseMapMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseMapMetadata.verify|verify} messages.
* @param message AIRichResponseMapMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseMapMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseMapMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseMapMetadata
* @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.AIRichResponseMessage.AIRichResponseMapMetadata;
/**
* Decodes a AIRichResponseMapMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseMapMetadata
* @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.AIRichResponseMessage.AIRichResponseMapMetadata;
/**
* Verifies a AIRichResponseMapMetadata 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 AIRichResponseMapMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseMapMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseMapMetadata;
/**
* Creates a plain object from a AIRichResponseMapMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseMapMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseMapMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseMapMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseMapMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseMapMetadata {
/** Properties of a AIRichResponseMapAnnotation. */
interface IAIRichResponseMapAnnotation {
/** AIRichResponseMapAnnotation annotationNumber */
annotationNumber?: (number|null);
/** AIRichResponseMapAnnotation latitude */
latitude?: (number|null);
/** AIRichResponseMapAnnotation longitude */
longitude?: (number|null);
/** AIRichResponseMapAnnotation title */
title?: (string|null);
/** AIRichResponseMapAnnotation body */
body?: (string|null);
}
/** Represents a AIRichResponseMapAnnotation. */
class AIRichResponseMapAnnotation implements IAIRichResponseMapAnnotation {
/**
* Constructs a new AIRichResponseMapAnnotation.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation);
/** AIRichResponseMapAnnotation annotationNumber. */
public annotationNumber?: (number|null);
/** AIRichResponseMapAnnotation latitude. */
public latitude?: (number|null);
/** AIRichResponseMapAnnotation longitude. */
public longitude?: (number|null);
/** AIRichResponseMapAnnotation title. */
public title?: (string|null);
/** AIRichResponseMapAnnotation body. */
public body?: (string|null);
/** AIRichResponseMapAnnotation _annotationNumber. */
public _annotationNumber?: "annotationNumber";
/** AIRichResponseMapAnnotation _latitude. */
public _latitude?: "latitude";
/** AIRichResponseMapAnnotation _longitude. */
public _longitude?: "longitude";
/** AIRichResponseMapAnnotation _title. */
public _title?: "title";
/** AIRichResponseMapAnnotation _body. */
public _body?: "body";
/**
* Creates a new AIRichResponseMapAnnotation instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseMapAnnotation instance
*/
public static create(properties?: E2E.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation): E2E.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
/**
* Encodes the specified AIRichResponseMapAnnotation message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation.verify|verify} messages.
* @param message AIRichResponseMapAnnotation message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseMapAnnotation message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation.verify|verify} messages.
* @param message AIRichResponseMapAnnotation message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseMapAnnotation message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseMapAnnotation
* @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.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
/**
* Decodes a AIRichResponseMapAnnotation message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseMapAnnotation
* @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.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
/**
* Verifies a AIRichResponseMapAnnotation 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 AIRichResponseMapAnnotation message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseMapAnnotation
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
/**
* Creates a plain object from a AIRichResponseMapAnnotation message. Also converts values to other types if specified.
* @param message AIRichResponseMapAnnotation
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseMapAnnotation to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseMapAnnotation
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** AIRichResponseMessageType enum. */
enum AIRichResponseMessageType {
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0,
AI_RICH_RESPONSE_TYPE_STANDARD = 1
}
/** Properties of a AIRichResponseSubMessage. */
interface IAIRichResponseSubMessage {
/** AIRichResponseSubMessage messageType */
messageType?: (E2E.AIRichResponseMessage.AIRichResponseSubMessageType|null);
/** AIRichResponseSubMessage gridImageMetadata */
gridImageMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
/** AIRichResponseSubMessage messageText */
messageText?: (string|null);
/** AIRichResponseSubMessage imageMetadata */
imageMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
/** AIRichResponseSubMessage codeMetadata */
codeMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
/** AIRichResponseSubMessage tableMetadata */
tableMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
/** AIRichResponseSubMessage dynamicMetadata */
dynamicMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
/** AIRichResponseSubMessage latexMetadata */
latexMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseLatexMetadata|null);
/** AIRichResponseSubMessage mapMetadata */
mapMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseMapMetadata|null);
/** AIRichResponseSubMessage contentItemsMetadata */
contentItemsMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseContentItemsMetadata|null);
}
/** Represents a AIRichResponseSubMessage. */
class AIRichResponseSubMessage implements IAIRichResponseSubMessage {
/**
* Constructs a new AIRichResponseSubMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseSubMessage);
/** AIRichResponseSubMessage messageType. */
public messageType?: (E2E.AIRichResponseMessage.AIRichResponseSubMessageType|null);
/** AIRichResponseSubMessage gridImageMetadata. */
public gridImageMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
/** AIRichResponseSubMessage messageText. */
public messageText?: (string|null);
/** AIRichResponseSubMessage imageMetadata. */
public imageMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
/** AIRichResponseSubMessage codeMetadata. */
public codeMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
/** AIRichResponseSubMessage tableMetadata. */
public tableMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
/** AIRichResponseSubMessage dynamicMetadata. */
public dynamicMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
/** AIRichResponseSubMessage latexMetadata. */
public latexMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseLatexMetadata|null);
/** AIRichResponseSubMessage mapMetadata. */
public mapMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseMapMetadata|null);
/** AIRichResponseSubMessage contentItemsMetadata. */
public contentItemsMetadata?: (E2E.AIRichResponseMessage.IAIRichResponseContentItemsMetadata|null);
/** AIRichResponseSubMessage _messageType. */
public _messageType?: "messageType";
/** AIRichResponseSubMessage _gridImageMetadata. */
public _gridImageMetadata?: "gridImageMetadata";
/** AIRichResponseSubMessage _messageText. */
public _messageText?: "messageText";
/** AIRichResponseSubMessage _imageMetadata. */
public _imageMetadata?: "imageMetadata";
/** AIRichResponseSubMessage _codeMetadata. */
public _codeMetadata?: "codeMetadata";
/** AIRichResponseSubMessage _tableMetadata. */
public _tableMetadata?: "tableMetadata";
/** AIRichResponseSubMessage _dynamicMetadata. */
public _dynamicMetadata?: "dynamicMetadata";
/** AIRichResponseSubMessage _latexMetadata. */
public _latexMetadata?: "latexMetadata";
/** AIRichResponseSubMessage _mapMetadata. */
public _mapMetadata?: "mapMetadata";
/** AIRichResponseSubMessage _contentItemsMetadata. */
public _contentItemsMetadata?: "contentItemsMetadata";
/**
* Creates a new AIRichResponseSubMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseSubMessage instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseSubMessage): E2E.AIRichResponseMessage.AIRichResponseSubMessage;
/**
* Encodes the specified AIRichResponseSubMessage message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseSubMessage.verify|verify} messages.
* @param message AIRichResponseSubMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseSubMessage message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseSubMessage.verify|verify} messages.
* @param message AIRichResponseSubMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseSubMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseSubMessage
* @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.AIRichResponseMessage.AIRichResponseSubMessage;
/**
* Decodes a AIRichResponseSubMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseSubMessage
* @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.AIRichResponseMessage.AIRichResponseSubMessage;
/**
* Verifies a AIRichResponseSubMessage 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 AIRichResponseSubMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseSubMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseSubMessage;
/**
* Creates a plain object from a AIRichResponseSubMessage message. Also converts values to other types if specified.
* @param message AIRichResponseSubMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseSubMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseSubMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseSubMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** AIRichResponseSubMessageType enum. */
enum AIRichResponseSubMessageType {
AI_RICH_RESPONSE_UNKNOWN = 0,
AI_RICH_RESPONSE_GRID_IMAGE = 1,
AI_RICH_RESPONSE_TEXT = 2,
AI_RICH_RESPONSE_INLINE_IMAGE = 3,
AI_RICH_RESPONSE_TABLE = 4,
AI_RICH_RESPONSE_CODE = 5,
AI_RICH_RESPONSE_DYNAMIC = 6,
AI_RICH_RESPONSE_MAP = 7,
AI_RICH_RESPONSE_LATEX = 8,
AI_RICH_RESPONSE_CONTENT_ITEMS = 9
}
/** Properties of a AIRichResponseTableMetadata. */
interface IAIRichResponseTableMetadata {
/** AIRichResponseTableMetadata rows */
rows?: (E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
/** AIRichResponseTableMetadata title */
title?: (string|null);
}
/** Represents a AIRichResponseTableMetadata. */
class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
/**
* Constructs a new AIRichResponseTableMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata);
/** AIRichResponseTableMetadata rows. */
public rows: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
/** AIRichResponseTableMetadata title. */
public title?: (string|null);
/** AIRichResponseTableMetadata _title. */
public _title?: "title";
/**
* Creates a new AIRichResponseTableMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseTableMetadata instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata): E2E.AIRichResponseMessage.AIRichResponseTableMetadata;
/**
* Encodes the specified AIRichResponseTableMetadata message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseTableMetadata.verify|verify} messages.
* @param message AIRichResponseTableMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseTableMetadata message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseTableMetadata.verify|verify} messages.
* @param message AIRichResponseTableMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseTableMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseTableMetadata
* @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.AIRichResponseMessage.AIRichResponseTableMetadata;
/**
* Decodes a AIRichResponseTableMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseTableMetadata
* @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.AIRichResponseMessage.AIRichResponseTableMetadata;
/**
* Verifies a AIRichResponseTableMetadata 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 AIRichResponseTableMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseTableMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseTableMetadata;
/**
* Creates a plain object from a AIRichResponseTableMetadata message. Also converts values to other types if specified.
* @param message AIRichResponseTableMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseTableMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseTableMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseTableMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseTableMetadata {
/** Properties of a AIRichResponseTableRow. */
interface IAIRichResponseTableRow {
/** AIRichResponseTableRow items */
items?: (string[]|null);
/** AIRichResponseTableRow isHeading */
isHeading?: (boolean|null);
}
/** Represents a AIRichResponseTableRow. */
class AIRichResponseTableRow implements IAIRichResponseTableRow {
/**
* Constructs a new AIRichResponseTableRow.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow);
/** AIRichResponseTableRow items. */
public items: string[];
/** AIRichResponseTableRow isHeading. */
public isHeading?: (boolean|null);
/** AIRichResponseTableRow _isHeading. */
public _isHeading?: "isHeading";
/**
* Creates a new AIRichResponseTableRow instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseTableRow instance
*/
public static create(properties?: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow): E2E.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
/**
* Encodes the specified AIRichResponseTableRow message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages.
* @param message AIRichResponseTableRow message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseTableRow message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages.
* @param message AIRichResponseTableRow message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseTableRow message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseTableRow
* @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.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
/**
* Decodes a AIRichResponseTableRow message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseTableRow
* @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.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
/**
* Verifies a AIRichResponseTableRow 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 AIRichResponseTableRow message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseTableRow
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
/**
* Creates a plain object from a AIRichResponseTableRow message. Also converts values to other types if specified.
* @param message AIRichResponseTableRow
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseTableRow to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseTableRow
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a AIRichResponseUnifiedResponse. */
interface IAIRichResponseUnifiedResponse {
/** AIRichResponseUnifiedResponse data */
data?: (Uint8Array|null);
}
/** Represents a AIRichResponseUnifiedResponse. */
class AIRichResponseUnifiedResponse implements IAIRichResponseUnifiedResponse {
/**
* Constructs a new AIRichResponseUnifiedResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse);
/** AIRichResponseUnifiedResponse data. */
public data?: (Uint8Array|null);
/** AIRichResponseUnifiedResponse _data. */
public _data?: "data";
/**
* Creates a new AIRichResponseUnifiedResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns AIRichResponseUnifiedResponse instance
*/
public static create(properties?: E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse): E2E.AIRichResponseMessage.AIRichResponseUnifiedResponse;
/**
* Encodes the specified AIRichResponseUnifiedResponse message. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseUnifiedResponse.verify|verify} messages.
* @param message AIRichResponseUnifiedResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AIRichResponseUnifiedResponse message, length delimited. Does not implicitly {@link E2E.AIRichResponseMessage.AIRichResponseUnifiedResponse.verify|verify} messages.
* @param message AIRichResponseUnifiedResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AIRichResponseUnifiedResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AIRichResponseUnifiedResponse
* @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.AIRichResponseMessage.AIRichResponseUnifiedResponse;
/**
* Decodes a AIRichResponseUnifiedResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AIRichResponseUnifiedResponse
* @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.AIRichResponseMessage.AIRichResponseUnifiedResponse;
/**
* Verifies a AIRichResponseUnifiedResponse 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 AIRichResponseUnifiedResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AIRichResponseUnifiedResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.AIRichResponseMessage.AIRichResponseUnifiedResponse;
/**
* Creates a plain object from a AIRichResponseUnifiedResponse message. Also converts values to other types if specified.
* @param message AIRichResponseUnifiedResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.AIRichResponseMessage.AIRichResponseUnifiedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AIRichResponseUnifiedResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AIRichResponseUnifiedResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a BotSignatureVerificationUseCaseProof. */
interface IBotSignatureVerificationUseCaseProof {
/** BotSignatureVerificationUseCaseProof version */
version?: (number|null);
/** BotSignatureVerificationUseCaseProof useCase */
useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
/** BotSignatureVerificationUseCaseProof signature */
signature?: (Uint8Array|null);
/** BotSignatureVerificationUseCaseProof certificateChain */
certificateChain?: (Uint8Array|null);
}
/** Represents a BotSignatureVerificationUseCaseProof. */
class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof {
/**
* Constructs a new BotSignatureVerificationUseCaseProof.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotSignatureVerificationUseCaseProof);
/** BotSignatureVerificationUseCaseProof version. */
public version?: (number|null);
/** BotSignatureVerificationUseCaseProof useCase. */
public useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
/** BotSignatureVerificationUseCaseProof signature. */
public signature?: (Uint8Array|null);
/** BotSignatureVerificationUseCaseProof certificateChain. */
public certificateChain?: (Uint8Array|null);
/** BotSignatureVerificationUseCaseProof _version. */
public _version?: "version";
/** BotSignatureVerificationUseCaseProof _useCase. */
public _useCase?: "useCase";
/** BotSignatureVerificationUseCaseProof _signature. */
public _signature?: "signature";
/** BotSignatureVerificationUseCaseProof _certificateChain. */
public _certificateChain?: "certificateChain";
/**
* Creates a new BotSignatureVerificationUseCaseProof instance using the specified properties.
* @param [properties] Properties to set
* @returns BotSignatureVerificationUseCaseProof instance
*/
public static create(properties?: E2E.IBotSignatureVerificationUseCaseProof): E2E.BotSignatureVerificationUseCaseProof;
/**
* Encodes the specified BotSignatureVerificationUseCaseProof message. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
* @param message BotSignatureVerificationUseCaseProof message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotSignatureVerificationUseCaseProof message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
* @param message BotSignatureVerificationUseCaseProof message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotSignatureVerificationUseCaseProof
* @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.BotSignatureVerificationUseCaseProof;
/**
* Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotSignatureVerificationUseCaseProof
* @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.BotSignatureVerificationUseCaseProof;
/**
* Verifies a BotSignatureVerificationUseCaseProof 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 BotSignatureVerificationUseCaseProof message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotSignatureVerificationUseCaseProof
*/
public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationUseCaseProof;
/**
* Creates a plain object from a BotSignatureVerificationUseCaseProof message. Also converts values to other types if specified.
* @param message BotSignatureVerificationUseCaseProof
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotSignatureVerificationUseCaseProof, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotSignatureVerificationUseCaseProof to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotSignatureVerificationUseCaseProof
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotSignatureVerificationUseCaseProof {
/** BotSignatureUseCase enum. */
enum BotSignatureUseCase {
WA_BOT_MSG = 0
}
}
/** Properties of a BotSignatureVerificationMetadata. */
interface IBotSignatureVerificationMetadata {
/** BotSignatureVerificationMetadata proofs */
proofs?: (E2E.IBotSignatureVerificationUseCaseProof[]|null);
}
/** Represents a BotSignatureVerificationMetadata. */
class BotSignatureVerificationMetadata implements IBotSignatureVerificationMetadata {
/**
* Constructs a new BotSignatureVerificationMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotSignatureVerificationMetadata);
/** BotSignatureVerificationMetadata proofs. */
public proofs: E2E.IBotSignatureVerificationUseCaseProof[];
/**
* Creates a new BotSignatureVerificationMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotSignatureVerificationMetadata instance
*/
public static create(properties?: E2E.IBotSignatureVerificationMetadata): E2E.BotSignatureVerificationMetadata;
/**
* Encodes the specified BotSignatureVerificationMetadata message. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
* @param message BotSignatureVerificationMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotSignatureVerificationMetadata message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
* @param message BotSignatureVerificationMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotSignatureVerificationMetadata
* @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.BotSignatureVerificationMetadata;
/**
* Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotSignatureVerificationMetadata
* @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.BotSignatureVerificationMetadata;
/**
* Verifies a BotSignatureVerificationMetadata 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 BotSignatureVerificationMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotSignatureVerificationMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationMetadata;
/**
* Creates a plain object from a BotSignatureVerificationMetadata message. Also converts values to other types if specified.
* @param message BotSignatureVerificationMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotSignatureVerificationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotSignatureVerificationMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotSignatureVerificationMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotMemoryFact. */
interface IBotMemoryFact {
/** BotMemoryFact fact */
fact?: (string|null);
/** BotMemoryFact factId */
factId?: (string|null);
}
/** Represents a BotMemoryFact. */
class BotMemoryFact implements IBotMemoryFact {
/**
* Constructs a new BotMemoryFact.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotMemoryFact);
/** BotMemoryFact fact. */
public fact?: (string|null);
/** BotMemoryFact factId. */
public factId?: (string|null);
/** BotMemoryFact _fact. */
public _fact?: "fact";
/** BotMemoryFact _factId. */
public _factId?: "factId";
/**
* Creates a new BotMemoryFact instance using the specified properties.
* @param [properties] Properties to set
* @returns BotMemoryFact instance
*/
public static create(properties?: E2E.IBotMemoryFact): E2E.BotMemoryFact;
/**
* Encodes the specified BotMemoryFact message. Does not implicitly {@link E2E.BotMemoryFact.verify|verify} messages.
* @param message BotMemoryFact message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotMemoryFact, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotMemoryFact message, length delimited. Does not implicitly {@link E2E.BotMemoryFact.verify|verify} messages.
* @param message BotMemoryFact message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotMemoryFact, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotMemoryFact message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotMemoryFact
* @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.BotMemoryFact;
/**
* Decodes a BotMemoryFact message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotMemoryFact
* @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.BotMemoryFact;
/**
* Verifies a BotMemoryFact 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 BotMemoryFact message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotMemoryFact
*/
public static fromObject(object: { [k: string]: any }): E2E.BotMemoryFact;
/**
* Creates a plain object from a BotMemoryFact message. Also converts values to other types if specified.
* @param message BotMemoryFact
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotMemoryFact, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotMemoryFact to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotMemoryFact
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotMemoryMetadata. */
interface IBotMemoryMetadata {
/** BotMemoryMetadata addedFacts */
addedFacts?: (E2E.IBotMemoryFact[]|null);
/** BotMemoryMetadata removedFacts */
removedFacts?: (E2E.IBotMemoryFact[]|null);
/** BotMemoryMetadata disclaimer */
disclaimer?: (string|null);
}
/** Represents a BotMemoryMetadata. */
class BotMemoryMetadata implements IBotMemoryMetadata {
/**
* Constructs a new BotMemoryMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotMemoryMetadata);
/** BotMemoryMetadata addedFacts. */
public addedFacts: E2E.IBotMemoryFact[];
/** BotMemoryMetadata removedFacts. */
public removedFacts: E2E.IBotMemoryFact[];
/** BotMemoryMetadata disclaimer. */
public disclaimer?: (string|null);
/** BotMemoryMetadata _disclaimer. */
public _disclaimer?: "disclaimer";
/**
* Creates a new BotMemoryMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotMemoryMetadata instance
*/
public static create(properties?: E2E.IBotMemoryMetadata): E2E.BotMemoryMetadata;
/**
* Encodes the specified BotMemoryMetadata message. Does not implicitly {@link E2E.BotMemoryMetadata.verify|verify} messages.
* @param message BotMemoryMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotMemoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotMemoryMetadata message, length delimited. Does not implicitly {@link E2E.BotMemoryMetadata.verify|verify} messages.
* @param message BotMemoryMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotMemoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotMemoryMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotMemoryMetadata
* @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.BotMemoryMetadata;
/**
* Decodes a BotMemoryMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotMemoryMetadata
* @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.BotMemoryMetadata;
/**
* Verifies a BotMemoryMetadata 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 BotMemoryMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotMemoryMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotMemoryMetadata;
/**
* Creates a plain object from a BotMemoryMetadata message. Also converts values to other types if specified.
* @param message BotMemoryMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotMemoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotMemoryMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotMemoryMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotLinkedAccount. */
interface IBotLinkedAccount {
/** BotLinkedAccount type */
type?: (E2E.BotLinkedAccount.BotLinkedAccountType|null);
}
/** Represents a BotLinkedAccount. */
class BotLinkedAccount implements IBotLinkedAccount {
/**
* Constructs a new BotLinkedAccount.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotLinkedAccount);
/** BotLinkedAccount type. */
public type?: (E2E.BotLinkedAccount.BotLinkedAccountType|null);
/** BotLinkedAccount _type. */
public _type?: "type";
/**
* Creates a new BotLinkedAccount instance using the specified properties.
* @param [properties] Properties to set
* @returns BotLinkedAccount instance
*/
public static create(properties?: E2E.IBotLinkedAccount): E2E.BotLinkedAccount;
/**
* Encodes the specified BotLinkedAccount message. Does not implicitly {@link E2E.BotLinkedAccount.verify|verify} messages.
* @param message BotLinkedAccount message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotLinkedAccount, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotLinkedAccount message, length delimited. Does not implicitly {@link E2E.BotLinkedAccount.verify|verify} messages.
* @param message BotLinkedAccount message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotLinkedAccount, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotLinkedAccount message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotLinkedAccount
* @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.BotLinkedAccount;
/**
* Decodes a BotLinkedAccount message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotLinkedAccount
* @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.BotLinkedAccount;
/**
* Verifies a BotLinkedAccount 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 BotLinkedAccount message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotLinkedAccount
*/
public static fromObject(object: { [k: string]: any }): E2E.BotLinkedAccount;
/**
* Creates a plain object from a BotLinkedAccount message. Also converts values to other types if specified.
* @param message BotLinkedAccount
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotLinkedAccount, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotLinkedAccount to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotLinkedAccount
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotLinkedAccount {
/** BotLinkedAccountType enum. */
enum BotLinkedAccountType {
BOT_LINKED_ACCOUNT_TYPE_1P = 0
}
}
/** Properties of a BotLinkedAccountsMetadata. */
interface IBotLinkedAccountsMetadata {
/** BotLinkedAccountsMetadata accounts */
accounts?: (E2E.IBotLinkedAccount[]|null);
/** BotLinkedAccountsMetadata acAuthTokens */
acAuthTokens?: (Uint8Array|null);
/** BotLinkedAccountsMetadata acErrorCode */
acErrorCode?: (number|null);
}
/** Represents a BotLinkedAccountsMetadata. */
class BotLinkedAccountsMetadata implements IBotLinkedAccountsMetadata {
/**
* Constructs a new BotLinkedAccountsMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotLinkedAccountsMetadata);
/** BotLinkedAccountsMetadata accounts. */
public accounts: E2E.IBotLinkedAccount[];
/** BotLinkedAccountsMetadata acAuthTokens. */
public acAuthTokens?: (Uint8Array|null);
/** BotLinkedAccountsMetadata acErrorCode. */
public acErrorCode?: (number|null);
/** BotLinkedAccountsMetadata _acAuthTokens. */
public _acAuthTokens?: "acAuthTokens";
/** BotLinkedAccountsMetadata _acErrorCode. */
public _acErrorCode?: "acErrorCode";
/**
* Creates a new BotLinkedAccountsMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotLinkedAccountsMetadata instance
*/
public static create(properties?: E2E.IBotLinkedAccountsMetadata): E2E.BotLinkedAccountsMetadata;
/**
* Encodes the specified BotLinkedAccountsMetadata message. Does not implicitly {@link E2E.BotLinkedAccountsMetadata.verify|verify} messages.
* @param message BotLinkedAccountsMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotLinkedAccountsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotLinkedAccountsMetadata message, length delimited. Does not implicitly {@link E2E.BotLinkedAccountsMetadata.verify|verify} messages.
* @param message BotLinkedAccountsMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotLinkedAccountsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotLinkedAccountsMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotLinkedAccountsMetadata
* @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.BotLinkedAccountsMetadata;
/**
* Decodes a BotLinkedAccountsMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotLinkedAccountsMetadata
* @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.BotLinkedAccountsMetadata;
/**
* Verifies a BotLinkedAccountsMetadata 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 BotLinkedAccountsMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotLinkedAccountsMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotLinkedAccountsMetadata;
/**
* Creates a plain object from a BotLinkedAccountsMetadata message. Also converts values to other types if specified.
* @param message BotLinkedAccountsMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotLinkedAccountsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotLinkedAccountsMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotLinkedAccountsMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotPromptSuggestion. */
interface IBotPromptSuggestion {
/** BotPromptSuggestion prompt */
prompt?: (string|null);
/** BotPromptSuggestion promptId */
promptId?: (string|null);
}
/** Represents a BotPromptSuggestion. */
class BotPromptSuggestion implements IBotPromptSuggestion {
/**
* Constructs a new BotPromptSuggestion.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotPromptSuggestion);
/** BotPromptSuggestion prompt. */
public prompt?: (string|null);
/** BotPromptSuggestion promptId. */
public promptId?: (string|null);
/** BotPromptSuggestion _prompt. */
public _prompt?: "prompt";
/** BotPromptSuggestion _promptId. */
public _promptId?: "promptId";
/**
* Creates a new BotPromptSuggestion instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPromptSuggestion instance
*/
public static create(properties?: E2E.IBotPromptSuggestion): E2E.BotPromptSuggestion;
/**
* Encodes the specified BotPromptSuggestion message. Does not implicitly {@link E2E.BotPromptSuggestion.verify|verify} messages.
* @param message BotPromptSuggestion message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotPromptSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPromptSuggestion message, length delimited. Does not implicitly {@link E2E.BotPromptSuggestion.verify|verify} messages.
* @param message BotPromptSuggestion message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotPromptSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPromptSuggestion message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPromptSuggestion
* @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.BotPromptSuggestion;
/**
* Decodes a BotPromptSuggestion message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPromptSuggestion
* @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.BotPromptSuggestion;
/**
* Verifies a BotPromptSuggestion 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 BotPromptSuggestion message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPromptSuggestion
*/
public static fromObject(object: { [k: string]: any }): E2E.BotPromptSuggestion;
/**
* Creates a plain object from a BotPromptSuggestion message. Also converts values to other types if specified.
* @param message BotPromptSuggestion
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotPromptSuggestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPromptSuggestion to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPromptSuggestion
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotPromptSuggestions. */
interface IBotPromptSuggestions {
/** BotPromptSuggestions suggestions */
suggestions?: (E2E.IBotPromptSuggestion[]|null);
}
/** Represents a BotPromptSuggestions. */
class BotPromptSuggestions implements IBotPromptSuggestions {
/**
* Constructs a new BotPromptSuggestions.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotPromptSuggestions);
/** BotPromptSuggestions suggestions. */
public suggestions: E2E.IBotPromptSuggestion[];
/**
* Creates a new BotPromptSuggestions instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPromptSuggestions instance
*/
public static create(properties?: E2E.IBotPromptSuggestions): E2E.BotPromptSuggestions;
/**
* Encodes the specified BotPromptSuggestions message. Does not implicitly {@link E2E.BotPromptSuggestions.verify|verify} messages.
* @param message BotPromptSuggestions message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotPromptSuggestions, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPromptSuggestions message, length delimited. Does not implicitly {@link E2E.BotPromptSuggestions.verify|verify} messages.
* @param message BotPromptSuggestions message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotPromptSuggestions, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPromptSuggestions message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPromptSuggestions
* @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.BotPromptSuggestions;
/**
* Decodes a BotPromptSuggestions message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPromptSuggestions
* @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.BotPromptSuggestions;
/**
* Verifies a BotPromptSuggestions 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 BotPromptSuggestions message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPromptSuggestions
*/
public static fromObject(object: { [k: string]: any }): E2E.BotPromptSuggestions;
/**
* Creates a plain object from a BotPromptSuggestions message. Also converts values to other types if specified.
* @param message BotPromptSuggestions
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotPromptSuggestions, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPromptSuggestions to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPromptSuggestions
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotSuggestedPromptMetadata. */
interface IBotSuggestedPromptMetadata {
/** BotSuggestedPromptMetadata suggestedPrompts */
suggestedPrompts?: (string[]|null);
/** BotSuggestedPromptMetadata selectedPromptIndex */
selectedPromptIndex?: (number|null);
/** BotSuggestedPromptMetadata promptSuggestions */
promptSuggestions?: (E2E.IBotPromptSuggestions|null);
/** BotSuggestedPromptMetadata selectedPromptId */
selectedPromptId?: (string|null);
}
/** Represents a BotSuggestedPromptMetadata. */
class BotSuggestedPromptMetadata implements IBotSuggestedPromptMetadata {
/**
* Constructs a new BotSuggestedPromptMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotSuggestedPromptMetadata);
/** BotSuggestedPromptMetadata suggestedPrompts. */
public suggestedPrompts: string[];
/** BotSuggestedPromptMetadata selectedPromptIndex. */
public selectedPromptIndex?: (number|null);
/** BotSuggestedPromptMetadata promptSuggestions. */
public promptSuggestions?: (E2E.IBotPromptSuggestions|null);
/** BotSuggestedPromptMetadata selectedPromptId. */
public selectedPromptId?: (string|null);
/** BotSuggestedPromptMetadata _selectedPromptIndex. */
public _selectedPromptIndex?: "selectedPromptIndex";
/** BotSuggestedPromptMetadata _promptSuggestions. */
public _promptSuggestions?: "promptSuggestions";
/** BotSuggestedPromptMetadata _selectedPromptId. */
public _selectedPromptId?: "selectedPromptId";
/**
* Creates a new BotSuggestedPromptMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotSuggestedPromptMetadata instance
*/
public static create(properties?: E2E.IBotSuggestedPromptMetadata): E2E.BotSuggestedPromptMetadata;
/**
* Encodes the specified BotSuggestedPromptMetadata message. Does not implicitly {@link E2E.BotSuggestedPromptMetadata.verify|verify} messages.
* @param message BotSuggestedPromptMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotSuggestedPromptMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotSuggestedPromptMetadata message, length delimited. Does not implicitly {@link E2E.BotSuggestedPromptMetadata.verify|verify} messages.
* @param message BotSuggestedPromptMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotSuggestedPromptMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotSuggestedPromptMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotSuggestedPromptMetadata
* @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.BotSuggestedPromptMetadata;
/**
* Decodes a BotSuggestedPromptMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotSuggestedPromptMetadata
* @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.BotSuggestedPromptMetadata;
/**
* Verifies a BotSuggestedPromptMetadata 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 BotSuggestedPromptMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotSuggestedPromptMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotSuggestedPromptMetadata;
/**
* Creates a plain object from a BotSuggestedPromptMetadata message. Also converts values to other types if specified.
* @param message BotSuggestedPromptMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotSuggestedPromptMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotSuggestedPromptMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotSuggestedPromptMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BotPluginMetadata. */
interface IBotPluginMetadata {
/** BotPluginMetadata provider */
provider?: (E2E.BotPluginMetadata.SearchProvider|null);
/** BotPluginMetadata pluginType */
pluginType?: (E2E.BotPluginMetadata.PluginType|null);
/** BotPluginMetadata thumbnailCdnUrl */
thumbnailCdnUrl?: (string|null);
/** BotPluginMetadata profilePhotoCdnUrl */
profilePhotoCdnUrl?: (string|null);
/** BotPluginMetadata searchProviderUrl */
searchProviderUrl?: (string|null);
/** BotPluginMetadata referenceIndex */
referenceIndex?: (number|null);
/** BotPluginMetadata expectedLinksCount */
expectedLinksCount?: (number|null);
/** BotPluginMetadata searchQuery */
searchQuery?: (string|null);
/** BotPluginMetadata parentPluginMessageKey */
parentPluginMessageKey?: (Protocol.IMessageKey|null);
/** BotPluginMetadata deprecatedField */
deprecatedField?: (E2E.BotPluginMetadata.PluginType|null);
/** BotPluginMetadata parentPluginType */
parentPluginType?: (E2E.BotPluginMetadata.PluginType|null);
/** BotPluginMetadata faviconCdnUrl */
faviconCdnUrl?: (string|null);
}
/** Represents a BotPluginMetadata. */
class BotPluginMetadata implements IBotPluginMetadata {
/**
* Constructs a new BotPluginMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotPluginMetadata);
/** BotPluginMetadata provider. */
public provider?: (E2E.BotPluginMetadata.SearchProvider|null);
/** BotPluginMetadata pluginType. */
public pluginType?: (E2E.BotPluginMetadata.PluginType|null);
/** BotPluginMetadata thumbnailCdnUrl. */
public thumbnailCdnUrl?: (string|null);
/** BotPluginMetadata profilePhotoCdnUrl. */
public profilePhotoCdnUrl?: (string|null);
/** BotPluginMetadata searchProviderUrl. */
public searchProviderUrl?: (string|null);
/** BotPluginMetadata referenceIndex. */
public referenceIndex?: (number|null);
/** BotPluginMetadata expectedLinksCount. */
public expectedLinksCount?: (number|null);
/** BotPluginMetadata searchQuery. */
public searchQuery?: (string|null);
/** BotPluginMetadata parentPluginMessageKey. */
public parentPluginMessageKey?: (Protocol.IMessageKey|null);
/** BotPluginMetadata deprecatedField. */
public deprecatedField?: (E2E.BotPluginMetadata.PluginType|null);
/** BotPluginMetadata parentPluginType. */
public parentPluginType?: (E2E.BotPluginMetadata.PluginType|null);
/** BotPluginMetadata faviconCdnUrl. */
public faviconCdnUrl?: (string|null);
/** BotPluginMetadata _provider. */
public _provider?: "provider";
/** BotPluginMetadata _pluginType. */
public _pluginType?: "pluginType";
/** BotPluginMetadata _thumbnailCdnUrl. */
public _thumbnailCdnUrl?: "thumbnailCdnUrl";
/** BotPluginMetadata _profilePhotoCdnUrl. */
public _profilePhotoCdnUrl?: "profilePhotoCdnUrl";
/** BotPluginMetadata _searchProviderUrl. */
public _searchProviderUrl?: "searchProviderUrl";
/** BotPluginMetadata _referenceIndex. */
public _referenceIndex?: "referenceIndex";
/** BotPluginMetadata _expectedLinksCount. */
public _expectedLinksCount?: "expectedLinksCount";
/** BotPluginMetadata _searchQuery. */
public _searchQuery?: "searchQuery";
/** BotPluginMetadata _parentPluginMessageKey. */
public _parentPluginMessageKey?: "parentPluginMessageKey";
/** BotPluginMetadata _deprecatedField. */
public _deprecatedField?: "deprecatedField";
/** BotPluginMetadata _parentPluginType. */
public _parentPluginType?: "parentPluginType";
/** BotPluginMetadata _faviconCdnUrl. */
public _faviconCdnUrl?: "faviconCdnUrl";
/**
* Creates a new BotPluginMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotPluginMetadata instance
*/
public static create(properties?: E2E.IBotPluginMetadata): E2E.BotPluginMetadata;
/**
* Encodes the specified BotPluginMetadata message. Does not implicitly {@link E2E.BotPluginMetadata.verify|verify} messages.
* @param message BotPluginMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotPluginMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotPluginMetadata message, length delimited. Does not implicitly {@link E2E.BotPluginMetadata.verify|verify} messages.
* @param message BotPluginMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotPluginMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotPluginMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotPluginMetadata
* @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.BotPluginMetadata;
/**
* Decodes a BotPluginMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotPluginMetadata
* @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.BotPluginMetadata;
/**
* Verifies a BotPluginMetadata 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 BotPluginMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotPluginMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotPluginMetadata;
/**
* Creates a plain object from a BotPluginMetadata message. Also converts values to other types if specified.
* @param message BotPluginMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotPluginMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotPluginMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotPluginMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotPluginMetadata {
/** PluginType enum. */
enum PluginType {
UNKNOWN_PLUGIN = 0,
REELS = 1,
SEARCH = 2
}
/** SearchProvider enum. */
enum SearchProvider {
UNKNOWN = 0,
BING = 1,
GOOGLE = 2,
SUPPORT = 3
}
}
/** Properties of a BotAvatarMetadata. */
interface IBotAvatarMetadata {
/** BotAvatarMetadata sentiment */
sentiment?: (number|null);
/** BotAvatarMetadata behaviorGraph */
behaviorGraph?: (string|null);
/** BotAvatarMetadata action */
action?: (number|null);
/** BotAvatarMetadata intensity */
intensity?: (number|null);
/** BotAvatarMetadata wordCount */
wordCount?: (number|null);
}
/** Represents a BotAvatarMetadata. */
class BotAvatarMetadata implements IBotAvatarMetadata {
/**
* Constructs a new BotAvatarMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IBotAvatarMetadata);
/** BotAvatarMetadata sentiment. */
public sentiment?: (number|null);
/** BotAvatarMetadata behaviorGraph. */
public behaviorGraph?: (string|null);
/** BotAvatarMetadata action. */
public action?: (number|null);
/** BotAvatarMetadata intensity. */
public intensity?: (number|null);
/** BotAvatarMetadata wordCount. */
public wordCount?: (number|null);
/** BotAvatarMetadata _sentiment. */
public _sentiment?: "sentiment";
/** BotAvatarMetadata _behaviorGraph. */
public _behaviorGraph?: "behaviorGraph";
/** BotAvatarMetadata _action. */
public _action?: "action";
/** BotAvatarMetadata _intensity. */
public _intensity?: "intensity";
/** BotAvatarMetadata _wordCount. */
public _wordCount?: "wordCount";
/**
* Creates a new BotAvatarMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns BotAvatarMetadata instance
*/
public static create(properties?: E2E.IBotAvatarMetadata): E2E.BotAvatarMetadata;
/**
* Encodes the specified BotAvatarMetadata message. Does not implicitly {@link E2E.BotAvatarMetadata.verify|verify} messages.
* @param message BotAvatarMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IBotAvatarMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotAvatarMetadata message, length delimited. Does not implicitly {@link E2E.BotAvatarMetadata.verify|verify} messages.
* @param message BotAvatarMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IBotAvatarMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotAvatarMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotAvatarMetadata
* @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.BotAvatarMetadata;
/**
* Decodes a BotAvatarMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotAvatarMetadata
* @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.BotAvatarMetadata;
/**
* Verifies a BotAvatarMetadata 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 BotAvatarMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotAvatarMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.BotAvatarMetadata;
/**
* Creates a plain object from a BotAvatarMetadata message. Also converts values to other types if specified.
* @param message BotAvatarMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.BotAvatarMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotAvatarMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotAvatarMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ContextInfo. */
interface IContextInfo {
/** ContextInfo stanzaId */
stanzaId?: (string|null);
/** ContextInfo participant */
participant?: (string|null);
/** ContextInfo quotedMessage */
quotedMessage?: (E2E.IMessage|null);
/** ContextInfo remoteJid */
remoteJid?: (string|null);
/** ContextInfo mentionedJid */
mentionedJid?: (string[]|null);
/** ContextInfo conversionSource */
conversionSource?: (string|null);
/** ContextInfo conversionData */
conversionData?: (Uint8Array|null);
/** ContextInfo conversionDelaySeconds */
conversionDelaySeconds?: (number|null);
/** ContextInfo forwardingScore */
forwardingScore?: (number|null);
/** ContextInfo isForwarded */
isForwarded?: (boolean|null);
/** ContextInfo quotedAd */
quotedAd?: (E2E.ContextInfo.IAdReplyInfo|null);
/** ContextInfo placeholderKey */
placeholderKey?: (Protocol.IMessageKey|null);
/** ContextInfo expiration */
expiration?: (number|null);
/** ContextInfo ephemeralSettingTimestamp */
ephemeralSettingTimestamp?: (number|Long|null);
/** ContextInfo ephemeralSharedSecret */
ephemeralSharedSecret?: (Uint8Array|null);
/** ContextInfo externalAdReply */
externalAdReply?: (E2E.ContextInfo.IExternalAdReplyInfo|null);
/** ContextInfo entryPointConversionSource */
entryPointConversionSource?: (string|null);
/** ContextInfo entryPointConversionApp */
entryPointConversionApp?: (string|null);
/** ContextInfo entryPointConversionDelaySeconds */
entryPointConversionDelaySeconds?: (number|null);
/** ContextInfo disappearingMode */
disappearingMode?: (E2E.IDisappearingMode|null);
/** ContextInfo actionLink */
actionLink?: (E2E.IActionLink|null);
/** ContextInfo groupSubject */
groupSubject?: (string|null);
/** ContextInfo parentGroupJid */
parentGroupJid?: (string|null);
/** ContextInfo trustBannerType */
trustBannerType?: (string|null);
/** ContextInfo trustBannerAction */
trustBannerAction?: (number|null);
/** ContextInfo isSampled */
isSampled?: (boolean|null);
/** ContextInfo groupMentions */
groupMentions?: (E2E.IGroupMention[]|null);
/** ContextInfo utm */
utm?: (E2E.ContextInfo.IUTMInfo|null);
/** ContextInfo forwardedNewsletterMessageInfo */
forwardedNewsletterMessageInfo?: (E2E.ContextInfo.IForwardedNewsletterMessageInfo|null);
/** ContextInfo businessMessageForwardInfo */
businessMessageForwardInfo?: (E2E.ContextInfo.IBusinessMessageForwardInfo|null);
/** ContextInfo smbClientCampaignId */
smbClientCampaignId?: (string|null);
/** ContextInfo smbServerCampaignId */
smbServerCampaignId?: (string|null);
/** ContextInfo dataSharingContext */
dataSharingContext?: (E2E.ContextInfo.IDataSharingContext|null);
/** ContextInfo alwaysShowAdAttribution */
alwaysShowAdAttribution?: (boolean|null);
/** ContextInfo featureEligibilities */
featureEligibilities?: (E2E.ContextInfo.IFeatureEligibilities|null);
/** ContextInfo entryPointConversionExternalSource */
entryPointConversionExternalSource?: (string|null);
/** ContextInfo entryPointConversionExternalMedium */
entryPointConversionExternalMedium?: (string|null);
/** ContextInfo ctwaSignals */
ctwaSignals?: (string|null);
/** ContextInfo ctwaPayload */
ctwaPayload?: (Uint8Array|null);
/** ContextInfo forwardedAiBotMessageInfo */
forwardedAiBotMessageInfo?: (E2E.ContextInfo.IForwardedAIBotMessageInfo|null);
/** ContextInfo statusAttributionType */
statusAttributionType?: (E2E.ContextInfo.StatusAttributionType|null);
/** ContextInfo urlTrackingMap */
urlTrackingMap?: (E2E.IUrlTrackingMap|null);
/** ContextInfo pairedMediaType */
pairedMediaType?: (E2E.ContextInfo.PairedMediaType|null);
/** ContextInfo rankingVersion */
rankingVersion?: (number|null);
/** ContextInfo memberLabel */
memberLabel?: (E2E.IMemberLabel|null);
/** ContextInfo isQuestion */
isQuestion?: (boolean|null);
/** ContextInfo statusSourceType */
statusSourceType?: (E2E.ContextInfo.StatusSourceType|null);
/** ContextInfo statusAttributions */
statusAttributions?: (StatusAttributions.IStatusAttribution[]|null);
}
/** Represents a ContextInfo. */
class ContextInfo implements IContextInfo {
/**
* Constructs a new ContextInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IContextInfo);
/** ContextInfo stanzaId. */
public stanzaId?: (string|null);
/** ContextInfo participant. */
public participant?: (string|null);
/** ContextInfo quotedMessage. */
public quotedMessage?: (E2E.IMessage|null);
/** ContextInfo remoteJid. */
public remoteJid?: (string|null);
/** ContextInfo mentionedJid. */
public mentionedJid: string[];
/** ContextInfo conversionSource. */
public conversionSource?: (string|null);
/** ContextInfo conversionData. */
public conversionData?: (Uint8Array|null);
/** ContextInfo conversionDelaySeconds. */
public conversionDelaySeconds?: (number|null);
/** ContextInfo forwardingScore. */
public forwardingScore?: (number|null);
/** ContextInfo isForwarded. */
public isForwarded?: (boolean|null);
/** ContextInfo quotedAd. */
public quotedAd?: (E2E.ContextInfo.IAdReplyInfo|null);
/** ContextInfo placeholderKey. */
public placeholderKey?: (Protocol.IMessageKey|null);
/** ContextInfo expiration. */
public expiration?: (number|null);
/** ContextInfo ephemeralSettingTimestamp. */
public ephemeralSettingTimestamp?: (number|Long|null);
/** ContextInfo ephemeralSharedSecret. */
public ephemeralSharedSecret?: (Uint8Array|null);
/** ContextInfo externalAdReply. */
public externalAdReply?: (E2E.ContextInfo.IExternalAdReplyInfo|null);
/** ContextInfo entryPointConversionSource. */
public entryPointConversionSource?: (string|null);
/** ContextInfo entryPointConversionApp. */
public entryPointConversionApp?: (string|null);
/** ContextInfo entryPointConversionDelaySeconds. */
public entryPointConversionDelaySeconds?: (number|null);
/** ContextInfo disappearingMode. */
public disappearingMode?: (E2E.IDisappearingMode|null);
/** ContextInfo actionLink. */
public actionLink?: (E2E.IActionLink|null);
/** ContextInfo groupSubject. */
public groupSubject?: (string|null);
/** ContextInfo parentGroupJid. */
public parentGroupJid?: (string|null);
/** ContextInfo trustBannerType. */
public trustBannerType?: (string|null);
/** ContextInfo trustBannerAction. */
public trustBannerAction?: (number|null);
/** ContextInfo isSampled. */
public isSampled?: (boolean|null);
/** ContextInfo groupMentions. */
public groupMentions: E2E.IGroupMention[];
/** ContextInfo utm. */
public utm?: (E2E.ContextInfo.IUTMInfo|null);
/** ContextInfo forwardedNewsletterMessageInfo. */
public forwardedNewsletterMessageInfo?: (E2E.ContextInfo.IForwardedNewsletterMessageInfo|null);
/** ContextInfo businessMessageForwardInfo. */
public businessMessageForwardInfo?: (E2E.ContextInfo.IBusinessMessageForwardInfo|null);
/** ContextInfo smbClientCampaignId. */
public smbClientCampaignId?: (string|null);
/** ContextInfo smbServerCampaignId. */
public smbServerCampaignId?: (string|null);
/** ContextInfo dataSharingContext. */
public dataSharingContext?: (E2E.ContextInfo.IDataSharingContext|null);
/** ContextInfo alwaysShowAdAttribution. */
public alwaysShowAdAttribution?: (boolean|null);
/** ContextInfo featureEligibilities. */
public featureEligibilities?: (E2E.ContextInfo.IFeatureEligibilities|null);
/** ContextInfo entryPointConversionExternalSource. */
public entryPointConversionExternalSource?: (string|null);
/** ContextInfo entryPointConversionExternalMedium. */
public entryPointConversionExternalMedium?: (string|null);
/** ContextInfo ctwaSignals. */
public ctwaSignals?: (string|null);
/** ContextInfo ctwaPayload. */
public ctwaPayload?: (Uint8Array|null);
/** ContextInfo forwardedAiBotMessageInfo. */
public forwardedAiBotMessageInfo?: (E2E.ContextInfo.IForwardedAIBotMessageInfo|null);
/** ContextInfo statusAttributionType. */
public statusAttributionType?: (E2E.ContextInfo.StatusAttributionType|null);
/** ContextInfo urlTrackingMap. */
public urlTrackingMap?: (E2E.IUrlTrackingMap|null);
/** ContextInfo pairedMediaType. */
public pairedMediaType?: (E2E.ContextInfo.PairedMediaType|null);
/** ContextInfo rankingVersion. */
public rankingVersion?: (number|null);
/** ContextInfo memberLabel. */
public memberLabel?: (E2E.IMemberLabel|null);
/** ContextInfo isQuestion. */
public isQuestion?: (boolean|null);
/** ContextInfo statusSourceType. */
public statusSourceType?: (E2E.ContextInfo.StatusSourceType|null);
/** ContextInfo statusAttributions. */
public statusAttributions: StatusAttributions.IStatusAttribution[];
/** ContextInfo _stanzaId. */
public _stanzaId?: "stanzaId";
/** ContextInfo _participant. */
public _participant?: "participant";
/** ContextInfo _quotedMessage. */
public _quotedMessage?: "quotedMessage";
/** ContextInfo _remoteJid. */
public _remoteJid?: "remoteJid";
/** ContextInfo _conversionSource. */
public _conversionSource?: "conversionSource";
/** ContextInfo _conversionData. */
public _conversionData?: "conversionData";
/** ContextInfo _conversionDelaySeconds. */
public _conversionDelaySeconds?: "conversionDelaySeconds";
/** ContextInfo _forwardingScore. */
public _forwardingScore?: "forwardingScore";
/** ContextInfo _isForwarded. */
public _isForwarded?: "isForwarded";
/** ContextInfo _quotedAd. */
public _quotedAd?: "quotedAd";
/** ContextInfo _placeholderKey. */
public _placeholderKey?: "placeholderKey";
/** ContextInfo _expiration. */
public _expiration?: "expiration";
/** ContextInfo _ephemeralSettingTimestamp. */
public _ephemeralSettingTimestamp?: "ephemeralSettingTimestamp";
/** ContextInfo _ephemeralSharedSecret. */
public _ephemeralSharedSecret?: "ephemeralSharedSecret";
/** ContextInfo _externalAdReply. */
public _externalAdReply?: "externalAdReply";
/** ContextInfo _entryPointConversionSource. */
public _entryPointConversionSource?: "entryPointConversionSource";
/** ContextInfo _entryPointConversionApp. */
public _entryPointConversionApp?: "entryPointConversionApp";
/** ContextInfo _entryPointConversionDelaySeconds. */
public _entryPointConversionDelaySeconds?: "entryPointConversionDelaySeconds";
/** ContextInfo _disappearingMode. */
public _disappearingMode?: "disappearingMode";
/** ContextInfo _actionLink. */
public _actionLink?: "actionLink";
/** ContextInfo _groupSubject. */
public _groupSubject?: "groupSubject";
/** ContextInfo _parentGroupJid. */
public _parentGroupJid?: "parentGroupJid";
/** ContextInfo _trustBannerType. */
public _trustBannerType?: "trustBannerType";
/** ContextInfo _trustBannerAction. */
public _trustBannerAction?: "trustBannerAction";
/** ContextInfo _isSampled. */
public _isSampled?: "isSampled";
/** ContextInfo _utm. */
public _utm?: "utm";
/** ContextInfo _forwardedNewsletterMessageInfo. */
public _forwardedNewsletterMessageInfo?: "forwardedNewsletterMessageInfo";
/** ContextInfo _businessMessageForwardInfo. */
public _businessMessageForwardInfo?: "businessMessageForwardInfo";
/** ContextInfo _smbClientCampaignId. */
public _smbClientCampaignId?: "smbClientCampaignId";
/** ContextInfo _smbServerCampaignId. */
public _smbServerCampaignId?: "smbServerCampaignId";
/** ContextInfo _dataSharingContext. */
public _dataSharingContext?: "dataSharingContext";
/** ContextInfo _alwaysShowAdAttribution. */
public _alwaysShowAdAttribution?: "alwaysShowAdAttribution";
/** ContextInfo _featureEligibilities. */
public _featureEligibilities?: "featureEligibilities";
/** ContextInfo _entryPointConversionExternalSource. */
public _entryPointConversionExternalSource?: "entryPointConversionExternalSource";
/** ContextInfo _entryPointConversionExternalMedium. */
public _entryPointConversionExternalMedium?: "entryPointConversionExternalMedium";
/** ContextInfo _ctwaSignals. */
public _ctwaSignals?: "ctwaSignals";
/** ContextInfo _ctwaPayload. */
public _ctwaPayload?: "ctwaPayload";
/** ContextInfo _forwardedAiBotMessageInfo. */
public _forwardedAiBotMessageInfo?: "forwardedAiBotMessageInfo";
/** ContextInfo _statusAttributionType. */
public _statusAttributionType?: "statusAttributionType";
/** ContextInfo _urlTrackingMap. */
public _urlTrackingMap?: "urlTrackingMap";
/** ContextInfo _pairedMediaType. */
public _pairedMediaType?: "pairedMediaType";
/** ContextInfo _rankingVersion. */
public _rankingVersion?: "rankingVersion";
/** ContextInfo _memberLabel. */
public _memberLabel?: "memberLabel";
/** ContextInfo _isQuestion. */
public _isQuestion?: "isQuestion";
/** ContextInfo _statusSourceType. */
public _statusSourceType?: "statusSourceType";
/**
* Creates a new ContextInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns ContextInfo instance
*/
public static create(properties?: E2E.IContextInfo): E2E.ContextInfo;
/**
* Encodes the specified ContextInfo message. Does not implicitly {@link E2E.ContextInfo.verify|verify} messages.
* @param message ContextInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ContextInfo message, length delimited. Does not implicitly {@link E2E.ContextInfo.verify|verify} messages.
* @param message ContextInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ContextInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ContextInfo
* @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.ContextInfo;
/**
* Decodes a ContextInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ContextInfo
* @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.ContextInfo;
/**
* Verifies a ContextInfo 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 ContextInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ContextInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo;
/**
* Creates a plain object from a ContextInfo message. Also converts values to other types if specified.
* @param message ContextInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ContextInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ContextInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ContextInfo {
/** Properties of an AdReplyInfo. */
interface IAdReplyInfo {
/** AdReplyInfo advertiserName */
advertiserName?: (string|null);
/** AdReplyInfo mediaType */
mediaType?: (E2E.ContextInfo.AdReplyInfo.MediaType|null);
/** AdReplyInfo jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** AdReplyInfo caption */
caption?: (string|null);
}
/** Represents an AdReplyInfo. */
class AdReplyInfo implements IAdReplyInfo {
/**
* Constructs a new AdReplyInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IAdReplyInfo);
/** AdReplyInfo advertiserName. */
public advertiserName?: (string|null);
/** AdReplyInfo mediaType. */
public mediaType?: (E2E.ContextInfo.AdReplyInfo.MediaType|null);
/** AdReplyInfo jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** AdReplyInfo caption. */
public caption?: (string|null);
/** AdReplyInfo _advertiserName. */
public _advertiserName?: "advertiserName";
/** AdReplyInfo _mediaType. */
public _mediaType?: "mediaType";
/** AdReplyInfo _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** AdReplyInfo _caption. */
public _caption?: "caption";
/**
* Creates a new AdReplyInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns AdReplyInfo instance
*/
public static create(properties?: E2E.ContextInfo.IAdReplyInfo): E2E.ContextInfo.AdReplyInfo;
/**
* Encodes the specified AdReplyInfo message. Does not implicitly {@link E2E.ContextInfo.AdReplyInfo.verify|verify} messages.
* @param message AdReplyInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AdReplyInfo message, length delimited. Does not implicitly {@link E2E.ContextInfo.AdReplyInfo.verify|verify} messages.
* @param message AdReplyInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AdReplyInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AdReplyInfo
* @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.ContextInfo.AdReplyInfo;
/**
* Decodes an AdReplyInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AdReplyInfo
* @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.ContextInfo.AdReplyInfo;
/**
* Verifies an AdReplyInfo 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 AdReplyInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AdReplyInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.AdReplyInfo;
/**
* Creates a plain object from an AdReplyInfo message. Also converts values to other types if specified.
* @param message AdReplyInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.AdReplyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AdReplyInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AdReplyInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AdReplyInfo {
/** MediaType enum. */
enum MediaType {
NONE = 0,
IMAGE = 1,
VIDEO = 2
}
}
/** Properties of a BusinessMessageForwardInfo. */
interface IBusinessMessageForwardInfo {
/** BusinessMessageForwardInfo businessOwnerJid */
businessOwnerJid?: (string|null);
}
/** Represents a BusinessMessageForwardInfo. */
class BusinessMessageForwardInfo implements IBusinessMessageForwardInfo {
/**
* Constructs a new BusinessMessageForwardInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IBusinessMessageForwardInfo);
/** BusinessMessageForwardInfo businessOwnerJid. */
public businessOwnerJid?: (string|null);
/** BusinessMessageForwardInfo _businessOwnerJid. */
public _businessOwnerJid?: "businessOwnerJid";
/**
* Creates a new BusinessMessageForwardInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns BusinessMessageForwardInfo instance
*/
public static create(properties?: E2E.ContextInfo.IBusinessMessageForwardInfo): E2E.ContextInfo.BusinessMessageForwardInfo;
/**
* Encodes the specified BusinessMessageForwardInfo message. Does not implicitly {@link E2E.ContextInfo.BusinessMessageForwardInfo.verify|verify} messages.
* @param message BusinessMessageForwardInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IBusinessMessageForwardInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BusinessMessageForwardInfo message, length delimited. Does not implicitly {@link E2E.ContextInfo.BusinessMessageForwardInfo.verify|verify} messages.
* @param message BusinessMessageForwardInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IBusinessMessageForwardInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BusinessMessageForwardInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BusinessMessageForwardInfo
* @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.ContextInfo.BusinessMessageForwardInfo;
/**
* Decodes a BusinessMessageForwardInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BusinessMessageForwardInfo
* @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.ContextInfo.BusinessMessageForwardInfo;
/**
* Verifies a BusinessMessageForwardInfo 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 BusinessMessageForwardInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BusinessMessageForwardInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.BusinessMessageForwardInfo;
/**
* Creates a plain object from a BusinessMessageForwardInfo message. Also converts values to other types if specified.
* @param message BusinessMessageForwardInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.BusinessMessageForwardInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BusinessMessageForwardInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BusinessMessageForwardInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a DataSharingContext. */
interface IDataSharingContext {
/** DataSharingContext showMmDisclosure */
showMmDisclosure?: (boolean|null);
/** DataSharingContext encryptedSignalTokenConsented */
encryptedSignalTokenConsented?: (string|null);
/** DataSharingContext parameters */
parameters?: (E2E.ContextInfo.DataSharingContext.IParameters[]|null);
}
/** Represents a DataSharingContext. */
class DataSharingContext implements IDataSharingContext {
/**
* Constructs a new DataSharingContext.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IDataSharingContext);
/** DataSharingContext showMmDisclosure. */
public showMmDisclosure?: (boolean|null);
/** DataSharingContext encryptedSignalTokenConsented. */
public encryptedSignalTokenConsented?: (string|null);
/** DataSharingContext parameters. */
public parameters: E2E.ContextInfo.DataSharingContext.IParameters[];
/** DataSharingContext _showMmDisclosure. */
public _showMmDisclosure?: "showMmDisclosure";
/** DataSharingContext _encryptedSignalTokenConsented. */
public _encryptedSignalTokenConsented?: "encryptedSignalTokenConsented";
/**
* Creates a new DataSharingContext instance using the specified properties.
* @param [properties] Properties to set
* @returns DataSharingContext instance
*/
public static create(properties?: E2E.ContextInfo.IDataSharingContext): E2E.ContextInfo.DataSharingContext;
/**
* Encodes the specified DataSharingContext message. Does not implicitly {@link E2E.ContextInfo.DataSharingContext.verify|verify} messages.
* @param message DataSharingContext message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IDataSharingContext, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified DataSharingContext message, length delimited. Does not implicitly {@link E2E.ContextInfo.DataSharingContext.verify|verify} messages.
* @param message DataSharingContext message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IDataSharingContext, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a DataSharingContext message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns DataSharingContext
* @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.ContextInfo.DataSharingContext;
/**
* Decodes a DataSharingContext message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns DataSharingContext
* @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.ContextInfo.DataSharingContext;
/**
* Verifies a DataSharingContext 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 DataSharingContext message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns DataSharingContext
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.DataSharingContext;
/**
* Creates a plain object from a DataSharingContext message. Also converts values to other types if specified.
* @param message DataSharingContext
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.DataSharingContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this DataSharingContext to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for DataSharingContext
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace DataSharingContext {
/** Properties of a Parameters. */
interface IParameters {
/** Parameters key */
key?: (string|null);
/** Parameters stringData */
stringData?: (string|null);
/** Parameters intData */
intData?: (number|Long|null);
/** Parameters floatData */
floatData?: (number|null);
/** Parameters contents */
contents?: (E2E.ContextInfo.DataSharingContext.IParameters|null);
}
/** Represents a Parameters. */
class Parameters implements IParameters {
/**
* Constructs a new Parameters.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.DataSharingContext.IParameters);
/** Parameters key. */
public key?: (string|null);
/** Parameters stringData. */
public stringData?: (string|null);
/** Parameters intData. */
public intData?: (number|Long|null);
/** Parameters floatData. */
public floatData?: (number|null);
/** Parameters contents. */
public contents?: (E2E.ContextInfo.DataSharingContext.IParameters|null);
/** Parameters _key. */
public _key?: "key";
/** Parameters _stringData. */
public _stringData?: "stringData";
/** Parameters _intData. */
public _intData?: "intData";
/** Parameters _floatData. */
public _floatData?: "floatData";
/** Parameters _contents. */
public _contents?: "contents";
/**
* Creates a new Parameters instance using the specified properties.
* @param [properties] Properties to set
* @returns Parameters instance
*/
public static create(properties?: E2E.ContextInfo.DataSharingContext.IParameters): E2E.ContextInfo.DataSharingContext.Parameters;
/**
* Encodes the specified Parameters message. Does not implicitly {@link E2E.ContextInfo.DataSharingContext.Parameters.verify|verify} messages.
* @param message Parameters message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.DataSharingContext.IParameters, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Parameters message, length delimited. Does not implicitly {@link E2E.ContextInfo.DataSharingContext.Parameters.verify|verify} messages.
* @param message Parameters message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.DataSharingContext.IParameters, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Parameters message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Parameters
* @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.ContextInfo.DataSharingContext.Parameters;
/**
* Decodes a Parameters message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Parameters
* @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.ContextInfo.DataSharingContext.Parameters;
/**
* Verifies a Parameters 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 Parameters message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Parameters
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.DataSharingContext.Parameters;
/**
* Creates a plain object from a Parameters message. Also converts values to other types if specified.
* @param message Parameters
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.DataSharingContext.Parameters, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Parameters to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Parameters
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of an ExternalAdReplyInfo. */
interface IExternalAdReplyInfo {
/** ExternalAdReplyInfo title */
title?: (string|null);
/** ExternalAdReplyInfo body */
body?: (string|null);
/** ExternalAdReplyInfo mediaType */
mediaType?: (E2E.ContextInfo.ExternalAdReplyInfo.MediaType|null);
/** ExternalAdReplyInfo thumbnailUrl */
thumbnailUrl?: (string|null);
/** ExternalAdReplyInfo mediaUrl */
mediaUrl?: (string|null);
/** ExternalAdReplyInfo thumbnail */
thumbnail?: (Uint8Array|null);
/** ExternalAdReplyInfo sourceType */
sourceType?: (string|null);
/** ExternalAdReplyInfo sourceId */
sourceId?: (string|null);
/** ExternalAdReplyInfo sourceUrl */
sourceUrl?: (string|null);
/** ExternalAdReplyInfo containsAutoReply */
containsAutoReply?: (boolean|null);
/** ExternalAdReplyInfo renderLargerThumbnail */
renderLargerThumbnail?: (boolean|null);
/** ExternalAdReplyInfo showAdAttribution */
showAdAttribution?: (boolean|null);
/** ExternalAdReplyInfo ctwaClid */
ctwaClid?: (string|null);
/** ExternalAdReplyInfo ref */
ref?: (string|null);
/** ExternalAdReplyInfo clickToWhatsappCall */
clickToWhatsappCall?: (boolean|null);
/** ExternalAdReplyInfo adContextPreviewDismissed */
adContextPreviewDismissed?: (boolean|null);
/** ExternalAdReplyInfo sourceApp */
sourceApp?: (string|null);
/** ExternalAdReplyInfo automatedGreetingMessageShown */
automatedGreetingMessageShown?: (boolean|null);
/** ExternalAdReplyInfo greetingMessageBody */
greetingMessageBody?: (string|null);
/** ExternalAdReplyInfo ctaPayload */
ctaPayload?: (string|null);
/** ExternalAdReplyInfo disableNudge */
disableNudge?: (boolean|null);
/** ExternalAdReplyInfo originalImageUrl */
originalImageUrl?: (string|null);
/** ExternalAdReplyInfo automatedGreetingMessageCtaType */
automatedGreetingMessageCtaType?: (string|null);
/** ExternalAdReplyInfo wtwaAdFormat */
wtwaAdFormat?: (boolean|null);
/** ExternalAdReplyInfo adType */
adType?: (E2E.ContextInfo.ExternalAdReplyInfo.AdType|null);
}
/** Represents an ExternalAdReplyInfo. */
class ExternalAdReplyInfo implements IExternalAdReplyInfo {
/**
* Constructs a new ExternalAdReplyInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IExternalAdReplyInfo);
/** ExternalAdReplyInfo title. */
public title?: (string|null);
/** ExternalAdReplyInfo body. */
public body?: (string|null);
/** ExternalAdReplyInfo mediaType. */
public mediaType?: (E2E.ContextInfo.ExternalAdReplyInfo.MediaType|null);
/** ExternalAdReplyInfo thumbnailUrl. */
public thumbnailUrl?: (string|null);
/** ExternalAdReplyInfo mediaUrl. */
public mediaUrl?: (string|null);
/** ExternalAdReplyInfo thumbnail. */
public thumbnail?: (Uint8Array|null);
/** ExternalAdReplyInfo sourceType. */
public sourceType?: (string|null);
/** ExternalAdReplyInfo sourceId. */
public sourceId?: (string|null);
/** ExternalAdReplyInfo sourceUrl. */
public sourceUrl?: (string|null);
/** ExternalAdReplyInfo containsAutoReply. */
public containsAutoReply?: (boolean|null);
/** ExternalAdReplyInfo renderLargerThumbnail. */
public renderLargerThumbnail?: (boolean|null);
/** ExternalAdReplyInfo showAdAttribution. */
public showAdAttribution?: (boolean|null);
/** ExternalAdReplyInfo ctwaClid. */
public ctwaClid?: (string|null);
/** ExternalAdReplyInfo ref. */
public ref?: (string|null);
/** ExternalAdReplyInfo clickToWhatsappCall. */
public clickToWhatsappCall?: (boolean|null);
/** ExternalAdReplyInfo adContextPreviewDismissed. */
public adContextPreviewDismissed?: (boolean|null);
/** ExternalAdReplyInfo sourceApp. */
public sourceApp?: (string|null);
/** ExternalAdReplyInfo automatedGreetingMessageShown. */
public automatedGreetingMessageShown?: (boolean|null);
/** ExternalAdReplyInfo greetingMessageBody. */
public greetingMessageBody?: (string|null);
/** ExternalAdReplyInfo ctaPayload. */
public ctaPayload?: (string|null);
/** ExternalAdReplyInfo disableNudge. */
public disableNudge?: (boolean|null);
/** ExternalAdReplyInfo originalImageUrl. */
public originalImageUrl?: (string|null);
/** ExternalAdReplyInfo automatedGreetingMessageCtaType. */
public automatedGreetingMessageCtaType?: (string|null);
/** ExternalAdReplyInfo wtwaAdFormat. */
public wtwaAdFormat?: (boolean|null);
/** ExternalAdReplyInfo adType. */
public adType?: (E2E.ContextInfo.ExternalAdReplyInfo.AdType|null);
/** ExternalAdReplyInfo _title. */
public _title?: "title";
/** ExternalAdReplyInfo _body. */
public _body?: "body";
/** ExternalAdReplyInfo _mediaType. */
public _mediaType?: "mediaType";
/** ExternalAdReplyInfo _thumbnailUrl. */
public _thumbnailUrl?: "thumbnailUrl";
/** ExternalAdReplyInfo _mediaUrl. */
public _mediaUrl?: "mediaUrl";
/** ExternalAdReplyInfo _thumbnail. */
public _thumbnail?: "thumbnail";
/** ExternalAdReplyInfo _sourceType. */
public _sourceType?: "sourceType";
/** ExternalAdReplyInfo _sourceId. */
public _sourceId?: "sourceId";
/** ExternalAdReplyInfo _sourceUrl. */
public _sourceUrl?: "sourceUrl";
/** ExternalAdReplyInfo _containsAutoReply. */
public _containsAutoReply?: "containsAutoReply";
/** ExternalAdReplyInfo _renderLargerThumbnail. */
public _renderLargerThumbnail?: "renderLargerThumbnail";
/** ExternalAdReplyInfo _showAdAttribution. */
public _showAdAttribution?: "showAdAttribution";
/** ExternalAdReplyInfo _ctwaClid. */
public _ctwaClid?: "ctwaClid";
/** ExternalAdReplyInfo _ref. */
public _ref?: "ref";
/** ExternalAdReplyInfo _clickToWhatsappCall. */
public _clickToWhatsappCall?: "clickToWhatsappCall";
/** ExternalAdReplyInfo _adContextPreviewDismissed. */
public _adContextPreviewDismissed?: "adContextPreviewDismissed";
/** ExternalAdReplyInfo _sourceApp. */
public _sourceApp?: "sourceApp";
/** ExternalAdReplyInfo _automatedGreetingMessageShown. */
public _automatedGreetingMessageShown?: "automatedGreetingMessageShown";
/** ExternalAdReplyInfo _greetingMessageBody. */
public _greetingMessageBody?: "greetingMessageBody";
/** ExternalAdReplyInfo _ctaPayload. */
public _ctaPayload?: "ctaPayload";
/** ExternalAdReplyInfo _disableNudge. */
public _disableNudge?: "disableNudge";
/** ExternalAdReplyInfo _originalImageUrl. */
public _originalImageUrl?: "originalImageUrl";
/** ExternalAdReplyInfo _automatedGreetingMessageCtaType. */
public _automatedGreetingMessageCtaType?: "automatedGreetingMessageCtaType";
/** ExternalAdReplyInfo _wtwaAdFormat. */
public _wtwaAdFormat?: "wtwaAdFormat";
/** ExternalAdReplyInfo _adType. */
public _adType?: "adType";
/**
* Creates a new ExternalAdReplyInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns ExternalAdReplyInfo instance
*/
public static create(properties?: E2E.ContextInfo.IExternalAdReplyInfo): E2E.ContextInfo.ExternalAdReplyInfo;
/**
* Encodes the specified ExternalAdReplyInfo message. Does not implicitly {@link E2E.ContextInfo.ExternalAdReplyInfo.verify|verify} messages.
* @param message ExternalAdReplyInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IExternalAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ExternalAdReplyInfo message, length delimited. Does not implicitly {@link E2E.ContextInfo.ExternalAdReplyInfo.verify|verify} messages.
* @param message ExternalAdReplyInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IExternalAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an ExternalAdReplyInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ExternalAdReplyInfo
* @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.ContextInfo.ExternalAdReplyInfo;
/**
* Decodes an ExternalAdReplyInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ExternalAdReplyInfo
* @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.ContextInfo.ExternalAdReplyInfo;
/**
* Verifies an ExternalAdReplyInfo 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 ExternalAdReplyInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ExternalAdReplyInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.ExternalAdReplyInfo;
/**
* Creates a plain object from an ExternalAdReplyInfo message. Also converts values to other types if specified.
* @param message ExternalAdReplyInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.ExternalAdReplyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ExternalAdReplyInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ExternalAdReplyInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ExternalAdReplyInfo {
/** AdType enum. */
enum AdType {
CTWA = 0,
CAWC = 1
}
/** MediaType enum. */
enum MediaType {
NONE = 0,
IMAGE = 1,
VIDEO = 2
}
}
/** Properties of a FeatureEligibilities. */
interface IFeatureEligibilities {
/** FeatureEligibilities cannotBeReactedTo */
cannotBeReactedTo?: (boolean|null);
/** FeatureEligibilities cannotBeRanked */
cannotBeRanked?: (boolean|null);
/** FeatureEligibilities canRequestFeedback */
canRequestFeedback?: (boolean|null);
/** FeatureEligibilities canBeReshared */
canBeReshared?: (boolean|null);
}
/** Represents a FeatureEligibilities. */
class FeatureEligibilities implements IFeatureEligibilities {
/**
* Constructs a new FeatureEligibilities.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IFeatureEligibilities);
/** FeatureEligibilities cannotBeReactedTo. */
public cannotBeReactedTo?: (boolean|null);
/** FeatureEligibilities cannotBeRanked. */
public cannotBeRanked?: (boolean|null);
/** FeatureEligibilities canRequestFeedback. */
public canRequestFeedback?: (boolean|null);
/** FeatureEligibilities canBeReshared. */
public canBeReshared?: (boolean|null);
/** FeatureEligibilities _cannotBeReactedTo. */
public _cannotBeReactedTo?: "cannotBeReactedTo";
/** FeatureEligibilities _cannotBeRanked. */
public _cannotBeRanked?: "cannotBeRanked";
/** FeatureEligibilities _canRequestFeedback. */
public _canRequestFeedback?: "canRequestFeedback";
/** FeatureEligibilities _canBeReshared. */
public _canBeReshared?: "canBeReshared";
/**
* Creates a new FeatureEligibilities instance using the specified properties.
* @param [properties] Properties to set
* @returns FeatureEligibilities instance
*/
public static create(properties?: E2E.ContextInfo.IFeatureEligibilities): E2E.ContextInfo.FeatureEligibilities;
/**
* Encodes the specified FeatureEligibilities message. Does not implicitly {@link E2E.ContextInfo.FeatureEligibilities.verify|verify} messages.
* @param message FeatureEligibilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IFeatureEligibilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FeatureEligibilities message, length delimited. Does not implicitly {@link E2E.ContextInfo.FeatureEligibilities.verify|verify} messages.
* @param message FeatureEligibilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IFeatureEligibilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FeatureEligibilities message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FeatureEligibilities
* @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.ContextInfo.FeatureEligibilities;
/**
* Decodes a FeatureEligibilities message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FeatureEligibilities
* @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.ContextInfo.FeatureEligibilities;
/**
* Verifies a FeatureEligibilities 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 FeatureEligibilities message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FeatureEligibilities
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.FeatureEligibilities;
/**
* Creates a plain object from a FeatureEligibilities message. Also converts values to other types if specified.
* @param message FeatureEligibilities
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.FeatureEligibilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FeatureEligibilities to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for FeatureEligibilities
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ForwardedAIBotMessageInfo. */
interface IForwardedAIBotMessageInfo {
/** ForwardedAIBotMessageInfo botName */
botName?: (string|null);
/** ForwardedAIBotMessageInfo botJid */
botJid?: (string|null);
/** ForwardedAIBotMessageInfo creatorName */
creatorName?: (string|null);
}
/** Represents a ForwardedAIBotMessageInfo. */
class ForwardedAIBotMessageInfo implements IForwardedAIBotMessageInfo {
/**
* Constructs a new ForwardedAIBotMessageInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IForwardedAIBotMessageInfo);
/** ForwardedAIBotMessageInfo botName. */
public botName?: (string|null);
/** ForwardedAIBotMessageInfo botJid. */
public botJid?: (string|null);
/** ForwardedAIBotMessageInfo creatorName. */
public creatorName?: (string|null);
/** ForwardedAIBotMessageInfo _botName. */
public _botName?: "botName";
/** ForwardedAIBotMessageInfo _botJid. */
public _botJid?: "botJid";
/** ForwardedAIBotMessageInfo _creatorName. */
public _creatorName?: "creatorName";
/**
* Creates a new ForwardedAIBotMessageInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns ForwardedAIBotMessageInfo instance
*/
public static create(properties?: E2E.ContextInfo.IForwardedAIBotMessageInfo): E2E.ContextInfo.ForwardedAIBotMessageInfo;
/**
* Encodes the specified ForwardedAIBotMessageInfo message. Does not implicitly {@link E2E.ContextInfo.ForwardedAIBotMessageInfo.verify|verify} messages.
* @param message ForwardedAIBotMessageInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IForwardedAIBotMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ForwardedAIBotMessageInfo message, length delimited. Does not implicitly {@link E2E.ContextInfo.ForwardedAIBotMessageInfo.verify|verify} messages.
* @param message ForwardedAIBotMessageInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IForwardedAIBotMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ForwardedAIBotMessageInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ForwardedAIBotMessageInfo
* @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.ContextInfo.ForwardedAIBotMessageInfo;
/**
* Decodes a ForwardedAIBotMessageInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ForwardedAIBotMessageInfo
* @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.ContextInfo.ForwardedAIBotMessageInfo;
/**
* Verifies a ForwardedAIBotMessageInfo 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 ForwardedAIBotMessageInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ForwardedAIBotMessageInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.ForwardedAIBotMessageInfo;
/**
* Creates a plain object from a ForwardedAIBotMessageInfo message. Also converts values to other types if specified.
* @param message ForwardedAIBotMessageInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.ForwardedAIBotMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ForwardedAIBotMessageInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ForwardedAIBotMessageInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ForwardedNewsletterMessageInfo. */
interface IForwardedNewsletterMessageInfo {
/** ForwardedNewsletterMessageInfo newsletterJid */
newsletterJid?: (string|null);
/** ForwardedNewsletterMessageInfo serverMessageId */
serverMessageId?: (number|null);
/** ForwardedNewsletterMessageInfo newsletterName */
newsletterName?: (string|null);
/** ForwardedNewsletterMessageInfo contentType */
contentType?: (E2E.ContextInfo.ForwardedNewsletterMessageInfo.ContentType|null);
/** ForwardedNewsletterMessageInfo accessibilityText */
accessibilityText?: (string|null);
}
/** Represents a ForwardedNewsletterMessageInfo. */
class ForwardedNewsletterMessageInfo implements IForwardedNewsletterMessageInfo {
/**
* Constructs a new ForwardedNewsletterMessageInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IForwardedNewsletterMessageInfo);
/** ForwardedNewsletterMessageInfo newsletterJid. */
public newsletterJid?: (string|null);
/** ForwardedNewsletterMessageInfo serverMessageId. */
public serverMessageId?: (number|null);
/** ForwardedNewsletterMessageInfo newsletterName. */
public newsletterName?: (string|null);
/** ForwardedNewsletterMessageInfo contentType. */
public contentType?: (E2E.ContextInfo.ForwardedNewsletterMessageInfo.ContentType|null);
/** ForwardedNewsletterMessageInfo accessibilityText. */
public accessibilityText?: (string|null);
/** ForwardedNewsletterMessageInfo _newsletterJid. */
public _newsletterJid?: "newsletterJid";
/** ForwardedNewsletterMessageInfo _serverMessageId. */
public _serverMessageId?: "serverMessageId";
/** ForwardedNewsletterMessageInfo _newsletterName. */
public _newsletterName?: "newsletterName";
/** ForwardedNewsletterMessageInfo _contentType. */
public _contentType?: "contentType";
/** ForwardedNewsletterMessageInfo _accessibilityText. */
public _accessibilityText?: "accessibilityText";
/**
* Creates a new ForwardedNewsletterMessageInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns ForwardedNewsletterMessageInfo instance
*/
public static create(properties?: E2E.ContextInfo.IForwardedNewsletterMessageInfo): E2E.ContextInfo.ForwardedNewsletterMessageInfo;
/**
* Encodes the specified ForwardedNewsletterMessageInfo message. Does not implicitly {@link E2E.ContextInfo.ForwardedNewsletterMessageInfo.verify|verify} messages.
* @param message ForwardedNewsletterMessageInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IForwardedNewsletterMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ForwardedNewsletterMessageInfo message, length delimited. Does not implicitly {@link E2E.ContextInfo.ForwardedNewsletterMessageInfo.verify|verify} messages.
* @param message ForwardedNewsletterMessageInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IForwardedNewsletterMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ForwardedNewsletterMessageInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ForwardedNewsletterMessageInfo
* @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.ContextInfo.ForwardedNewsletterMessageInfo;
/**
* Decodes a ForwardedNewsletterMessageInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ForwardedNewsletterMessageInfo
* @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.ContextInfo.ForwardedNewsletterMessageInfo;
/**
* Verifies a ForwardedNewsletterMessageInfo 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 ForwardedNewsletterMessageInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ForwardedNewsletterMessageInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.ForwardedNewsletterMessageInfo;
/**
* Creates a plain object from a ForwardedNewsletterMessageInfo message. Also converts values to other types if specified.
* @param message ForwardedNewsletterMessageInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.ForwardedNewsletterMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ForwardedNewsletterMessageInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ForwardedNewsletterMessageInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ForwardedNewsletterMessageInfo {
/** ContentType enum. */
enum ContentType {
UPDATE = 1,
UPDATE_CARD = 2,
LINK_CARD = 3
}
}
/** PairedMediaType enum. */
enum PairedMediaType {
NOT_PAIRED_MEDIA = 0,
SD_VIDEO_PARENT = 1,
HD_VIDEO_CHILD = 2,
SD_IMAGE_PARENT = 3,
HD_IMAGE_CHILD = 4,
MOTION_PHOTO_PARENT = 5,
MOTION_PHOTO_CHILD = 6
}
/** StatusAttributionType enum. */
enum StatusAttributionType {
NONE = 0,
RESHARED_FROM_MENTION = 1,
RESHARED_FROM_POST = 2
}
/** StatusSourceType enum. */
enum StatusSourceType {
IMAGE = 0,
VIDEO = 1,
GIF = 2,
AUDIO = 3,
TEXT = 4,
MUSIC_STANDALONE = 5
}
/** Properties of a UTMInfo. */
interface IUTMInfo {
/** UTMInfo utmSource */
utmSource?: (string|null);
/** UTMInfo utmCampaign */
utmCampaign?: (string|null);
}
/** Represents a UTMInfo. */
class UTMInfo implements IUTMInfo {
/**
* Constructs a new UTMInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.ContextInfo.IUTMInfo);
/** UTMInfo utmSource. */
public utmSource?: (string|null);
/** UTMInfo utmCampaign. */
public utmCampaign?: (string|null);
/** UTMInfo _utmSource. */
public _utmSource?: "utmSource";
/** UTMInfo _utmCampaign. */
public _utmCampaign?: "utmCampaign";
/**
* Creates a new UTMInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns UTMInfo instance
*/
public static create(properties?: E2E.ContextInfo.IUTMInfo): E2E.ContextInfo.UTMInfo;
/**
* Encodes the specified UTMInfo message. Does not implicitly {@link E2E.ContextInfo.UTMInfo.verify|verify} messages.
* @param message UTMInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.ContextInfo.IUTMInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified UTMInfo message, length delimited. Does not implicitly {@link E2E.ContextInfo.UTMInfo.verify|verify} messages.
* @param message UTMInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.ContextInfo.IUTMInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a UTMInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns UTMInfo
* @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.ContextInfo.UTMInfo;
/**
* Decodes a UTMInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns UTMInfo
* @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.ContextInfo.UTMInfo;
/**
* Verifies a UTMInfo 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 UTMInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns UTMInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.ContextInfo.UTMInfo;
/**
* Creates a plain object from a UTMInfo message. Also converts values to other types if specified.
* @param message UTMInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.ContextInfo.UTMInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this UTMInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for UTMInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a Message. */
interface IMessage {
/** Message conversation */
conversation?: (string|null);
/** Message senderKeyDistributionMessage */
senderKeyDistributionMessage?: (E2E.Message.ISenderKeyDistributionMessage|null);
/** Message imageMessage */
imageMessage?: (E2E.Message.IImageMessage|null);
/** Message contactMessage */
contactMessage?: (E2E.Message.IContactMessage|null);
/** Message locationMessage */
locationMessage?: (E2E.Message.ILocationMessage|null);
/** Message extendedTextMessage */
extendedTextMessage?: (E2E.Message.IExtendedTextMessage|null);
/** Message documentMessage */
documentMessage?: (E2E.Message.IDocumentMessage|null);
/** Message audioMessage */
audioMessage?: (E2E.Message.IAudioMessage|null);
/** Message videoMessage */
videoMessage?: (E2E.Message.IVideoMessage|null);
/** Message call */
call?: (E2E.Message.ICall|null);
/** Message chat */
chat?: (E2E.Message.IChat|null);
/** Message protocolMessage */
protocolMessage?: (E2E.Message.IProtocolMessage|null);
/** Message contactsArrayMessage */
contactsArrayMessage?: (E2E.Message.IContactsArrayMessage|null);
/** Message highlyStructuredMessage */
highlyStructuredMessage?: (E2E.Message.IHighlyStructuredMessage|null);
/** Message fastRatchetKeySenderKeyDistributionMessage */
fastRatchetKeySenderKeyDistributionMessage?: (E2E.Message.ISenderKeyDistributionMessage|null);
/** Message sendPaymentMessage */
sendPaymentMessage?: (E2E.Message.ISendPaymentMessage|null);
/** Message liveLocationMessage */
liveLocationMessage?: (E2E.Message.ILiveLocationMessage|null);
/** Message requestPaymentMessage */
requestPaymentMessage?: (E2E.Message.IRequestPaymentMessage|null);
/** Message declinePaymentRequestMessage */
declinePaymentRequestMessage?: (E2E.Message.IDeclinePaymentRequestMessage|null);
/** Message cancelPaymentRequestMessage */
cancelPaymentRequestMessage?: (E2E.Message.ICancelPaymentRequestMessage|null);
/** Message templateMessage */
templateMessage?: (E2E.Message.ITemplateMessage|null);
/** Message stickerMessage */
stickerMessage?: (E2E.Message.IStickerMessage|null);
/** Message groupInviteMessage */
groupInviteMessage?: (E2E.Message.IGroupInviteMessage|null);
/** Message templateButtonReplyMessage */
templateButtonReplyMessage?: (E2E.Message.ITemplateButtonReplyMessage|null);
/** Message productMessage */
productMessage?: (E2E.Message.IProductMessage|null);
/** Message deviceSentMessage */
deviceSentMessage?: (E2E.Message.IDeviceSentMessage|null);
/** Message messageContextInfo */
messageContextInfo?: (E2E.IMessageContextInfo|null);
/** Message listMessage */
listMessage?: (E2E.Message.IListMessage|null);
/** Message viewOnceMessage */
viewOnceMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message orderMessage */
orderMessage?: (E2E.Message.IOrderMessage|null);
/** Message listResponseMessage */
listResponseMessage?: (E2E.Message.IListResponseMessage|null);
/** Message ephemeralMessage */
ephemeralMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message invoiceMessage */
invoiceMessage?: (E2E.Message.IInvoiceMessage|null);
/** Message buttonsMessage */
buttonsMessage?: (E2E.Message.IButtonsMessage|null);
/** Message buttonsResponseMessage */
buttonsResponseMessage?: (E2E.Message.IButtonsResponseMessage|null);
/** Message paymentInviteMessage */
paymentInviteMessage?: (E2E.Message.IPaymentInviteMessage|null);
/** Message interactiveMessage */
interactiveMessage?: (E2E.Message.IInteractiveMessage|null);
/** Message reactionMessage */
reactionMessage?: (E2E.Message.IReactionMessage|null);
/** Message stickerSyncRmrMessage */
stickerSyncRmrMessage?: (E2E.Message.IStickerSyncRMRMessage|null);
/** Message interactiveResponseMessage */
interactiveResponseMessage?: (E2E.Message.IInteractiveResponseMessage|null);
/** Message pollCreationMessage */
pollCreationMessage?: (E2E.Message.IPollCreationMessage|null);
/** Message pollUpdateMessage */
pollUpdateMessage?: (E2E.Message.IPollUpdateMessage|null);
/** Message keepInChatMessage */
keepInChatMessage?: (E2E.Message.IKeepInChatMessage|null);
/** Message documentWithCaptionMessage */
documentWithCaptionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message requestPhoneNumberMessage */
requestPhoneNumberMessage?: (E2E.Message.IRequestPhoneNumberMessage|null);
/** Message viewOnceMessageV2 */
viewOnceMessageV2?: (E2E.Message.IFutureProofMessage|null);
/** Message encReactionMessage */
encReactionMessage?: (E2E.Message.IEncReactionMessage|null);
/** Message editedMessage */
editedMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message viewOnceMessageV2Extension */
viewOnceMessageV2Extension?: (E2E.Message.IFutureProofMessage|null);
/** Message pollCreationMessageV2 */
pollCreationMessageV2?: (E2E.Message.IPollCreationMessage|null);
/** Message scheduledCallCreationMessage */
scheduledCallCreationMessage?: (E2E.Message.IScheduledCallCreationMessage|null);
/** Message groupMentionedMessage */
groupMentionedMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message pinInChatMessage */
pinInChatMessage?: (E2E.Message.IPinInChatMessage|null);
/** Message pollCreationMessageV3 */
pollCreationMessageV3?: (E2E.Message.IPollCreationMessage|null);
/** Message scheduledCallEditMessage */
scheduledCallEditMessage?: (E2E.Message.IScheduledCallEditMessage|null);
/** Message ptvMessage */
ptvMessage?: (E2E.Message.IVideoMessage|null);
/** Message botInvokeMessage */
botInvokeMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message callLogMesssage */
callLogMesssage?: (E2E.Message.ICallLogMessage|null);
/** Message messageHistoryBundle */
messageHistoryBundle?: (E2E.Message.IMessageHistoryBundle|null);
/** Message encCommentMessage */
encCommentMessage?: (E2E.Message.IEncCommentMessage|null);
/** Message bcallMessage */
bcallMessage?: (E2E.Message.IBCallMessage|null);
/** Message lottieStickerMessage */
lottieStickerMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message eventMessage */
eventMessage?: (E2E.Message.IEventMessage|null);
/** Message encEventResponseMessage */
encEventResponseMessage?: (E2E.Message.IEncEventResponseMessage|null);
/** Message commentMessage */
commentMessage?: (E2E.Message.ICommentMessage|null);
/** Message newsletterAdminInviteMessage */
newsletterAdminInviteMessage?: (E2E.Message.INewsletterAdminInviteMessage|null);
/** Message placeholderMessage */
placeholderMessage?: (E2E.Message.IPlaceholderMessage|null);
/** Message secretEncryptedMessage */
secretEncryptedMessage?: (E2E.Message.ISecretEncryptedMessage|null);
/** Message albumMessage */
albumMessage?: (E2E.Message.IAlbumMessage|null);
/** Message eventCoverImage */
eventCoverImage?: (E2E.Message.IFutureProofMessage|null);
/** Message stickerPackMessage */
stickerPackMessage?: (E2E.Message.IStickerPackMessage|null);
/** Message statusMentionMessage */
statusMentionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message pollResultSnapshotMessage */
pollResultSnapshotMessage?: (E2E.Message.IPollResultSnapshotMessage|null);
/** Message pollCreationOptionImageMessage */
pollCreationOptionImageMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message associatedChildMessage */
associatedChildMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message groupStatusMentionMessage */
groupStatusMentionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message pollCreationMessageV4 */
pollCreationMessageV4?: (E2E.Message.IFutureProofMessage|null);
/** Message pollCreationMessageV5 */
pollCreationMessageV5?: (E2E.Message.IFutureProofMessage|null);
/** Message statusAddYours */
statusAddYours?: (E2E.Message.IFutureProofMessage|null);
/** Message groupStatusMessage */
groupStatusMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message richResponseMessage */
richResponseMessage?: (E2E.IAIRichResponseMessage|null);
/** Message statusNotificationMessage */
statusNotificationMessage?: (E2E.Message.IStatusNotificationMessage|null);
/** Message limitSharingMessage */
limitSharingMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message botTaskMessage */
botTaskMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message questionMessage */
questionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message messageHistoryNotice */
messageHistoryNotice?: (E2E.Message.IMessageHistoryNotice|null);
/** Message groupStatusMessageV2 */
groupStatusMessageV2?: (E2E.Message.IFutureProofMessage|null);
/** Message botForwardedMessage */
botForwardedMessage?: (E2E.Message.IFutureProofMessage|null);
}
/** Represents a Message. */
class Message implements IMessage {
/**
* Constructs a new Message.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.IMessage);
/** Message conversation. */
public conversation?: (string|null);
/** Message senderKeyDistributionMessage. */
public senderKeyDistributionMessage?: (E2E.Message.ISenderKeyDistributionMessage|null);
/** Message imageMessage. */
public imageMessage?: (E2E.Message.IImageMessage|null);
/** Message contactMessage. */
public contactMessage?: (E2E.Message.IContactMessage|null);
/** Message locationMessage. */
public locationMessage?: (E2E.Message.ILocationMessage|null);
/** Message extendedTextMessage. */
public extendedTextMessage?: (E2E.Message.IExtendedTextMessage|null);
/** Message documentMessage. */
public documentMessage?: (E2E.Message.IDocumentMessage|null);
/** Message audioMessage. */
public audioMessage?: (E2E.Message.IAudioMessage|null);
/** Message videoMessage. */
public videoMessage?: (E2E.Message.IVideoMessage|null);
/** Message call. */
public call?: (E2E.Message.ICall|null);
/** Message chat. */
public chat?: (E2E.Message.IChat|null);
/** Message protocolMessage. */
public protocolMessage?: (E2E.Message.IProtocolMessage|null);
/** Message contactsArrayMessage. */
public contactsArrayMessage?: (E2E.Message.IContactsArrayMessage|null);
/** Message highlyStructuredMessage. */
public highlyStructuredMessage?: (E2E.Message.IHighlyStructuredMessage|null);
/** Message fastRatchetKeySenderKeyDistributionMessage. */
public fastRatchetKeySenderKeyDistributionMessage?: (E2E.Message.ISenderKeyDistributionMessage|null);
/** Message sendPaymentMessage. */
public sendPaymentMessage?: (E2E.Message.ISendPaymentMessage|null);
/** Message liveLocationMessage. */
public liveLocationMessage?: (E2E.Message.ILiveLocationMessage|null);
/** Message requestPaymentMessage. */
public requestPaymentMessage?: (E2E.Message.IRequestPaymentMessage|null);
/** Message declinePaymentRequestMessage. */
public declinePaymentRequestMessage?: (E2E.Message.IDeclinePaymentRequestMessage|null);
/** Message cancelPaymentRequestMessage. */
public cancelPaymentRequestMessage?: (E2E.Message.ICancelPaymentRequestMessage|null);
/** Message templateMessage. */
public templateMessage?: (E2E.Message.ITemplateMessage|null);
/** Message stickerMessage. */
public stickerMessage?: (E2E.Message.IStickerMessage|null);
/** Message groupInviteMessage. */
public groupInviteMessage?: (E2E.Message.IGroupInviteMessage|null);
/** Message templateButtonReplyMessage. */
public templateButtonReplyMessage?: (E2E.Message.ITemplateButtonReplyMessage|null);
/** Message productMessage. */
public productMessage?: (E2E.Message.IProductMessage|null);
/** Message deviceSentMessage. */
public deviceSentMessage?: (E2E.Message.IDeviceSentMessage|null);
/** Message messageContextInfo. */
public messageContextInfo?: (E2E.IMessageContextInfo|null);
/** Message listMessage. */
public listMessage?: (E2E.Message.IListMessage|null);
/** Message viewOnceMessage. */
public viewOnceMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message orderMessage. */
public orderMessage?: (E2E.Message.IOrderMessage|null);
/** Message listResponseMessage. */
public listResponseMessage?: (E2E.Message.IListResponseMessage|null);
/** Message ephemeralMessage. */
public ephemeralMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message invoiceMessage. */
public invoiceMessage?: (E2E.Message.IInvoiceMessage|null);
/** Message buttonsMessage. */
public buttonsMessage?: (E2E.Message.IButtonsMessage|null);
/** Message buttonsResponseMessage. */
public buttonsResponseMessage?: (E2E.Message.IButtonsResponseMessage|null);
/** Message paymentInviteMessage. */
public paymentInviteMessage?: (E2E.Message.IPaymentInviteMessage|null);
/** Message interactiveMessage. */
public interactiveMessage?: (E2E.Message.IInteractiveMessage|null);
/** Message reactionMessage. */
public reactionMessage?: (E2E.Message.IReactionMessage|null);
/** Message stickerSyncRmrMessage. */
public stickerSyncRmrMessage?: (E2E.Message.IStickerSyncRMRMessage|null);
/** Message interactiveResponseMessage. */
public interactiveResponseMessage?: (E2E.Message.IInteractiveResponseMessage|null);
/** Message pollCreationMessage. */
public pollCreationMessage?: (E2E.Message.IPollCreationMessage|null);
/** Message pollUpdateMessage. */
public pollUpdateMessage?: (E2E.Message.IPollUpdateMessage|null);
/** Message keepInChatMessage. */
public keepInChatMessage?: (E2E.Message.IKeepInChatMessage|null);
/** Message documentWithCaptionMessage. */
public documentWithCaptionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message requestPhoneNumberMessage. */
public requestPhoneNumberMessage?: (E2E.Message.IRequestPhoneNumberMessage|null);
/** Message viewOnceMessageV2. */
public viewOnceMessageV2?: (E2E.Message.IFutureProofMessage|null);
/** Message encReactionMessage. */
public encReactionMessage?: (E2E.Message.IEncReactionMessage|null);
/** Message editedMessage. */
public editedMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message viewOnceMessageV2Extension. */
public viewOnceMessageV2Extension?: (E2E.Message.IFutureProofMessage|null);
/** Message pollCreationMessageV2. */
public pollCreationMessageV2?: (E2E.Message.IPollCreationMessage|null);
/** Message scheduledCallCreationMessage. */
public scheduledCallCreationMessage?: (E2E.Message.IScheduledCallCreationMessage|null);
/** Message groupMentionedMessage. */
public groupMentionedMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message pinInChatMessage. */
public pinInChatMessage?: (E2E.Message.IPinInChatMessage|null);
/** Message pollCreationMessageV3. */
public pollCreationMessageV3?: (E2E.Message.IPollCreationMessage|null);
/** Message scheduledCallEditMessage. */
public scheduledCallEditMessage?: (E2E.Message.IScheduledCallEditMessage|null);
/** Message ptvMessage. */
public ptvMessage?: (E2E.Message.IVideoMessage|null);
/** Message botInvokeMessage. */
public botInvokeMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message callLogMesssage. */
public callLogMesssage?: (E2E.Message.ICallLogMessage|null);
/** Message messageHistoryBundle. */
public messageHistoryBundle?: (E2E.Message.IMessageHistoryBundle|null);
/** Message encCommentMessage. */
public encCommentMessage?: (E2E.Message.IEncCommentMessage|null);
/** Message bcallMessage. */
public bcallMessage?: (E2E.Message.IBCallMessage|null);
/** Message lottieStickerMessage. */
public lottieStickerMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message eventMessage. */
public eventMessage?: (E2E.Message.IEventMessage|null);
/** Message encEventResponseMessage. */
public encEventResponseMessage?: (E2E.Message.IEncEventResponseMessage|null);
/** Message commentMessage. */
public commentMessage?: (E2E.Message.ICommentMessage|null);
/** Message newsletterAdminInviteMessage. */
public newsletterAdminInviteMessage?: (E2E.Message.INewsletterAdminInviteMessage|null);
/** Message placeholderMessage. */
public placeholderMessage?: (E2E.Message.IPlaceholderMessage|null);
/** Message secretEncryptedMessage. */
public secretEncryptedMessage?: (E2E.Message.ISecretEncryptedMessage|null);
/** Message albumMessage. */
public albumMessage?: (E2E.Message.IAlbumMessage|null);
/** Message eventCoverImage. */
public eventCoverImage?: (E2E.Message.IFutureProofMessage|null);
/** Message stickerPackMessage. */
public stickerPackMessage?: (E2E.Message.IStickerPackMessage|null);
/** Message statusMentionMessage. */
public statusMentionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message pollResultSnapshotMessage. */
public pollResultSnapshotMessage?: (E2E.Message.IPollResultSnapshotMessage|null);
/** Message pollCreationOptionImageMessage. */
public pollCreationOptionImageMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message associatedChildMessage. */
public associatedChildMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message groupStatusMentionMessage. */
public groupStatusMentionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message pollCreationMessageV4. */
public pollCreationMessageV4?: (E2E.Message.IFutureProofMessage|null);
/** Message pollCreationMessageV5. */
public pollCreationMessageV5?: (E2E.Message.IFutureProofMessage|null);
/** Message statusAddYours. */
public statusAddYours?: (E2E.Message.IFutureProofMessage|null);
/** Message groupStatusMessage. */
public groupStatusMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message richResponseMessage. */
public richResponseMessage?: (E2E.IAIRichResponseMessage|null);
/** Message statusNotificationMessage. */
public statusNotificationMessage?: (E2E.Message.IStatusNotificationMessage|null);
/** Message limitSharingMessage. */
public limitSharingMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message botTaskMessage. */
public botTaskMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message questionMessage. */
public questionMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message messageHistoryNotice. */
public messageHistoryNotice?: (E2E.Message.IMessageHistoryNotice|null);
/** Message groupStatusMessageV2. */
public groupStatusMessageV2?: (E2E.Message.IFutureProofMessage|null);
/** Message botForwardedMessage. */
public botForwardedMessage?: (E2E.Message.IFutureProofMessage|null);
/** Message _conversation. */
public _conversation?: "conversation";
/** Message _senderKeyDistributionMessage. */
public _senderKeyDistributionMessage?: "senderKeyDistributionMessage";
/** Message _imageMessage. */
public _imageMessage?: "imageMessage";
/** Message _contactMessage. */
public _contactMessage?: "contactMessage";
/** Message _locationMessage. */
public _locationMessage?: "locationMessage";
/** Message _extendedTextMessage. */
public _extendedTextMessage?: "extendedTextMessage";
/** Message _documentMessage. */
public _documentMessage?: "documentMessage";
/** Message _audioMessage. */
public _audioMessage?: "audioMessage";
/** Message _videoMessage. */
public _videoMessage?: "videoMessage";
/** Message _call. */
public _call?: "call";
/** Message _chat. */
public _chat?: "chat";
/** Message _protocolMessage. */
public _protocolMessage?: "protocolMessage";
/** Message _contactsArrayMessage. */
public _contactsArrayMessage?: "contactsArrayMessage";
/** Message _highlyStructuredMessage. */
public _highlyStructuredMessage?: "highlyStructuredMessage";
/** Message _fastRatchetKeySenderKeyDistributionMessage. */
public _fastRatchetKeySenderKeyDistributionMessage?: "fastRatchetKeySenderKeyDistributionMessage";
/** Message _sendPaymentMessage. */
public _sendPaymentMessage?: "sendPaymentMessage";
/** Message _liveLocationMessage. */
public _liveLocationMessage?: "liveLocationMessage";
/** Message _requestPaymentMessage. */
public _requestPaymentMessage?: "requestPaymentMessage";
/** Message _declinePaymentRequestMessage. */
public _declinePaymentRequestMessage?: "declinePaymentRequestMessage";
/** Message _cancelPaymentRequestMessage. */
public _cancelPaymentRequestMessage?: "cancelPaymentRequestMessage";
/** Message _templateMessage. */
public _templateMessage?: "templateMessage";
/** Message _stickerMessage. */
public _stickerMessage?: "stickerMessage";
/** Message _groupInviteMessage. */
public _groupInviteMessage?: "groupInviteMessage";
/** Message _templateButtonReplyMessage. */
public _templateButtonReplyMessage?: "templateButtonReplyMessage";
/** Message _productMessage. */
public _productMessage?: "productMessage";
/** Message _deviceSentMessage. */
public _deviceSentMessage?: "deviceSentMessage";
/** Message _messageContextInfo. */
public _messageContextInfo?: "messageContextInfo";
/** Message _listMessage. */
public _listMessage?: "listMessage";
/** Message _viewOnceMessage. */
public _viewOnceMessage?: "viewOnceMessage";
/** Message _orderMessage. */
public _orderMessage?: "orderMessage";
/** Message _listResponseMessage. */
public _listResponseMessage?: "listResponseMessage";
/** Message _ephemeralMessage. */
public _ephemeralMessage?: "ephemeralMessage";
/** Message _invoiceMessage. */
public _invoiceMessage?: "invoiceMessage";
/** Message _buttonsMessage. */
public _buttonsMessage?: "buttonsMessage";
/** Message _buttonsResponseMessage. */
public _buttonsResponseMessage?: "buttonsResponseMessage";
/** Message _paymentInviteMessage. */
public _paymentInviteMessage?: "paymentInviteMessage";
/** Message _interactiveMessage. */
public _interactiveMessage?: "interactiveMessage";
/** Message _reactionMessage. */
public _reactionMessage?: "reactionMessage";
/** Message _stickerSyncRmrMessage. */
public _stickerSyncRmrMessage?: "stickerSyncRmrMessage";
/** Message _interactiveResponseMessage. */
public _interactiveResponseMessage?: "interactiveResponseMessage";
/** Message _pollCreationMessage. */
public _pollCreationMessage?: "pollCreationMessage";
/** Message _pollUpdateMessage. */
public _pollUpdateMessage?: "pollUpdateMessage";
/** Message _keepInChatMessage. */
public _keepInChatMessage?: "keepInChatMessage";
/** Message _documentWithCaptionMessage. */
public _documentWithCaptionMessage?: "documentWithCaptionMessage";
/** Message _requestPhoneNumberMessage. */
public _requestPhoneNumberMessage?: "requestPhoneNumberMessage";
/** Message _viewOnceMessageV2. */
public _viewOnceMessageV2?: "viewOnceMessageV2";
/** Message _encReactionMessage. */
public _encReactionMessage?: "encReactionMessage";
/** Message _editedMessage. */
public _editedMessage?: "editedMessage";
/** Message _viewOnceMessageV2Extension. */
public _viewOnceMessageV2Extension?: "viewOnceMessageV2Extension";
/** Message _pollCreationMessageV2. */
public _pollCreationMessageV2?: "pollCreationMessageV2";
/** Message _scheduledCallCreationMessage. */
public _scheduledCallCreationMessage?: "scheduledCallCreationMessage";
/** Message _groupMentionedMessage. */
public _groupMentionedMessage?: "groupMentionedMessage";
/** Message _pinInChatMessage. */
public _pinInChatMessage?: "pinInChatMessage";
/** Message _pollCreationMessageV3. */
public _pollCreationMessageV3?: "pollCreationMessageV3";
/** Message _scheduledCallEditMessage. */
public _scheduledCallEditMessage?: "scheduledCallEditMessage";
/** Message _ptvMessage. */
public _ptvMessage?: "ptvMessage";
/** Message _botInvokeMessage. */
public _botInvokeMessage?: "botInvokeMessage";
/** Message _callLogMesssage. */
public _callLogMesssage?: "callLogMesssage";
/** Message _messageHistoryBundle. */
public _messageHistoryBundle?: "messageHistoryBundle";
/** Message _encCommentMessage. */
public _encCommentMessage?: "encCommentMessage";
/** Message _bcallMessage. */
public _bcallMessage?: "bcallMessage";
/** Message _lottieStickerMessage. */
public _lottieStickerMessage?: "lottieStickerMessage";
/** Message _eventMessage. */
public _eventMessage?: "eventMessage";
/** Message _encEventResponseMessage. */
public _encEventResponseMessage?: "encEventResponseMessage";
/** Message _commentMessage. */
public _commentMessage?: "commentMessage";
/** Message _newsletterAdminInviteMessage. */
public _newsletterAdminInviteMessage?: "newsletterAdminInviteMessage";
/** Message _placeholderMessage. */
public _placeholderMessage?: "placeholderMessage";
/** Message _secretEncryptedMessage. */
public _secretEncryptedMessage?: "secretEncryptedMessage";
/** Message _albumMessage. */
public _albumMessage?: "albumMessage";
/** Message _eventCoverImage. */
public _eventCoverImage?: "eventCoverImage";
/** Message _stickerPackMessage. */
public _stickerPackMessage?: "stickerPackMessage";
/** Message _statusMentionMessage. */
public _statusMentionMessage?: "statusMentionMessage";
/** Message _pollResultSnapshotMessage. */
public _pollResultSnapshotMessage?: "pollResultSnapshotMessage";
/** Message _pollCreationOptionImageMessage. */
public _pollCreationOptionImageMessage?: "pollCreationOptionImageMessage";
/** Message _associatedChildMessage. */
public _associatedChildMessage?: "associatedChildMessage";
/** Message _groupStatusMentionMessage. */
public _groupStatusMentionMessage?: "groupStatusMentionMessage";
/** Message _pollCreationMessageV4. */
public _pollCreationMessageV4?: "pollCreationMessageV4";
/** Message _pollCreationMessageV5. */
public _pollCreationMessageV5?: "pollCreationMessageV5";
/** Message _statusAddYours. */
public _statusAddYours?: "statusAddYours";
/** Message _groupStatusMessage. */
public _groupStatusMessage?: "groupStatusMessage";
/** Message _richResponseMessage. */
public _richResponseMessage?: "richResponseMessage";
/** Message _statusNotificationMessage. */
public _statusNotificationMessage?: "statusNotificationMessage";
/** Message _limitSharingMessage. */
public _limitSharingMessage?: "limitSharingMessage";
/** Message _botTaskMessage. */
public _botTaskMessage?: "botTaskMessage";
/** Message _questionMessage. */
public _questionMessage?: "questionMessage";
/** Message _messageHistoryNotice. */
public _messageHistoryNotice?: "messageHistoryNotice";
/** Message _groupStatusMessageV2. */
public _groupStatusMessageV2?: "groupStatusMessageV2";
/** Message _botForwardedMessage. */
public _botForwardedMessage?: "botForwardedMessage";
/**
* Creates a new Message instance using the specified properties.
* @param [properties] Properties to set
* @returns Message instance
*/
public static create(properties?: E2E.IMessage): E2E.Message;
/**
* Encodes the specified Message message. Does not implicitly {@link E2E.Message.verify|verify} messages.
* @param message Message message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Message message, length delimited. Does not implicitly {@link E2E.Message.verify|verify} messages.
* @param message Message message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Message message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Message
* @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.Message;
/**
* Decodes a Message message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Message
* @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.Message;
/**
* Verifies a Message 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 Message message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Message
*/
public static fromObject(object: { [k: string]: any }): E2E.Message;
/**
* Creates a plain object from a Message message. Also converts values to other types if specified.
* @param message Message
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Message to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Message
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace Message {
/** Properties of an AlbumMessage. */
interface IAlbumMessage {
/** AlbumMessage expectedImageCount */
expectedImageCount?: (number|null);
/** AlbumMessage expectedVideoCount */
expectedVideoCount?: (number|null);
/** AlbumMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents an AlbumMessage. */
class AlbumMessage implements IAlbumMessage {
/**
* Constructs a new AlbumMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAlbumMessage);
/** AlbumMessage expectedImageCount. */
public expectedImageCount?: (number|null);
/** AlbumMessage expectedVideoCount. */
public expectedVideoCount?: (number|null);
/** AlbumMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** AlbumMessage _expectedImageCount. */
public _expectedImageCount?: "expectedImageCount";
/** AlbumMessage _expectedVideoCount. */
public _expectedVideoCount?: "expectedVideoCount";
/** AlbumMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new AlbumMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns AlbumMessage instance
*/
public static create(properties?: E2E.Message.IAlbumMessage): E2E.Message.AlbumMessage;
/**
* Encodes the specified AlbumMessage message. Does not implicitly {@link E2E.Message.AlbumMessage.verify|verify} messages.
* @param message AlbumMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAlbumMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AlbumMessage message, length delimited. Does not implicitly {@link E2E.Message.AlbumMessage.verify|verify} messages.
* @param message AlbumMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAlbumMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AlbumMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AlbumMessage
* @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.Message.AlbumMessage;
/**
* Decodes an AlbumMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AlbumMessage
* @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.Message.AlbumMessage;
/**
* Verifies an AlbumMessage 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 AlbumMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AlbumMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AlbumMessage;
/**
* Creates a plain object from an AlbumMessage message. Also converts values to other types if specified.
* @param message AlbumMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AlbumMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AlbumMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AlbumMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AppStateFatalExceptionNotification. */
interface IAppStateFatalExceptionNotification {
/** AppStateFatalExceptionNotification collectionNames */
collectionNames?: (string[]|null);
/** AppStateFatalExceptionNotification timestamp */
timestamp?: (number|Long|null);
}
/** Represents an AppStateFatalExceptionNotification. */
class AppStateFatalExceptionNotification implements IAppStateFatalExceptionNotification {
/**
* Constructs a new AppStateFatalExceptionNotification.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAppStateFatalExceptionNotification);
/** AppStateFatalExceptionNotification collectionNames. */
public collectionNames: string[];
/** AppStateFatalExceptionNotification timestamp. */
public timestamp?: (number|Long|null);
/** AppStateFatalExceptionNotification _timestamp. */
public _timestamp?: "timestamp";
/**
* Creates a new AppStateFatalExceptionNotification instance using the specified properties.
* @param [properties] Properties to set
* @returns AppStateFatalExceptionNotification instance
*/
public static create(properties?: E2E.Message.IAppStateFatalExceptionNotification): E2E.Message.AppStateFatalExceptionNotification;
/**
* Encodes the specified AppStateFatalExceptionNotification message. Does not implicitly {@link E2E.Message.AppStateFatalExceptionNotification.verify|verify} messages.
* @param message AppStateFatalExceptionNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAppStateFatalExceptionNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppStateFatalExceptionNotification message, length delimited. Does not implicitly {@link E2E.Message.AppStateFatalExceptionNotification.verify|verify} messages.
* @param message AppStateFatalExceptionNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAppStateFatalExceptionNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppStateFatalExceptionNotification message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppStateFatalExceptionNotification
* @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.Message.AppStateFatalExceptionNotification;
/**
* Decodes an AppStateFatalExceptionNotification message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppStateFatalExceptionNotification
* @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.Message.AppStateFatalExceptionNotification;
/**
* Verifies an AppStateFatalExceptionNotification 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 AppStateFatalExceptionNotification message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppStateFatalExceptionNotification
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AppStateFatalExceptionNotification;
/**
* Creates a plain object from an AppStateFatalExceptionNotification message. Also converts values to other types if specified.
* @param message AppStateFatalExceptionNotification
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AppStateFatalExceptionNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppStateFatalExceptionNotification to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppStateFatalExceptionNotification
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AppStateSyncKey. */
interface IAppStateSyncKey {
/** AppStateSyncKey keyId */
keyId?: (E2E.Message.IAppStateSyncKeyId|null);
/** AppStateSyncKey keyData */
keyData?: (E2E.Message.IAppStateSyncKeyData|null);
}
/** Represents an AppStateSyncKey. */
class AppStateSyncKey implements IAppStateSyncKey {
/**
* Constructs a new AppStateSyncKey.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAppStateSyncKey);
/** AppStateSyncKey keyId. */
public keyId?: (E2E.Message.IAppStateSyncKeyId|null);
/** AppStateSyncKey keyData. */
public keyData?: (E2E.Message.IAppStateSyncKeyData|null);
/** AppStateSyncKey _keyId. */
public _keyId?: "keyId";
/** AppStateSyncKey _keyData. */
public _keyData?: "keyData";
/**
* Creates a new AppStateSyncKey instance using the specified properties.
* @param [properties] Properties to set
* @returns AppStateSyncKey instance
*/
public static create(properties?: E2E.Message.IAppStateSyncKey): E2E.Message.AppStateSyncKey;
/**
* Encodes the specified AppStateSyncKey message. Does not implicitly {@link E2E.Message.AppStateSyncKey.verify|verify} messages.
* @param message AppStateSyncKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppStateSyncKey message, length delimited. Does not implicitly {@link E2E.Message.AppStateSyncKey.verify|verify} messages.
* @param message AppStateSyncKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppStateSyncKey message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppStateSyncKey
* @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.Message.AppStateSyncKey;
/**
* Decodes an AppStateSyncKey message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppStateSyncKey
* @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.Message.AppStateSyncKey;
/**
* Verifies an AppStateSyncKey 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 AppStateSyncKey message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppStateSyncKey
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AppStateSyncKey;
/**
* Creates a plain object from an AppStateSyncKey message. Also converts values to other types if specified.
* @param message AppStateSyncKey
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AppStateSyncKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppStateSyncKey to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppStateSyncKey
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AppStateSyncKeyData. */
interface IAppStateSyncKeyData {
/** AppStateSyncKeyData keyData */
keyData?: (Uint8Array|null);
/** AppStateSyncKeyData fingerprint */
fingerprint?: (E2E.Message.IAppStateSyncKeyFingerprint|null);
/** AppStateSyncKeyData timestamp */
timestamp?: (number|Long|null);
}
/** Represents an AppStateSyncKeyData. */
class AppStateSyncKeyData implements IAppStateSyncKeyData {
/**
* Constructs a new AppStateSyncKeyData.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAppStateSyncKeyData);
/** AppStateSyncKeyData keyData. */
public keyData?: (Uint8Array|null);
/** AppStateSyncKeyData fingerprint. */
public fingerprint?: (E2E.Message.IAppStateSyncKeyFingerprint|null);
/** AppStateSyncKeyData timestamp. */
public timestamp?: (number|Long|null);
/** AppStateSyncKeyData _keyData. */
public _keyData?: "keyData";
/** AppStateSyncKeyData _fingerprint. */
public _fingerprint?: "fingerprint";
/** AppStateSyncKeyData _timestamp. */
public _timestamp?: "timestamp";
/**
* Creates a new AppStateSyncKeyData instance using the specified properties.
* @param [properties] Properties to set
* @returns AppStateSyncKeyData instance
*/
public static create(properties?: E2E.Message.IAppStateSyncKeyData): E2E.Message.AppStateSyncKeyData;
/**
* Encodes the specified AppStateSyncKeyData message. Does not implicitly {@link E2E.Message.AppStateSyncKeyData.verify|verify} messages.
* @param message AppStateSyncKeyData message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppStateSyncKeyData message, length delimited. Does not implicitly {@link E2E.Message.AppStateSyncKeyData.verify|verify} messages.
* @param message AppStateSyncKeyData message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppStateSyncKeyData message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppStateSyncKeyData
* @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.Message.AppStateSyncKeyData;
/**
* Decodes an AppStateSyncKeyData message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppStateSyncKeyData
* @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.Message.AppStateSyncKeyData;
/**
* Verifies an AppStateSyncKeyData 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 AppStateSyncKeyData message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppStateSyncKeyData
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AppStateSyncKeyData;
/**
* Creates a plain object from an AppStateSyncKeyData message. Also converts values to other types if specified.
* @param message AppStateSyncKeyData
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AppStateSyncKeyData, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppStateSyncKeyData to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppStateSyncKeyData
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AppStateSyncKeyFingerprint. */
interface IAppStateSyncKeyFingerprint {
/** AppStateSyncKeyFingerprint rawId */
rawId?: (number|null);
/** AppStateSyncKeyFingerprint currentIndex */
currentIndex?: (number|null);
/** AppStateSyncKeyFingerprint deviceIndexes */
deviceIndexes?: (number[]|null);
}
/** Represents an AppStateSyncKeyFingerprint. */
class AppStateSyncKeyFingerprint implements IAppStateSyncKeyFingerprint {
/**
* Constructs a new AppStateSyncKeyFingerprint.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAppStateSyncKeyFingerprint);
/** AppStateSyncKeyFingerprint rawId. */
public rawId?: (number|null);
/** AppStateSyncKeyFingerprint currentIndex. */
public currentIndex?: (number|null);
/** AppStateSyncKeyFingerprint deviceIndexes. */
public deviceIndexes: number[];
/** AppStateSyncKeyFingerprint _rawId. */
public _rawId?: "rawId";
/** AppStateSyncKeyFingerprint _currentIndex. */
public _currentIndex?: "currentIndex";
/**
* Creates a new AppStateSyncKeyFingerprint instance using the specified properties.
* @param [properties] Properties to set
* @returns AppStateSyncKeyFingerprint instance
*/
public static create(properties?: E2E.Message.IAppStateSyncKeyFingerprint): E2E.Message.AppStateSyncKeyFingerprint;
/**
* Encodes the specified AppStateSyncKeyFingerprint message. Does not implicitly {@link E2E.Message.AppStateSyncKeyFingerprint.verify|verify} messages.
* @param message AppStateSyncKeyFingerprint message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppStateSyncKeyFingerprint message, length delimited. Does not implicitly {@link E2E.Message.AppStateSyncKeyFingerprint.verify|verify} messages.
* @param message AppStateSyncKeyFingerprint message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppStateSyncKeyFingerprint
* @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.Message.AppStateSyncKeyFingerprint;
/**
* Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppStateSyncKeyFingerprint
* @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.Message.AppStateSyncKeyFingerprint;
/**
* Verifies an AppStateSyncKeyFingerprint 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 AppStateSyncKeyFingerprint message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppStateSyncKeyFingerprint
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AppStateSyncKeyFingerprint;
/**
* Creates a plain object from an AppStateSyncKeyFingerprint message. Also converts values to other types if specified.
* @param message AppStateSyncKeyFingerprint
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AppStateSyncKeyFingerprint, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppStateSyncKeyFingerprint to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppStateSyncKeyFingerprint
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AppStateSyncKeyId. */
interface IAppStateSyncKeyId {
/** AppStateSyncKeyId keyId */
keyId?: (Uint8Array|null);
}
/** Represents an AppStateSyncKeyId. */
class AppStateSyncKeyId implements IAppStateSyncKeyId {
/**
* Constructs a new AppStateSyncKeyId.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAppStateSyncKeyId);
/** AppStateSyncKeyId keyId. */
public keyId?: (Uint8Array|null);
/** AppStateSyncKeyId _keyId. */
public _keyId?: "keyId";
/**
* Creates a new AppStateSyncKeyId instance using the specified properties.
* @param [properties] Properties to set
* @returns AppStateSyncKeyId instance
*/
public static create(properties?: E2E.Message.IAppStateSyncKeyId): E2E.Message.AppStateSyncKeyId;
/**
* Encodes the specified AppStateSyncKeyId message. Does not implicitly {@link E2E.Message.AppStateSyncKeyId.verify|verify} messages.
* @param message AppStateSyncKeyId message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppStateSyncKeyId message, length delimited. Does not implicitly {@link E2E.Message.AppStateSyncKeyId.verify|verify} messages.
* @param message AppStateSyncKeyId message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppStateSyncKeyId message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppStateSyncKeyId
* @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.Message.AppStateSyncKeyId;
/**
* Decodes an AppStateSyncKeyId message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppStateSyncKeyId
* @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.Message.AppStateSyncKeyId;
/**
* Verifies an AppStateSyncKeyId 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 AppStateSyncKeyId message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppStateSyncKeyId
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AppStateSyncKeyId;
/**
* Creates a plain object from an AppStateSyncKeyId message. Also converts values to other types if specified.
* @param message AppStateSyncKeyId
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AppStateSyncKeyId, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppStateSyncKeyId to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppStateSyncKeyId
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AppStateSyncKeyRequest. */
interface IAppStateSyncKeyRequest {
/** AppStateSyncKeyRequest keyIds */
keyIds?: (E2E.Message.IAppStateSyncKeyId[]|null);
}
/** Represents an AppStateSyncKeyRequest. */
class AppStateSyncKeyRequest implements IAppStateSyncKeyRequest {
/**
* Constructs a new AppStateSyncKeyRequest.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAppStateSyncKeyRequest);
/** AppStateSyncKeyRequest keyIds. */
public keyIds: E2E.Message.IAppStateSyncKeyId[];
/**
* Creates a new AppStateSyncKeyRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns AppStateSyncKeyRequest instance
*/
public static create(properties?: E2E.Message.IAppStateSyncKeyRequest): E2E.Message.AppStateSyncKeyRequest;
/**
* Encodes the specified AppStateSyncKeyRequest message. Does not implicitly {@link E2E.Message.AppStateSyncKeyRequest.verify|verify} messages.
* @param message AppStateSyncKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAppStateSyncKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppStateSyncKeyRequest message, length delimited. Does not implicitly {@link E2E.Message.AppStateSyncKeyRequest.verify|verify} messages.
* @param message AppStateSyncKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAppStateSyncKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppStateSyncKeyRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppStateSyncKeyRequest
* @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.Message.AppStateSyncKeyRequest;
/**
* Decodes an AppStateSyncKeyRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppStateSyncKeyRequest
* @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.Message.AppStateSyncKeyRequest;
/**
* Verifies an AppStateSyncKeyRequest 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 AppStateSyncKeyRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppStateSyncKeyRequest
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AppStateSyncKeyRequest;
/**
* Creates a plain object from an AppStateSyncKeyRequest message. Also converts values to other types if specified.
* @param message AppStateSyncKeyRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AppStateSyncKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppStateSyncKeyRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppStateSyncKeyRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AppStateSyncKeyShare. */
interface IAppStateSyncKeyShare {
/** AppStateSyncKeyShare keys */
keys?: (E2E.Message.IAppStateSyncKey[]|null);
}
/** Represents an AppStateSyncKeyShare. */
class AppStateSyncKeyShare implements IAppStateSyncKeyShare {
/**
* Constructs a new AppStateSyncKeyShare.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAppStateSyncKeyShare);
/** AppStateSyncKeyShare keys. */
public keys: E2E.Message.IAppStateSyncKey[];
/**
* Creates a new AppStateSyncKeyShare instance using the specified properties.
* @param [properties] Properties to set
* @returns AppStateSyncKeyShare instance
*/
public static create(properties?: E2E.Message.IAppStateSyncKeyShare): E2E.Message.AppStateSyncKeyShare;
/**
* Encodes the specified AppStateSyncKeyShare message. Does not implicitly {@link E2E.Message.AppStateSyncKeyShare.verify|verify} messages.
* @param message AppStateSyncKeyShare message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAppStateSyncKeyShare, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppStateSyncKeyShare message, length delimited. Does not implicitly {@link E2E.Message.AppStateSyncKeyShare.verify|verify} messages.
* @param message AppStateSyncKeyShare message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAppStateSyncKeyShare, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppStateSyncKeyShare message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppStateSyncKeyShare
* @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.Message.AppStateSyncKeyShare;
/**
* Decodes an AppStateSyncKeyShare message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppStateSyncKeyShare
* @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.Message.AppStateSyncKeyShare;
/**
* Verifies an AppStateSyncKeyShare 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 AppStateSyncKeyShare message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppStateSyncKeyShare
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AppStateSyncKeyShare;
/**
* Creates a plain object from an AppStateSyncKeyShare message. Also converts values to other types if specified.
* @param message AppStateSyncKeyShare
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AppStateSyncKeyShare, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppStateSyncKeyShare to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppStateSyncKeyShare
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AudioMessage. */
interface IAudioMessage {
/** AudioMessage url */
url?: (string|null);
/** AudioMessage mimetype */
mimetype?: (string|null);
/** AudioMessage fileSha256 */
fileSha256?: (Uint8Array|null);
/** AudioMessage fileLength */
fileLength?: (number|Long|null);
/** AudioMessage seconds */
seconds?: (number|null);
/** AudioMessage ptt */
ptt?: (boolean|null);
/** AudioMessage mediaKey */
mediaKey?: (Uint8Array|null);
/** AudioMessage fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** AudioMessage directPath */
directPath?: (string|null);
/** AudioMessage mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** AudioMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** AudioMessage streamingSidecar */
streamingSidecar?: (Uint8Array|null);
/** AudioMessage waveform */
waveform?: (Uint8Array|null);
/** AudioMessage backgroundArgb */
backgroundArgb?: (number|null);
/** AudioMessage viewOnce */
viewOnce?: (boolean|null);
/** AudioMessage accessibilityLabel */
accessibilityLabel?: (string|null);
}
/** Represents an AudioMessage. */
class AudioMessage implements IAudioMessage {
/**
* Constructs a new AudioMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IAudioMessage);
/** AudioMessage url. */
public url?: (string|null);
/** AudioMessage mimetype. */
public mimetype?: (string|null);
/** AudioMessage fileSha256. */
public fileSha256?: (Uint8Array|null);
/** AudioMessage fileLength. */
public fileLength?: (number|Long|null);
/** AudioMessage seconds. */
public seconds?: (number|null);
/** AudioMessage ptt. */
public ptt?: (boolean|null);
/** AudioMessage mediaKey. */
public mediaKey?: (Uint8Array|null);
/** AudioMessage fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** AudioMessage directPath. */
public directPath?: (string|null);
/** AudioMessage mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** AudioMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** AudioMessage streamingSidecar. */
public streamingSidecar?: (Uint8Array|null);
/** AudioMessage waveform. */
public waveform?: (Uint8Array|null);
/** AudioMessage backgroundArgb. */
public backgroundArgb?: (number|null);
/** AudioMessage viewOnce. */
public viewOnce?: (boolean|null);
/** AudioMessage accessibilityLabel. */
public accessibilityLabel?: (string|null);
/** AudioMessage _url. */
public _url?: "url";
/** AudioMessage _mimetype. */
public _mimetype?: "mimetype";
/** AudioMessage _fileSha256. */
public _fileSha256?: "fileSha256";
/** AudioMessage _fileLength. */
public _fileLength?: "fileLength";
/** AudioMessage _seconds. */
public _seconds?: "seconds";
/** AudioMessage _ptt. */
public _ptt?: "ptt";
/** AudioMessage _mediaKey. */
public _mediaKey?: "mediaKey";
/** AudioMessage _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** AudioMessage _directPath. */
public _directPath?: "directPath";
/** AudioMessage _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** AudioMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** AudioMessage _streamingSidecar. */
public _streamingSidecar?: "streamingSidecar";
/** AudioMessage _waveform. */
public _waveform?: "waveform";
/** AudioMessage _backgroundArgb. */
public _backgroundArgb?: "backgroundArgb";
/** AudioMessage _viewOnce. */
public _viewOnce?: "viewOnce";
/** AudioMessage _accessibilityLabel. */
public _accessibilityLabel?: "accessibilityLabel";
/**
* Creates a new AudioMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns AudioMessage instance
*/
public static create(properties?: E2E.Message.IAudioMessage): E2E.Message.AudioMessage;
/**
* Encodes the specified AudioMessage message. Does not implicitly {@link E2E.Message.AudioMessage.verify|verify} messages.
* @param message AudioMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AudioMessage message, length delimited. Does not implicitly {@link E2E.Message.AudioMessage.verify|verify} messages.
* @param message AudioMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AudioMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AudioMessage
* @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.Message.AudioMessage;
/**
* Decodes an AudioMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AudioMessage
* @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.Message.AudioMessage;
/**
* Verifies an AudioMessage 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 AudioMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AudioMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.AudioMessage;
/**
* Creates a plain object from an AudioMessage message. Also converts values to other types if specified.
* @param message AudioMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.AudioMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AudioMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AudioMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a BCallMessage. */
interface IBCallMessage {
/** BCallMessage sessionId */
sessionId?: (string|null);
/** BCallMessage mediaType */
mediaType?: (E2E.Message.BCallMessage.MediaType|null);
/** BCallMessage masterKey */
masterKey?: (Uint8Array|null);
/** BCallMessage caption */
caption?: (string|null);
}
/** Represents a BCallMessage. */
class BCallMessage implements IBCallMessage {
/**
* Constructs a new BCallMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IBCallMessage);
/** BCallMessage sessionId. */
public sessionId?: (string|null);
/** BCallMessage mediaType. */
public mediaType?: (E2E.Message.BCallMessage.MediaType|null);
/** BCallMessage masterKey. */
public masterKey?: (Uint8Array|null);
/** BCallMessage caption. */
public caption?: (string|null);
/** BCallMessage _sessionId. */
public _sessionId?: "sessionId";
/** BCallMessage _mediaType. */
public _mediaType?: "mediaType";
/** BCallMessage _masterKey. */
public _masterKey?: "masterKey";
/** BCallMessage _caption. */
public _caption?: "caption";
/**
* Creates a new BCallMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns BCallMessage instance
*/
public static create(properties?: E2E.Message.IBCallMessage): E2E.Message.BCallMessage;
/**
* Encodes the specified BCallMessage message. Does not implicitly {@link E2E.Message.BCallMessage.verify|verify} messages.
* @param message BCallMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IBCallMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BCallMessage message, length delimited. Does not implicitly {@link E2E.Message.BCallMessage.verify|verify} messages.
* @param message BCallMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IBCallMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BCallMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BCallMessage
* @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.Message.BCallMessage;
/**
* Decodes a BCallMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BCallMessage
* @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.Message.BCallMessage;
/**
* Verifies a BCallMessage 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 BCallMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BCallMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.BCallMessage;
/**
* Creates a plain object from a BCallMessage message. Also converts values to other types if specified.
* @param message BCallMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.BCallMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BCallMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BCallMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BCallMessage {
/** MediaType enum. */
enum MediaType {
UNKNOWN = 0,
AUDIO = 1,
VIDEO = 2
}
}
/** Properties of a BotFeedbackMessage. */
interface IBotFeedbackMessage {
/** BotFeedbackMessage messageKey */
messageKey?: (Protocol.IMessageKey|null);
/** BotFeedbackMessage kind */
kind?: (E2E.Message.BotFeedbackMessage.BotFeedbackKind|null);
/** BotFeedbackMessage text */
text?: (string|null);
/** BotFeedbackMessage kindNegative */
kindNegative?: (number|Long|null);
/** BotFeedbackMessage kindPositive */
kindPositive?: (number|Long|null);
/** BotFeedbackMessage kindReport */
kindReport?: (E2E.Message.BotFeedbackMessage.ReportKind|null);
}
/** Represents a BotFeedbackMessage. */
class BotFeedbackMessage implements IBotFeedbackMessage {
/**
* Constructs a new BotFeedbackMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IBotFeedbackMessage);
/** BotFeedbackMessage messageKey. */
public messageKey?: (Protocol.IMessageKey|null);
/** BotFeedbackMessage kind. */
public kind?: (E2E.Message.BotFeedbackMessage.BotFeedbackKind|null);
/** BotFeedbackMessage text. */
public text?: (string|null);
/** BotFeedbackMessage kindNegative. */
public kindNegative?: (number|Long|null);
/** BotFeedbackMessage kindPositive. */
public kindPositive?: (number|Long|null);
/** BotFeedbackMessage kindReport. */
public kindReport?: (E2E.Message.BotFeedbackMessage.ReportKind|null);
/** BotFeedbackMessage _messageKey. */
public _messageKey?: "messageKey";
/** BotFeedbackMessage _kind. */
public _kind?: "kind";
/** BotFeedbackMessage _text. */
public _text?: "text";
/** BotFeedbackMessage _kindNegative. */
public _kindNegative?: "kindNegative";
/** BotFeedbackMessage _kindPositive. */
public _kindPositive?: "kindPositive";
/** BotFeedbackMessage _kindReport. */
public _kindReport?: "kindReport";
/**
* Creates a new BotFeedbackMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns BotFeedbackMessage instance
*/
public static create(properties?: E2E.Message.IBotFeedbackMessage): E2E.Message.BotFeedbackMessage;
/**
* Encodes the specified BotFeedbackMessage message. Does not implicitly {@link E2E.Message.BotFeedbackMessage.verify|verify} messages.
* @param message BotFeedbackMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IBotFeedbackMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified BotFeedbackMessage message, length delimited. Does not implicitly {@link E2E.Message.BotFeedbackMessage.verify|verify} messages.
* @param message BotFeedbackMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IBotFeedbackMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BotFeedbackMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BotFeedbackMessage
* @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.Message.BotFeedbackMessage;
/**
* Decodes a BotFeedbackMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns BotFeedbackMessage
* @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.Message.BotFeedbackMessage;
/**
* Verifies a BotFeedbackMessage 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 BotFeedbackMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns BotFeedbackMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.BotFeedbackMessage;
/**
* Creates a plain object from a BotFeedbackMessage message. Also converts values to other types if specified.
* @param message BotFeedbackMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.BotFeedbackMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this BotFeedbackMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for BotFeedbackMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace BotFeedbackMessage {
/** BotFeedbackKind enum. */
enum BotFeedbackKind {
BOT_FEEDBACK_POSITIVE = 0,
BOT_FEEDBACK_NEGATIVE_GENERIC = 1,
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2,
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3,
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4,
BOT_FEEDBACK_NEGATIVE_SAFE = 5,
BOT_FEEDBACK_NEGATIVE_OTHER = 6,
BOT_FEEDBACK_NEGATIVE_REFUSED = 7,
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8,
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9,
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10,
BOT_FEEDBACK_NEGATIVE_CLARITY = 11,
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12,
BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13,
BOT_FEEDBACK_NEGATIVE = 14
}
/** BotFeedbackKindMultipleNegative enum. */
enum BotFeedbackKindMultipleNegative {
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128,
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256
}
/** BotFeedbackKindMultiplePositive enum. */
enum BotFeedbackKindMultiplePositive {
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1
}
/** ReportKind enum. */
enum ReportKind {
NONE = 0,
GENERIC = 1
}
}
/** Properties of a ButtonsMessage. */
interface IButtonsMessage {
/** ButtonsMessage contentText */
contentText?: (string|null);
/** ButtonsMessage footerText */
footerText?: (string|null);
/** ButtonsMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** ButtonsMessage buttons */
buttons?: (E2E.Message.ButtonsMessage.IButton[]|null);
/** ButtonsMessage headerType */
headerType?: (E2E.Message.ButtonsMessage.HeaderType|null);
/** ButtonsMessage text */
text?: (string|null);
/** ButtonsMessage documentMessage */
documentMessage?: (E2E.Message.IDocumentMessage|null);
/** ButtonsMessage imageMessage */
imageMessage?: (E2E.Message.IImageMessage|null);
/** ButtonsMessage videoMessage */
videoMessage?: (E2E.Message.IVideoMessage|null);
/** ButtonsMessage locationMessage */
locationMessage?: (E2E.Message.ILocationMessage|null);
}
/** Represents a ButtonsMessage. */
class ButtonsMessage implements IButtonsMessage {
/**
* Constructs a new ButtonsMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IButtonsMessage);
/** ButtonsMessage contentText. */
public contentText?: (string|null);
/** ButtonsMessage footerText. */
public footerText?: (string|null);
/** ButtonsMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ButtonsMessage buttons. */
public buttons: E2E.Message.ButtonsMessage.IButton[];
/** ButtonsMessage headerType. */
public headerType?: (E2E.Message.ButtonsMessage.HeaderType|null);
/** ButtonsMessage text. */
public text?: (string|null);
/** ButtonsMessage documentMessage. */
public documentMessage?: (E2E.Message.IDocumentMessage|null);
/** ButtonsMessage imageMessage. */
public imageMessage?: (E2E.Message.IImageMessage|null);
/** ButtonsMessage videoMessage. */
public videoMessage?: (E2E.Message.IVideoMessage|null);
/** ButtonsMessage locationMessage. */
public locationMessage?: (E2E.Message.ILocationMessage|null);
/** ButtonsMessage _contentText. */
public _contentText?: "contentText";
/** ButtonsMessage _footerText. */
public _footerText?: "footerText";
/** ButtonsMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** ButtonsMessage _headerType. */
public _headerType?: "headerType";
/** ButtonsMessage header. */
public header?: ("text"|"documentMessage"|"imageMessage"|"videoMessage"|"locationMessage");
/**
* Creates a new ButtonsMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ButtonsMessage instance
*/
public static create(properties?: E2E.Message.IButtonsMessage): E2E.Message.ButtonsMessage;
/**
* Encodes the specified ButtonsMessage message. Does not implicitly {@link E2E.Message.ButtonsMessage.verify|verify} messages.
* @param message ButtonsMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IButtonsMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ButtonsMessage message, length delimited. Does not implicitly {@link E2E.Message.ButtonsMessage.verify|verify} messages.
* @param message ButtonsMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IButtonsMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ButtonsMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ButtonsMessage
* @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.Message.ButtonsMessage;
/**
* Decodes a ButtonsMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ButtonsMessage
* @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.Message.ButtonsMessage;
/**
* Verifies a ButtonsMessage 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 ButtonsMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ButtonsMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ButtonsMessage;
/**
* Creates a plain object from a ButtonsMessage message. Also converts values to other types if specified.
* @param message ButtonsMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ButtonsMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ButtonsMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ButtonsMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ButtonsMessage {
/** Properties of a Button. */
interface IButton {
/** Button buttonId */
buttonId?: (string|null);
/** Button buttonText */
buttonText?: (E2E.Message.ButtonsMessage.Button.IButtonText|null);
/** Button type */
type?: (E2E.Message.ButtonsMessage.Button.Type|null);
/** Button nativeFlowInfo */
nativeFlowInfo?: (E2E.Message.ButtonsMessage.Button.INativeFlowInfo|null);
}
/** Represents a Button. */
class Button implements IButton {
/**
* Constructs a new Button.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ButtonsMessage.IButton);
/** Button buttonId. */
public buttonId?: (string|null);
/** Button buttonText. */
public buttonText?: (E2E.Message.ButtonsMessage.Button.IButtonText|null);
/** Button type. */
public type?: (E2E.Message.ButtonsMessage.Button.Type|null);
/** Button nativeFlowInfo. */
public nativeFlowInfo?: (E2E.Message.ButtonsMessage.Button.INativeFlowInfo|null);
/** Button _buttonId. */
public _buttonId?: "buttonId";
/** Button _buttonText. */
public _buttonText?: "buttonText";
/** Button _type. */
public _type?: "type";
/** Button _nativeFlowInfo. */
public _nativeFlowInfo?: "nativeFlowInfo";
/**
* Creates a new Button instance using the specified properties.
* @param [properties] Properties to set
* @returns Button instance
*/
public static create(properties?: E2E.Message.ButtonsMessage.IButton): E2E.Message.ButtonsMessage.Button;
/**
* Encodes the specified Button message. Does not implicitly {@link E2E.Message.ButtonsMessage.Button.verify|verify} messages.
* @param message Button message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ButtonsMessage.IButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Button message, length delimited. Does not implicitly {@link E2E.Message.ButtonsMessage.Button.verify|verify} messages.
* @param message Button message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ButtonsMessage.IButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Button message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Button
* @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.Message.ButtonsMessage.Button;
/**
* Decodes a Button message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Button
* @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.Message.ButtonsMessage.Button;
/**
* Verifies a Button 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 Button message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Button
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ButtonsMessage.Button;
/**
* Creates a plain object from a Button message. Also converts values to other types if specified.
* @param message Button
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ButtonsMessage.Button, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Button to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Button
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace Button {
/** Properties of a ButtonText. */
interface IButtonText {
/** ButtonText displayText */
displayText?: (string|null);
}
/** Represents a ButtonText. */
class ButtonText implements IButtonText {
/**
* Constructs a new ButtonText.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ButtonsMessage.Button.IButtonText);
/** ButtonText displayText. */
public displayText?: (string|null);
/** ButtonText _displayText. */
public _displayText?: "displayText";
/**
* Creates a new ButtonText instance using the specified properties.
* @param [properties] Properties to set
* @returns ButtonText instance
*/
public static create(properties?: E2E.Message.ButtonsMessage.Button.IButtonText): E2E.Message.ButtonsMessage.Button.ButtonText;
/**
* Encodes the specified ButtonText message. Does not implicitly {@link E2E.Message.ButtonsMessage.Button.ButtonText.verify|verify} messages.
* @param message ButtonText message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ButtonsMessage.Button.IButtonText, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ButtonText message, length delimited. Does not implicitly {@link E2E.Message.ButtonsMessage.Button.ButtonText.verify|verify} messages.
* @param message ButtonText message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ButtonsMessage.Button.IButtonText, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ButtonText message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ButtonText
* @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.Message.ButtonsMessage.Button.ButtonText;
/**
* Decodes a ButtonText message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ButtonText
* @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.Message.ButtonsMessage.Button.ButtonText;
/**
* Verifies a ButtonText 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 ButtonText message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ButtonText
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ButtonsMessage.Button.ButtonText;
/**
* Creates a plain object from a ButtonText message. Also converts values to other types if specified.
* @param message ButtonText
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ButtonsMessage.Button.ButtonText, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ButtonText to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ButtonText
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a NativeFlowInfo. */
interface INativeFlowInfo {
/** NativeFlowInfo name */
name?: (string|null);
/** NativeFlowInfo paramsJson */
paramsJson?: (string|null);
}
/** Represents a NativeFlowInfo. */
class NativeFlowInfo implements INativeFlowInfo {
/**
* Constructs a new NativeFlowInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ButtonsMessage.Button.INativeFlowInfo);
/** NativeFlowInfo name. */
public name?: (string|null);
/** NativeFlowInfo paramsJson. */
public paramsJson?: (string|null);
/** NativeFlowInfo _name. */
public _name?: "name";
/** NativeFlowInfo _paramsJson. */
public _paramsJson?: "paramsJson";
/**
* Creates a new NativeFlowInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns NativeFlowInfo instance
*/
public static create(properties?: E2E.Message.ButtonsMessage.Button.INativeFlowInfo): E2E.Message.ButtonsMessage.Button.NativeFlowInfo;
/**
* Encodes the specified NativeFlowInfo message. Does not implicitly {@link E2E.Message.ButtonsMessage.Button.NativeFlowInfo.verify|verify} messages.
* @param message NativeFlowInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ButtonsMessage.Button.INativeFlowInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NativeFlowInfo message, length delimited. Does not implicitly {@link E2E.Message.ButtonsMessage.Button.NativeFlowInfo.verify|verify} messages.
* @param message NativeFlowInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ButtonsMessage.Button.INativeFlowInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NativeFlowInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NativeFlowInfo
* @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.Message.ButtonsMessage.Button.NativeFlowInfo;
/**
* Decodes a NativeFlowInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NativeFlowInfo
* @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.Message.ButtonsMessage.Button.NativeFlowInfo;
/**
* Verifies a NativeFlowInfo 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 NativeFlowInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NativeFlowInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ButtonsMessage.Button.NativeFlowInfo;
/**
* Creates a plain object from a NativeFlowInfo message. Also converts values to other types if specified.
* @param message NativeFlowInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ButtonsMessage.Button.NativeFlowInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NativeFlowInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for NativeFlowInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Type enum. */
enum Type {
UNKNOWN = 0,
RESPONSE = 1,
NATIVE_FLOW = 2
}
}
/** HeaderType enum. */
enum HeaderType {
UNKNOWN = 0,
EMPTY = 1,
TEXT = 2,
DOCUMENT = 3,
IMAGE = 4,
VIDEO = 5,
LOCATION = 6
}
}
/** Properties of a ButtonsResponseMessage. */
interface IButtonsResponseMessage {
/** ButtonsResponseMessage selectedButtonId */
selectedButtonId?: (string|null);
/** ButtonsResponseMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** ButtonsResponseMessage type */
type?: (E2E.Message.ButtonsResponseMessage.Type|null);
/** ButtonsResponseMessage selectedDisplayText */
selectedDisplayText?: (string|null);
}
/** Represents a ButtonsResponseMessage. */
class ButtonsResponseMessage implements IButtonsResponseMessage {
/**
* Constructs a new ButtonsResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IButtonsResponseMessage);
/** ButtonsResponseMessage selectedButtonId. */
public selectedButtonId?: (string|null);
/** ButtonsResponseMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ButtonsResponseMessage type. */
public type?: (E2E.Message.ButtonsResponseMessage.Type|null);
/** ButtonsResponseMessage selectedDisplayText. */
public selectedDisplayText?: (string|null);
/** ButtonsResponseMessage _selectedButtonId. */
public _selectedButtonId?: "selectedButtonId";
/** ButtonsResponseMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** ButtonsResponseMessage _type. */
public _type?: "type";
/** ButtonsResponseMessage response. */
public response?: "selectedDisplayText";
/**
* Creates a new ButtonsResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ButtonsResponseMessage instance
*/
public static create(properties?: E2E.Message.IButtonsResponseMessage): E2E.Message.ButtonsResponseMessage;
/**
* Encodes the specified ButtonsResponseMessage message. Does not implicitly {@link E2E.Message.ButtonsResponseMessage.verify|verify} messages.
* @param message ButtonsResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IButtonsResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ButtonsResponseMessage message, length delimited. Does not implicitly {@link E2E.Message.ButtonsResponseMessage.verify|verify} messages.
* @param message ButtonsResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IButtonsResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ButtonsResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ButtonsResponseMessage
* @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.Message.ButtonsResponseMessage;
/**
* Decodes a ButtonsResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ButtonsResponseMessage
* @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.Message.ButtonsResponseMessage;
/**
* Verifies a ButtonsResponseMessage 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 ButtonsResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ButtonsResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ButtonsResponseMessage;
/**
* Creates a plain object from a ButtonsResponseMessage message. Also converts values to other types if specified.
* @param message ButtonsResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ButtonsResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ButtonsResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ButtonsResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ButtonsResponseMessage {
/** Type enum. */
enum Type {
UNKNOWN = 0,
DISPLAY_TEXT = 1
}
}
/** Properties of a Call. */
interface ICall {
/** Call callKey */
callKey?: (Uint8Array|null);
/** Call conversionSource */
conversionSource?: (string|null);
/** Call conversionData */
conversionData?: (Uint8Array|null);
/** Call conversionDelaySeconds */
conversionDelaySeconds?: (number|null);
/** Call ctwaSignals */
ctwaSignals?: (string|null);
/** Call ctwaPayload */
ctwaPayload?: (Uint8Array|null);
/** Call contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a Call. */
class Call implements ICall {
/**
* Constructs a new Call.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ICall);
/** Call callKey. */
public callKey?: (Uint8Array|null);
/** Call conversionSource. */
public conversionSource?: (string|null);
/** Call conversionData. */
public conversionData?: (Uint8Array|null);
/** Call conversionDelaySeconds. */
public conversionDelaySeconds?: (number|null);
/** Call ctwaSignals. */
public ctwaSignals?: (string|null);
/** Call ctwaPayload. */
public ctwaPayload?: (Uint8Array|null);
/** Call contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** Call _callKey. */
public _callKey?: "callKey";
/** Call _conversionSource. */
public _conversionSource?: "conversionSource";
/** Call _conversionData. */
public _conversionData?: "conversionData";
/** Call _conversionDelaySeconds. */
public _conversionDelaySeconds?: "conversionDelaySeconds";
/** Call _ctwaSignals. */
public _ctwaSignals?: "ctwaSignals";
/** Call _ctwaPayload. */
public _ctwaPayload?: "ctwaPayload";
/** Call _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new Call instance using the specified properties.
* @param [properties] Properties to set
* @returns Call instance
*/
public static create(properties?: E2E.Message.ICall): E2E.Message.Call;
/**
* Encodes the specified Call message. Does not implicitly {@link E2E.Message.Call.verify|verify} messages.
* @param message Call message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ICall, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Call message, length delimited. Does not implicitly {@link E2E.Message.Call.verify|verify} messages.
* @param message Call message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ICall, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Call message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Call
* @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.Message.Call;
/**
* Decodes a Call message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Call
* @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.Message.Call;
/**
* Verifies a Call 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 Call message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Call
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.Call;
/**
* Creates a plain object from a Call message. Also converts values to other types if specified.
* @param message Call
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.Call, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Call to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Call
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CallLogMessage. */
interface ICallLogMessage {
/** CallLogMessage isVideo */
isVideo?: (boolean|null);
/** CallLogMessage callOutcome */
callOutcome?: (E2E.Message.CallLogMessage.CallOutcome|null);
/** CallLogMessage durationSecs */
durationSecs?: (number|Long|null);
/** CallLogMessage callType */
callType?: (E2E.Message.CallLogMessage.CallType|null);
/** CallLogMessage participants */
participants?: (E2E.Message.CallLogMessage.ICallParticipant[]|null);
}
/** Represents a CallLogMessage. */
class CallLogMessage implements ICallLogMessage {
/**
* Constructs a new CallLogMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ICallLogMessage);
/** CallLogMessage isVideo. */
public isVideo?: (boolean|null);
/** CallLogMessage callOutcome. */
public callOutcome?: (E2E.Message.CallLogMessage.CallOutcome|null);
/** CallLogMessage durationSecs. */
public durationSecs?: (number|Long|null);
/** CallLogMessage callType. */
public callType?: (E2E.Message.CallLogMessage.CallType|null);
/** CallLogMessage participants. */
public participants: E2E.Message.CallLogMessage.ICallParticipant[];
/** CallLogMessage _isVideo. */
public _isVideo?: "isVideo";
/** CallLogMessage _callOutcome. */
public _callOutcome?: "callOutcome";
/** CallLogMessage _durationSecs. */
public _durationSecs?: "durationSecs";
/** CallLogMessage _callType. */
public _callType?: "callType";
/**
* Creates a new CallLogMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns CallLogMessage instance
*/
public static create(properties?: E2E.Message.ICallLogMessage): E2E.Message.CallLogMessage;
/**
* Encodes the specified CallLogMessage message. Does not implicitly {@link E2E.Message.CallLogMessage.verify|verify} messages.
* @param message CallLogMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ICallLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CallLogMessage message, length delimited. Does not implicitly {@link E2E.Message.CallLogMessage.verify|verify} messages.
* @param message CallLogMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ICallLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CallLogMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CallLogMessage
* @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.Message.CallLogMessage;
/**
* Decodes a CallLogMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CallLogMessage
* @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.Message.CallLogMessage;
/**
* Verifies a CallLogMessage 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 CallLogMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CallLogMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.CallLogMessage;
/**
* Creates a plain object from a CallLogMessage message. Also converts values to other types if specified.
* @param message CallLogMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.CallLogMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CallLogMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CallLogMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace CallLogMessage {
/** CallOutcome enum. */
enum CallOutcome {
CONNECTED = 0,
MISSED = 1,
FAILED = 2,
REJECTED = 3,
ACCEPTED_ELSEWHERE = 4,
ONGOING = 5,
SILENCED_BY_DND = 6,
SILENCED_UNKNOWN_CALLER = 7
}
/** Properties of a CallParticipant. */
interface ICallParticipant {
/** CallParticipant jid */
jid?: (string|null);
/** CallParticipant callOutcome */
callOutcome?: (E2E.Message.CallLogMessage.CallOutcome|null);
}
/** Represents a CallParticipant. */
class CallParticipant implements ICallParticipant {
/**
* Constructs a new CallParticipant.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.CallLogMessage.ICallParticipant);
/** CallParticipant jid. */
public jid?: (string|null);
/** CallParticipant callOutcome. */
public callOutcome?: (E2E.Message.CallLogMessage.CallOutcome|null);
/** CallParticipant _jid. */
public _jid?: "jid";
/** CallParticipant _callOutcome. */
public _callOutcome?: "callOutcome";
/**
* Creates a new CallParticipant instance using the specified properties.
* @param [properties] Properties to set
* @returns CallParticipant instance
*/
public static create(properties?: E2E.Message.CallLogMessage.ICallParticipant): E2E.Message.CallLogMessage.CallParticipant;
/**
* Encodes the specified CallParticipant message. Does not implicitly {@link E2E.Message.CallLogMessage.CallParticipant.verify|verify} messages.
* @param message CallParticipant message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.CallLogMessage.ICallParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CallParticipant message, length delimited. Does not implicitly {@link E2E.Message.CallLogMessage.CallParticipant.verify|verify} messages.
* @param message CallParticipant message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.CallLogMessage.ICallParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CallParticipant message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CallParticipant
* @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.Message.CallLogMessage.CallParticipant;
/**
* Decodes a CallParticipant message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CallParticipant
* @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.Message.CallLogMessage.CallParticipant;
/**
* Verifies a CallParticipant 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 CallParticipant message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CallParticipant
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.CallLogMessage.CallParticipant;
/**
* Creates a plain object from a CallParticipant message. Also converts values to other types if specified.
* @param message CallParticipant
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.CallLogMessage.CallParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CallParticipant to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CallParticipant
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** CallType enum. */
enum CallType {
REGULAR = 0,
SCHEDULED_CALL = 1,
VOICE_CHAT = 2
}
}
/** Properties of a CancelPaymentRequestMessage. */
interface ICancelPaymentRequestMessage {
/** CancelPaymentRequestMessage key */
key?: (Protocol.IMessageKey|null);
}
/** Represents a CancelPaymentRequestMessage. */
class CancelPaymentRequestMessage implements ICancelPaymentRequestMessage {
/**
* Constructs a new CancelPaymentRequestMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ICancelPaymentRequestMessage);
/** CancelPaymentRequestMessage key. */
public key?: (Protocol.IMessageKey|null);
/** CancelPaymentRequestMessage _key. */
public _key?: "key";
/**
* Creates a new CancelPaymentRequestMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns CancelPaymentRequestMessage instance
*/
public static create(properties?: E2E.Message.ICancelPaymentRequestMessage): E2E.Message.CancelPaymentRequestMessage;
/**
* Encodes the specified CancelPaymentRequestMessage message. Does not implicitly {@link E2E.Message.CancelPaymentRequestMessage.verify|verify} messages.
* @param message CancelPaymentRequestMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ICancelPaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CancelPaymentRequestMessage message, length delimited. Does not implicitly {@link E2E.Message.CancelPaymentRequestMessage.verify|verify} messages.
* @param message CancelPaymentRequestMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ICancelPaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CancelPaymentRequestMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CancelPaymentRequestMessage
* @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.Message.CancelPaymentRequestMessage;
/**
* Decodes a CancelPaymentRequestMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CancelPaymentRequestMessage
* @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.Message.CancelPaymentRequestMessage;
/**
* Verifies a CancelPaymentRequestMessage 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 CancelPaymentRequestMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CancelPaymentRequestMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.CancelPaymentRequestMessage;
/**
* Creates a plain object from a CancelPaymentRequestMessage message. Also converts values to other types if specified.
* @param message CancelPaymentRequestMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.CancelPaymentRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CancelPaymentRequestMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CancelPaymentRequestMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Chat. */
interface IChat {
/** Chat displayName */
displayName?: (string|null);
/** Chat id */
id?: (string|null);
}
/** Represents a Chat. */
class Chat implements IChat {
/**
* Constructs a new Chat.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IChat);
/** Chat displayName. */
public displayName?: (string|null);
/** Chat id. */
public id?: (string|null);
/** Chat _displayName. */
public _displayName?: "displayName";
/** Chat _id. */
public _id?: "id";
/**
* Creates a new Chat instance using the specified properties.
* @param [properties] Properties to set
* @returns Chat instance
*/
public static create(properties?: E2E.Message.IChat): E2E.Message.Chat;
/**
* Encodes the specified Chat message. Does not implicitly {@link E2E.Message.Chat.verify|verify} messages.
* @param message Chat message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IChat, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Chat message, length delimited. Does not implicitly {@link E2E.Message.Chat.verify|verify} messages.
* @param message Chat message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IChat, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Chat message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Chat
* @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.Message.Chat;
/**
* Decodes a Chat message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Chat
* @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.Message.Chat;
/**
* Verifies a Chat 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 Chat message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Chat
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.Chat;
/**
* Creates a plain object from a Chat message. Also converts values to other types if specified.
* @param message Chat
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.Chat, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Chat to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Chat
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CloudAPIThreadControlNotification. */
interface ICloudAPIThreadControlNotification {
/** CloudAPIThreadControlNotification status */
status?: (E2E.Message.CloudAPIThreadControlNotification.CloudAPIThreadControl|null);
/** CloudAPIThreadControlNotification senderNotificationTimestampMs */
senderNotificationTimestampMs?: (number|Long|null);
/** CloudAPIThreadControlNotification consumerLid */
consumerLid?: (string|null);
/** CloudAPIThreadControlNotification consumerPhoneNumber */
consumerPhoneNumber?: (string|null);
/** CloudAPIThreadControlNotification notificationContent */
notificationContent?: (E2E.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent|null);
}
/** Represents a CloudAPIThreadControlNotification. */
class CloudAPIThreadControlNotification implements ICloudAPIThreadControlNotification {
/**
* Constructs a new CloudAPIThreadControlNotification.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ICloudAPIThreadControlNotification);
/** CloudAPIThreadControlNotification status. */
public status?: (E2E.Message.CloudAPIThreadControlNotification.CloudAPIThreadControl|null);
/** CloudAPIThreadControlNotification senderNotificationTimestampMs. */
public senderNotificationTimestampMs?: (number|Long|null);
/** CloudAPIThreadControlNotification consumerLid. */
public consumerLid?: (string|null);
/** CloudAPIThreadControlNotification consumerPhoneNumber. */
public consumerPhoneNumber?: (string|null);
/** CloudAPIThreadControlNotification notificationContent. */
public notificationContent?: (E2E.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent|null);
/** CloudAPIThreadControlNotification _status. */
public _status?: "status";
/** CloudAPIThreadControlNotification _senderNotificationTimestampMs. */
public _senderNotificationTimestampMs?: "senderNotificationTimestampMs";
/** CloudAPIThreadControlNotification _consumerLid. */
public _consumerLid?: "consumerLid";
/** CloudAPIThreadControlNotification _consumerPhoneNumber. */
public _consumerPhoneNumber?: "consumerPhoneNumber";
/** CloudAPIThreadControlNotification _notificationContent. */
public _notificationContent?: "notificationContent";
/**
* Creates a new CloudAPIThreadControlNotification instance using the specified properties.
* @param [properties] Properties to set
* @returns CloudAPIThreadControlNotification instance
*/
public static create(properties?: E2E.Message.ICloudAPIThreadControlNotification): E2E.Message.CloudAPIThreadControlNotification;
/**
* Encodes the specified CloudAPIThreadControlNotification message. Does not implicitly {@link E2E.Message.CloudAPIThreadControlNotification.verify|verify} messages.
* @param message CloudAPIThreadControlNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ICloudAPIThreadControlNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CloudAPIThreadControlNotification message, length delimited. Does not implicitly {@link E2E.Message.CloudAPIThreadControlNotification.verify|verify} messages.
* @param message CloudAPIThreadControlNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ICloudAPIThreadControlNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CloudAPIThreadControlNotification message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CloudAPIThreadControlNotification
* @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.Message.CloudAPIThreadControlNotification;
/**
* Decodes a CloudAPIThreadControlNotification message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CloudAPIThreadControlNotification
* @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.Message.CloudAPIThreadControlNotification;
/**
* Verifies a CloudAPIThreadControlNotification 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 CloudAPIThreadControlNotification message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CloudAPIThreadControlNotification
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.CloudAPIThreadControlNotification;
/**
* Creates a plain object from a CloudAPIThreadControlNotification message. Also converts values to other types if specified.
* @param message CloudAPIThreadControlNotification
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.CloudAPIThreadControlNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CloudAPIThreadControlNotification to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CloudAPIThreadControlNotification
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace CloudAPIThreadControlNotification {
/** CloudAPIThreadControl enum. */
enum CloudAPIThreadControl {
UNKNOWN = 0,
CONTROL_PASSED = 1,
CONTROL_TAKEN = 2
}
/** Properties of a CloudAPIThreadControlNotificationContent. */
interface ICloudAPIThreadControlNotificationContent {
/** CloudAPIThreadControlNotificationContent handoffNotificationText */
handoffNotificationText?: (string|null);
/** CloudAPIThreadControlNotificationContent extraJson */
extraJson?: (string|null);
}
/** Represents a CloudAPIThreadControlNotificationContent. */
class CloudAPIThreadControlNotificationContent implements ICloudAPIThreadControlNotificationContent {
/**
* Constructs a new CloudAPIThreadControlNotificationContent.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent);
/** CloudAPIThreadControlNotificationContent handoffNotificationText. */
public handoffNotificationText?: (string|null);
/** CloudAPIThreadControlNotificationContent extraJson. */
public extraJson?: (string|null);
/** CloudAPIThreadControlNotificationContent _handoffNotificationText. */
public _handoffNotificationText?: "handoffNotificationText";
/** CloudAPIThreadControlNotificationContent _extraJson. */
public _extraJson?: "extraJson";
/**
* Creates a new CloudAPIThreadControlNotificationContent instance using the specified properties.
* @param [properties] Properties to set
* @returns CloudAPIThreadControlNotificationContent instance
*/
public static create(properties?: E2E.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent): E2E.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent;
/**
* Encodes the specified CloudAPIThreadControlNotificationContent message. Does not implicitly {@link E2E.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent.verify|verify} messages.
* @param message CloudAPIThreadControlNotificationContent message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CloudAPIThreadControlNotificationContent message, length delimited. Does not implicitly {@link E2E.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent.verify|verify} messages.
* @param message CloudAPIThreadControlNotificationContent message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CloudAPIThreadControlNotificationContent message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CloudAPIThreadControlNotificationContent
* @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.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent;
/**
* Decodes a CloudAPIThreadControlNotificationContent message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CloudAPIThreadControlNotificationContent
* @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.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent;
/**
* Verifies a CloudAPIThreadControlNotificationContent 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 CloudAPIThreadControlNotificationContent message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CloudAPIThreadControlNotificationContent
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent;
/**
* Creates a plain object from a CloudAPIThreadControlNotificationContent message. Also converts values to other types if specified.
* @param message CloudAPIThreadControlNotificationContent
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CloudAPIThreadControlNotificationContent to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CloudAPIThreadControlNotificationContent
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a CommentMessage. */
interface ICommentMessage {
/** CommentMessage message */
message?: (E2E.IMessage|null);
/** CommentMessage targetMessageKey */
targetMessageKey?: (Protocol.IMessageKey|null);
}
/** Represents a CommentMessage. */
class CommentMessage implements ICommentMessage {
/**
* Constructs a new CommentMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ICommentMessage);
/** CommentMessage message. */
public message?: (E2E.IMessage|null);
/** CommentMessage targetMessageKey. */
public targetMessageKey?: (Protocol.IMessageKey|null);
/** CommentMessage _message. */
public _message?: "message";
/** CommentMessage _targetMessageKey. */
public _targetMessageKey?: "targetMessageKey";
/**
* Creates a new CommentMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns CommentMessage instance
*/
public static create(properties?: E2E.Message.ICommentMessage): E2E.Message.CommentMessage;
/**
* Encodes the specified CommentMessage message. Does not implicitly {@link E2E.Message.CommentMessage.verify|verify} messages.
* @param message CommentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ICommentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CommentMessage message, length delimited. Does not implicitly {@link E2E.Message.CommentMessage.verify|verify} messages.
* @param message CommentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ICommentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CommentMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CommentMessage
* @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.Message.CommentMessage;
/**
* Decodes a CommentMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CommentMessage
* @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.Message.CommentMessage;
/**
* Verifies a CommentMessage 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 CommentMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CommentMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.CommentMessage;
/**
* Creates a plain object from a CommentMessage message. Also converts values to other types if specified.
* @param message CommentMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.CommentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CommentMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CommentMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ContactMessage. */
interface IContactMessage {
/** ContactMessage displayName */
displayName?: (string|null);
/** ContactMessage vcard */
vcard?: (string|null);
/** ContactMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a ContactMessage. */
class ContactMessage implements IContactMessage {
/**
* Constructs a new ContactMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IContactMessage);
/** ContactMessage displayName. */
public displayName?: (string|null);
/** ContactMessage vcard. */
public vcard?: (string|null);
/** ContactMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ContactMessage _displayName. */
public _displayName?: "displayName";
/** ContactMessage _vcard. */
public _vcard?: "vcard";
/** ContactMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new ContactMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ContactMessage instance
*/
public static create(properties?: E2E.Message.IContactMessage): E2E.Message.ContactMessage;
/**
* Encodes the specified ContactMessage message. Does not implicitly {@link E2E.Message.ContactMessage.verify|verify} messages.
* @param message ContactMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ContactMessage message, length delimited. Does not implicitly {@link E2E.Message.ContactMessage.verify|verify} messages.
* @param message ContactMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ContactMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ContactMessage
* @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.Message.ContactMessage;
/**
* Decodes a ContactMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ContactMessage
* @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.Message.ContactMessage;
/**
* Verifies a ContactMessage 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 ContactMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ContactMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ContactMessage;
/**
* Creates a plain object from a ContactMessage message. Also converts values to other types if specified.
* @param message ContactMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ContactMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ContactMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ContactMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ContactsArrayMessage. */
interface IContactsArrayMessage {
/** ContactsArrayMessage displayName */
displayName?: (string|null);
/** ContactsArrayMessage contacts */
contacts?: (E2E.Message.IContactMessage[]|null);
/** ContactsArrayMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a ContactsArrayMessage. */
class ContactsArrayMessage implements IContactsArrayMessage {
/**
* Constructs a new ContactsArrayMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IContactsArrayMessage);
/** ContactsArrayMessage displayName. */
public displayName?: (string|null);
/** ContactsArrayMessage contacts. */
public contacts: E2E.Message.IContactMessage[];
/** ContactsArrayMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ContactsArrayMessage _displayName. */
public _displayName?: "displayName";
/** ContactsArrayMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new ContactsArrayMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ContactsArrayMessage instance
*/
public static create(properties?: E2E.Message.IContactsArrayMessage): E2E.Message.ContactsArrayMessage;
/**
* Encodes the specified ContactsArrayMessage message. Does not implicitly {@link E2E.Message.ContactsArrayMessage.verify|verify} messages.
* @param message ContactsArrayMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ContactsArrayMessage message, length delimited. Does not implicitly {@link E2E.Message.ContactsArrayMessage.verify|verify} messages.
* @param message ContactsArrayMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ContactsArrayMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ContactsArrayMessage
* @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.Message.ContactsArrayMessage;
/**
* Decodes a ContactsArrayMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ContactsArrayMessage
* @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.Message.ContactsArrayMessage;
/**
* Verifies a ContactsArrayMessage 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 ContactsArrayMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ContactsArrayMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ContactsArrayMessage;
/**
* Creates a plain object from a ContactsArrayMessage message. Also converts values to other types if specified.
* @param message ContactsArrayMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ContactsArrayMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ContactsArrayMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ContactsArrayMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a DeclinePaymentRequestMessage. */
interface IDeclinePaymentRequestMessage {
/** DeclinePaymentRequestMessage key */
key?: (Protocol.IMessageKey|null);
}
/** Represents a DeclinePaymentRequestMessage. */
class DeclinePaymentRequestMessage implements IDeclinePaymentRequestMessage {
/**
* Constructs a new DeclinePaymentRequestMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IDeclinePaymentRequestMessage);
/** DeclinePaymentRequestMessage key. */
public key?: (Protocol.IMessageKey|null);
/** DeclinePaymentRequestMessage _key. */
public _key?: "key";
/**
* Creates a new DeclinePaymentRequestMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns DeclinePaymentRequestMessage instance
*/
public static create(properties?: E2E.Message.IDeclinePaymentRequestMessage): E2E.Message.DeclinePaymentRequestMessage;
/**
* Encodes the specified DeclinePaymentRequestMessage message. Does not implicitly {@link E2E.Message.DeclinePaymentRequestMessage.verify|verify} messages.
* @param message DeclinePaymentRequestMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IDeclinePaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified DeclinePaymentRequestMessage message, length delimited. Does not implicitly {@link E2E.Message.DeclinePaymentRequestMessage.verify|verify} messages.
* @param message DeclinePaymentRequestMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IDeclinePaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a DeclinePaymentRequestMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns DeclinePaymentRequestMessage
* @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.Message.DeclinePaymentRequestMessage;
/**
* Decodes a DeclinePaymentRequestMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns DeclinePaymentRequestMessage
* @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.Message.DeclinePaymentRequestMessage;
/**
* Verifies a DeclinePaymentRequestMessage 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 DeclinePaymentRequestMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns DeclinePaymentRequestMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.DeclinePaymentRequestMessage;
/**
* Creates a plain object from a DeclinePaymentRequestMessage message. Also converts values to other types if specified.
* @param message DeclinePaymentRequestMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.DeclinePaymentRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this DeclinePaymentRequestMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for DeclinePaymentRequestMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a DeviceSentMessage. */
interface IDeviceSentMessage {
/** DeviceSentMessage destinationJid */
destinationJid?: (string|null);
/** DeviceSentMessage message */
message?: (E2E.IMessage|null);
/** DeviceSentMessage phash */
phash?: (string|null);
}
/** Represents a DeviceSentMessage. */
class DeviceSentMessage implements IDeviceSentMessage {
/**
* Constructs a new DeviceSentMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IDeviceSentMessage);
/** DeviceSentMessage destinationJid. */
public destinationJid?: (string|null);
/** DeviceSentMessage message. */
public message?: (E2E.IMessage|null);
/** DeviceSentMessage phash. */
public phash?: (string|null);
/** DeviceSentMessage _destinationJid. */
public _destinationJid?: "destinationJid";
/** DeviceSentMessage _message. */
public _message?: "message";
/** DeviceSentMessage _phash. */
public _phash?: "phash";
/**
* Creates a new DeviceSentMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns DeviceSentMessage instance
*/
public static create(properties?: E2E.Message.IDeviceSentMessage): E2E.Message.DeviceSentMessage;
/**
* Encodes the specified DeviceSentMessage message. Does not implicitly {@link E2E.Message.DeviceSentMessage.verify|verify} messages.
* @param message DeviceSentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified DeviceSentMessage message, length delimited. Does not implicitly {@link E2E.Message.DeviceSentMessage.verify|verify} messages.
* @param message DeviceSentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a DeviceSentMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns DeviceSentMessage
* @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.Message.DeviceSentMessage;
/**
* Decodes a DeviceSentMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns DeviceSentMessage
* @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.Message.DeviceSentMessage;
/**
* Verifies a DeviceSentMessage 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 DeviceSentMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns DeviceSentMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.DeviceSentMessage;
/**
* Creates a plain object from a DeviceSentMessage message. Also converts values to other types if specified.
* @param message DeviceSentMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.DeviceSentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this DeviceSentMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for DeviceSentMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a DocumentMessage. */
interface IDocumentMessage {
/** DocumentMessage url */
url?: (string|null);
/** DocumentMessage mimetype */
mimetype?: (string|null);
/** DocumentMessage title */
title?: (string|null);
/** DocumentMessage fileSha256 */
fileSha256?: (Uint8Array|null);
/** DocumentMessage fileLength */
fileLength?: (number|Long|null);
/** DocumentMessage pageCount */
pageCount?: (number|null);
/** DocumentMessage mediaKey */
mediaKey?: (Uint8Array|null);
/** DocumentMessage fileName */
fileName?: (string|null);
/** DocumentMessage fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** DocumentMessage directPath */
directPath?: (string|null);
/** DocumentMessage mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** DocumentMessage contactVcard */
contactVcard?: (boolean|null);
/** DocumentMessage thumbnailDirectPath */
thumbnailDirectPath?: (string|null);
/** DocumentMessage thumbnailSha256 */
thumbnailSha256?: (Uint8Array|null);
/** DocumentMessage thumbnailEncSha256 */
thumbnailEncSha256?: (Uint8Array|null);
/** DocumentMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** DocumentMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** DocumentMessage thumbnailHeight */
thumbnailHeight?: (number|null);
/** DocumentMessage thumbnailWidth */
thumbnailWidth?: (number|null);
/** DocumentMessage caption */
caption?: (string|null);
/** DocumentMessage accessibilityLabel */
accessibilityLabel?: (string|null);
}
/** Represents a DocumentMessage. */
class DocumentMessage implements IDocumentMessage {
/**
* Constructs a new DocumentMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IDocumentMessage);
/** DocumentMessage url. */
public url?: (string|null);
/** DocumentMessage mimetype. */
public mimetype?: (string|null);
/** DocumentMessage title. */
public title?: (string|null);
/** DocumentMessage fileSha256. */
public fileSha256?: (Uint8Array|null);
/** DocumentMessage fileLength. */
public fileLength?: (number|Long|null);
/** DocumentMessage pageCount. */
public pageCount?: (number|null);
/** DocumentMessage mediaKey. */
public mediaKey?: (Uint8Array|null);
/** DocumentMessage fileName. */
public fileName?: (string|null);
/** DocumentMessage fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** DocumentMessage directPath. */
public directPath?: (string|null);
/** DocumentMessage mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** DocumentMessage contactVcard. */
public contactVcard?: (boolean|null);
/** DocumentMessage thumbnailDirectPath. */
public thumbnailDirectPath?: (string|null);
/** DocumentMessage thumbnailSha256. */
public thumbnailSha256?: (Uint8Array|null);
/** DocumentMessage thumbnailEncSha256. */
public thumbnailEncSha256?: (Uint8Array|null);
/** DocumentMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** DocumentMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** DocumentMessage thumbnailHeight. */
public thumbnailHeight?: (number|null);
/** DocumentMessage thumbnailWidth. */
public thumbnailWidth?: (number|null);
/** DocumentMessage caption. */
public caption?: (string|null);
/** DocumentMessage accessibilityLabel. */
public accessibilityLabel?: (string|null);
/** DocumentMessage _url. */
public _url?: "url";
/** DocumentMessage _mimetype. */
public _mimetype?: "mimetype";
/** DocumentMessage _title. */
public _title?: "title";
/** DocumentMessage _fileSha256. */
public _fileSha256?: "fileSha256";
/** DocumentMessage _fileLength. */
public _fileLength?: "fileLength";
/** DocumentMessage _pageCount. */
public _pageCount?: "pageCount";
/** DocumentMessage _mediaKey. */
public _mediaKey?: "mediaKey";
/** DocumentMessage _fileName. */
public _fileName?: "fileName";
/** DocumentMessage _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** DocumentMessage _directPath. */
public _directPath?: "directPath";
/** DocumentMessage _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** DocumentMessage _contactVcard. */
public _contactVcard?: "contactVcard";
/** DocumentMessage _thumbnailDirectPath. */
public _thumbnailDirectPath?: "thumbnailDirectPath";
/** DocumentMessage _thumbnailSha256. */
public _thumbnailSha256?: "thumbnailSha256";
/** DocumentMessage _thumbnailEncSha256. */
public _thumbnailEncSha256?: "thumbnailEncSha256";
/** DocumentMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** DocumentMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** DocumentMessage _thumbnailHeight. */
public _thumbnailHeight?: "thumbnailHeight";
/** DocumentMessage _thumbnailWidth. */
public _thumbnailWidth?: "thumbnailWidth";
/** DocumentMessage _caption. */
public _caption?: "caption";
/** DocumentMessage _accessibilityLabel. */
public _accessibilityLabel?: "accessibilityLabel";
/**
* Creates a new DocumentMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns DocumentMessage instance
*/
public static create(properties?: E2E.Message.IDocumentMessage): E2E.Message.DocumentMessage;
/**
* Encodes the specified DocumentMessage message. Does not implicitly {@link E2E.Message.DocumentMessage.verify|verify} messages.
* @param message DocumentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified DocumentMessage message, length delimited. Does not implicitly {@link E2E.Message.DocumentMessage.verify|verify} messages.
* @param message DocumentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a DocumentMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns DocumentMessage
* @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.Message.DocumentMessage;
/**
* Decodes a DocumentMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns DocumentMessage
* @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.Message.DocumentMessage;
/**
* Verifies a DocumentMessage 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 DocumentMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns DocumentMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.DocumentMessage;
/**
* Creates a plain object from a DocumentMessage message. Also converts values to other types if specified.
* @param message DocumentMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.DocumentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this DocumentMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for DocumentMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EncCommentMessage. */
interface IEncCommentMessage {
/** EncCommentMessage targetMessageKey */
targetMessageKey?: (Protocol.IMessageKey|null);
/** EncCommentMessage encPayload */
encPayload?: (Uint8Array|null);
/** EncCommentMessage encIv */
encIv?: (Uint8Array|null);
}
/** Represents an EncCommentMessage. */
class EncCommentMessage implements IEncCommentMessage {
/**
* Constructs a new EncCommentMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IEncCommentMessage);
/** EncCommentMessage targetMessageKey. */
public targetMessageKey?: (Protocol.IMessageKey|null);
/** EncCommentMessage encPayload. */
public encPayload?: (Uint8Array|null);
/** EncCommentMessage encIv. */
public encIv?: (Uint8Array|null);
/** EncCommentMessage _targetMessageKey. */
public _targetMessageKey?: "targetMessageKey";
/** EncCommentMessage _encPayload. */
public _encPayload?: "encPayload";
/** EncCommentMessage _encIv. */
public _encIv?: "encIv";
/**
* Creates a new EncCommentMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns EncCommentMessage instance
*/
public static create(properties?: E2E.Message.IEncCommentMessage): E2E.Message.EncCommentMessage;
/**
* Encodes the specified EncCommentMessage message. Does not implicitly {@link E2E.Message.EncCommentMessage.verify|verify} messages.
* @param message EncCommentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IEncCommentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EncCommentMessage message, length delimited. Does not implicitly {@link E2E.Message.EncCommentMessage.verify|verify} messages.
* @param message EncCommentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IEncCommentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EncCommentMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EncCommentMessage
* @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.Message.EncCommentMessage;
/**
* Decodes an EncCommentMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EncCommentMessage
* @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.Message.EncCommentMessage;
/**
* Verifies an EncCommentMessage 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 EncCommentMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EncCommentMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.EncCommentMessage;
/**
* Creates a plain object from an EncCommentMessage message. Also converts values to other types if specified.
* @param message EncCommentMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.EncCommentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EncCommentMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EncCommentMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EncEventResponseMessage. */
interface IEncEventResponseMessage {
/** EncEventResponseMessage eventCreationMessageKey */
eventCreationMessageKey?: (Protocol.IMessageKey|null);
/** EncEventResponseMessage encPayload */
encPayload?: (Uint8Array|null);
/** EncEventResponseMessage encIv */
encIv?: (Uint8Array|null);
}
/** Represents an EncEventResponseMessage. */
class EncEventResponseMessage implements IEncEventResponseMessage {
/**
* Constructs a new EncEventResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IEncEventResponseMessage);
/** EncEventResponseMessage eventCreationMessageKey. */
public eventCreationMessageKey?: (Protocol.IMessageKey|null);
/** EncEventResponseMessage encPayload. */
public encPayload?: (Uint8Array|null);
/** EncEventResponseMessage encIv. */
public encIv?: (Uint8Array|null);
/** EncEventResponseMessage _eventCreationMessageKey. */
public _eventCreationMessageKey?: "eventCreationMessageKey";
/** EncEventResponseMessage _encPayload. */
public _encPayload?: "encPayload";
/** EncEventResponseMessage _encIv. */
public _encIv?: "encIv";
/**
* Creates a new EncEventResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns EncEventResponseMessage instance
*/
public static create(properties?: E2E.Message.IEncEventResponseMessage): E2E.Message.EncEventResponseMessage;
/**
* Encodes the specified EncEventResponseMessage message. Does not implicitly {@link E2E.Message.EncEventResponseMessage.verify|verify} messages.
* @param message EncEventResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IEncEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EncEventResponseMessage message, length delimited. Does not implicitly {@link E2E.Message.EncEventResponseMessage.verify|verify} messages.
* @param message EncEventResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IEncEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EncEventResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EncEventResponseMessage
* @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.Message.EncEventResponseMessage;
/**
* Decodes an EncEventResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EncEventResponseMessage
* @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.Message.EncEventResponseMessage;
/**
* Verifies an EncEventResponseMessage 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 EncEventResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EncEventResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.EncEventResponseMessage;
/**
* Creates a plain object from an EncEventResponseMessage message. Also converts values to other types if specified.
* @param message EncEventResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.EncEventResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EncEventResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EncEventResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EncReactionMessage. */
interface IEncReactionMessage {
/** EncReactionMessage targetMessageKey */
targetMessageKey?: (Protocol.IMessageKey|null);
/** EncReactionMessage encPayload */
encPayload?: (Uint8Array|null);
/** EncReactionMessage encIv */
encIv?: (Uint8Array|null);
}
/** Represents an EncReactionMessage. */
class EncReactionMessage implements IEncReactionMessage {
/**
* Constructs a new EncReactionMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IEncReactionMessage);
/** EncReactionMessage targetMessageKey. */
public targetMessageKey?: (Protocol.IMessageKey|null);
/** EncReactionMessage encPayload. */
public encPayload?: (Uint8Array|null);
/** EncReactionMessage encIv. */
public encIv?: (Uint8Array|null);
/** EncReactionMessage _targetMessageKey. */
public _targetMessageKey?: "targetMessageKey";
/** EncReactionMessage _encPayload. */
public _encPayload?: "encPayload";
/** EncReactionMessage _encIv. */
public _encIv?: "encIv";
/**
* Creates a new EncReactionMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns EncReactionMessage instance
*/
public static create(properties?: E2E.Message.IEncReactionMessage): E2E.Message.EncReactionMessage;
/**
* Encodes the specified EncReactionMessage message. Does not implicitly {@link E2E.Message.EncReactionMessage.verify|verify} messages.
* @param message EncReactionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IEncReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EncReactionMessage message, length delimited. Does not implicitly {@link E2E.Message.EncReactionMessage.verify|verify} messages.
* @param message EncReactionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IEncReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EncReactionMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EncReactionMessage
* @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.Message.EncReactionMessage;
/**
* Decodes an EncReactionMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EncReactionMessage
* @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.Message.EncReactionMessage;
/**
* Verifies an EncReactionMessage 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 EncReactionMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EncReactionMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.EncReactionMessage;
/**
* Creates a plain object from an EncReactionMessage message. Also converts values to other types if specified.
* @param message EncReactionMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.EncReactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EncReactionMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EncReactionMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EventMessage. */
interface IEventMessage {
/** EventMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** EventMessage isCanceled */
isCanceled?: (boolean|null);
/** EventMessage name */
name?: (string|null);
/** EventMessage description */
description?: (string|null);
/** EventMessage location */
location?: (E2E.Message.ILocationMessage|null);
/** EventMessage joinLink */
joinLink?: (string|null);
/** EventMessage startTime */
startTime?: (number|Long|null);
/** EventMessage endTime */
endTime?: (number|Long|null);
/** EventMessage extraGuestsAllowed */
extraGuestsAllowed?: (boolean|null);
/** EventMessage isScheduleCall */
isScheduleCall?: (boolean|null);
}
/** Represents an EventMessage. */
class EventMessage implements IEventMessage {
/**
* Constructs a new EventMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IEventMessage);
/** EventMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** EventMessage isCanceled. */
public isCanceled?: (boolean|null);
/** EventMessage name. */
public name?: (string|null);
/** EventMessage description. */
public description?: (string|null);
/** EventMessage location. */
public location?: (E2E.Message.ILocationMessage|null);
/** EventMessage joinLink. */
public joinLink?: (string|null);
/** EventMessage startTime. */
public startTime?: (number|Long|null);
/** EventMessage endTime. */
public endTime?: (number|Long|null);
/** EventMessage extraGuestsAllowed. */
public extraGuestsAllowed?: (boolean|null);
/** EventMessage isScheduleCall. */
public isScheduleCall?: (boolean|null);
/** EventMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** EventMessage _isCanceled. */
public _isCanceled?: "isCanceled";
/** EventMessage _name. */
public _name?: "name";
/** EventMessage _description. */
public _description?: "description";
/** EventMessage _location. */
public _location?: "location";
/** EventMessage _joinLink. */
public _joinLink?: "joinLink";
/** EventMessage _startTime. */
public _startTime?: "startTime";
/** EventMessage _endTime. */
public _endTime?: "endTime";
/** EventMessage _extraGuestsAllowed. */
public _extraGuestsAllowed?: "extraGuestsAllowed";
/** EventMessage _isScheduleCall. */
public _isScheduleCall?: "isScheduleCall";
/**
* Creates a new EventMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns EventMessage instance
*/
public static create(properties?: E2E.Message.IEventMessage): E2E.Message.EventMessage;
/**
* Encodes the specified EventMessage message. Does not implicitly {@link E2E.Message.EventMessage.verify|verify} messages.
* @param message EventMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IEventMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EventMessage message, length delimited. Does not implicitly {@link E2E.Message.EventMessage.verify|verify} messages.
* @param message EventMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IEventMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EventMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EventMessage
* @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.Message.EventMessage;
/**
* Decodes an EventMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EventMessage
* @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.Message.EventMessage;
/**
* Verifies an EventMessage 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 EventMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EventMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.EventMessage;
/**
* Creates a plain object from an EventMessage message. Also converts values to other types if specified.
* @param message EventMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.EventMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EventMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EventMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EventResponseMessage. */
interface IEventResponseMessage {
/** EventResponseMessage response */
response?: (E2E.Message.EventResponseMessage.EventResponseType|null);
/** EventResponseMessage timestampMs */
timestampMs?: (number|Long|null);
/** EventResponseMessage extraGuestCount */
extraGuestCount?: (number|null);
}
/** Represents an EventResponseMessage. */
class EventResponseMessage implements IEventResponseMessage {
/**
* Constructs a new EventResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IEventResponseMessage);
/** EventResponseMessage response. */
public response?: (E2E.Message.EventResponseMessage.EventResponseType|null);
/** EventResponseMessage timestampMs. */
public timestampMs?: (number|Long|null);
/** EventResponseMessage extraGuestCount. */
public extraGuestCount?: (number|null);
/** EventResponseMessage _response. */
public _response?: "response";
/** EventResponseMessage _timestampMs. */
public _timestampMs?: "timestampMs";
/** EventResponseMessage _extraGuestCount. */
public _extraGuestCount?: "extraGuestCount";
/**
* Creates a new EventResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns EventResponseMessage instance
*/
public static create(properties?: E2E.Message.IEventResponseMessage): E2E.Message.EventResponseMessage;
/**
* Encodes the specified EventResponseMessage message. Does not implicitly {@link E2E.Message.EventResponseMessage.verify|verify} messages.
* @param message EventResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EventResponseMessage message, length delimited. Does not implicitly {@link E2E.Message.EventResponseMessage.verify|verify} messages.
* @param message EventResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EventResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EventResponseMessage
* @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.Message.EventResponseMessage;
/**
* Decodes an EventResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EventResponseMessage
* @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.Message.EventResponseMessage;
/**
* Verifies an EventResponseMessage 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 EventResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EventResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.EventResponseMessage;
/**
* Creates a plain object from an EventResponseMessage message. Also converts values to other types if specified.
* @param message EventResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.EventResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EventResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EventResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace EventResponseMessage {
/** EventResponseType enum. */
enum EventResponseType {
UNKNOWN = 0,
GOING = 1,
NOT_GOING = 2,
MAYBE = 3
}
}
/** Properties of an ExtendedTextMessage. */
interface IExtendedTextMessage {
/** ExtendedTextMessage text */
text?: (string|null);
/** ExtendedTextMessage matchedText */
matchedText?: (string|null);
/** ExtendedTextMessage description */
description?: (string|null);
/** ExtendedTextMessage title */
title?: (string|null);
/** ExtendedTextMessage textArgb */
textArgb?: (number|null);
/** ExtendedTextMessage backgroundArgb */
backgroundArgb?: (number|null);
/** ExtendedTextMessage font */
font?: (E2E.Message.ExtendedTextMessage.FontType|null);
/** ExtendedTextMessage previewType */
previewType?: (E2E.Message.ExtendedTextMessage.PreviewType|null);
/** ExtendedTextMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** ExtendedTextMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** ExtendedTextMessage doNotPlayInline */
doNotPlayInline?: (boolean|null);
/** ExtendedTextMessage thumbnailDirectPath */
thumbnailDirectPath?: (string|null);
/** ExtendedTextMessage thumbnailSha256 */
thumbnailSha256?: (Uint8Array|null);
/** ExtendedTextMessage thumbnailEncSha256 */
thumbnailEncSha256?: (Uint8Array|null);
/** ExtendedTextMessage mediaKey */
mediaKey?: (Uint8Array|null);
/** ExtendedTextMessage mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** ExtendedTextMessage thumbnailHeight */
thumbnailHeight?: (number|null);
/** ExtendedTextMessage thumbnailWidth */
thumbnailWidth?: (number|null);
/** ExtendedTextMessage inviteLinkGroupType */
inviteLinkGroupType?: (E2E.Message.ExtendedTextMessage.InviteLinkGroupType|null);
/** ExtendedTextMessage inviteLinkParentGroupSubjectV2 */
inviteLinkParentGroupSubjectV2?: (string|null);
/** ExtendedTextMessage inviteLinkParentGroupThumbnailV2 */
inviteLinkParentGroupThumbnailV2?: (Uint8Array|null);
/** ExtendedTextMessage inviteLinkGroupTypeV2 */
inviteLinkGroupTypeV2?: (E2E.Message.ExtendedTextMessage.InviteLinkGroupType|null);
/** ExtendedTextMessage viewOnce */
viewOnce?: (boolean|null);
/** ExtendedTextMessage videoHeight */
videoHeight?: (number|null);
/** ExtendedTextMessage videoWidth */
videoWidth?: (number|null);
/** ExtendedTextMessage faviconMMSMetadata */
faviconMMSMetadata?: (E2E.Message.IMMSThumbnailMetadata|null);
/** ExtendedTextMessage linkPreviewMetadata */
linkPreviewMetadata?: (E2E.Message.ILinkPreviewMetadata|null);
/** ExtendedTextMessage paymentLinkMetadata */
paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
}
/** Represents an ExtendedTextMessage. */
class ExtendedTextMessage implements IExtendedTextMessage {
/**
* Constructs a new ExtendedTextMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IExtendedTextMessage);
/** ExtendedTextMessage text. */
public text?: (string|null);
/** ExtendedTextMessage matchedText. */
public matchedText?: (string|null);
/** ExtendedTextMessage description. */
public description?: (string|null);
/** ExtendedTextMessage title. */
public title?: (string|null);
/** ExtendedTextMessage textArgb. */
public textArgb?: (number|null);
/** ExtendedTextMessage backgroundArgb. */
public backgroundArgb?: (number|null);
/** ExtendedTextMessage font. */
public font?: (E2E.Message.ExtendedTextMessage.FontType|null);
/** ExtendedTextMessage previewType. */
public previewType?: (E2E.Message.ExtendedTextMessage.PreviewType|null);
/** ExtendedTextMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** ExtendedTextMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ExtendedTextMessage doNotPlayInline. */
public doNotPlayInline?: (boolean|null);
/** ExtendedTextMessage thumbnailDirectPath. */
public thumbnailDirectPath?: (string|null);
/** ExtendedTextMessage thumbnailSha256. */
public thumbnailSha256?: (Uint8Array|null);
/** ExtendedTextMessage thumbnailEncSha256. */
public thumbnailEncSha256?: (Uint8Array|null);
/** ExtendedTextMessage mediaKey. */
public mediaKey?: (Uint8Array|null);
/** ExtendedTextMessage mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** ExtendedTextMessage thumbnailHeight. */
public thumbnailHeight?: (number|null);
/** ExtendedTextMessage thumbnailWidth. */
public thumbnailWidth?: (number|null);
/** ExtendedTextMessage inviteLinkGroupType. */
public inviteLinkGroupType?: (E2E.Message.ExtendedTextMessage.InviteLinkGroupType|null);
/** ExtendedTextMessage inviteLinkParentGroupSubjectV2. */
public inviteLinkParentGroupSubjectV2?: (string|null);
/** ExtendedTextMessage inviteLinkParentGroupThumbnailV2. */
public inviteLinkParentGroupThumbnailV2?: (Uint8Array|null);
/** ExtendedTextMessage inviteLinkGroupTypeV2. */
public inviteLinkGroupTypeV2?: (E2E.Message.ExtendedTextMessage.InviteLinkGroupType|null);
/** ExtendedTextMessage viewOnce. */
public viewOnce?: (boolean|null);
/** ExtendedTextMessage videoHeight. */
public videoHeight?: (number|null);
/** ExtendedTextMessage videoWidth. */
public videoWidth?: (number|null);
/** ExtendedTextMessage faviconMMSMetadata. */
public faviconMMSMetadata?: (E2E.Message.IMMSThumbnailMetadata|null);
/** ExtendedTextMessage linkPreviewMetadata. */
public linkPreviewMetadata?: (E2E.Message.ILinkPreviewMetadata|null);
/** ExtendedTextMessage paymentLinkMetadata. */
public paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
/** ExtendedTextMessage _text. */
public _text?: "text";
/** ExtendedTextMessage _matchedText. */
public _matchedText?: "matchedText";
/** ExtendedTextMessage _description. */
public _description?: "description";
/** ExtendedTextMessage _title. */
public _title?: "title";
/** ExtendedTextMessage _textArgb. */
public _textArgb?: "textArgb";
/** ExtendedTextMessage _backgroundArgb. */
public _backgroundArgb?: "backgroundArgb";
/** ExtendedTextMessage _font. */
public _font?: "font";
/** ExtendedTextMessage _previewType. */
public _previewType?: "previewType";
/** ExtendedTextMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** ExtendedTextMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** ExtendedTextMessage _doNotPlayInline. */
public _doNotPlayInline?: "doNotPlayInline";
/** ExtendedTextMessage _thumbnailDirectPath. */
public _thumbnailDirectPath?: "thumbnailDirectPath";
/** ExtendedTextMessage _thumbnailSha256. */
public _thumbnailSha256?: "thumbnailSha256";
/** ExtendedTextMessage _thumbnailEncSha256. */
public _thumbnailEncSha256?: "thumbnailEncSha256";
/** ExtendedTextMessage _mediaKey. */
public _mediaKey?: "mediaKey";
/** ExtendedTextMessage _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** ExtendedTextMessage _thumbnailHeight. */
public _thumbnailHeight?: "thumbnailHeight";
/** ExtendedTextMessage _thumbnailWidth. */
public _thumbnailWidth?: "thumbnailWidth";
/** ExtendedTextMessage _inviteLinkGroupType. */
public _inviteLinkGroupType?: "inviteLinkGroupType";
/** ExtendedTextMessage _inviteLinkParentGroupSubjectV2. */
public _inviteLinkParentGroupSubjectV2?: "inviteLinkParentGroupSubjectV2";
/** ExtendedTextMessage _inviteLinkParentGroupThumbnailV2. */
public _inviteLinkParentGroupThumbnailV2?: "inviteLinkParentGroupThumbnailV2";
/** ExtendedTextMessage _inviteLinkGroupTypeV2. */
public _inviteLinkGroupTypeV2?: "inviteLinkGroupTypeV2";
/** ExtendedTextMessage _viewOnce. */
public _viewOnce?: "viewOnce";
/** ExtendedTextMessage _videoHeight. */
public _videoHeight?: "videoHeight";
/** ExtendedTextMessage _videoWidth. */
public _videoWidth?: "videoWidth";
/** ExtendedTextMessage _faviconMMSMetadata. */
public _faviconMMSMetadata?: "faviconMMSMetadata";
/** ExtendedTextMessage _linkPreviewMetadata. */
public _linkPreviewMetadata?: "linkPreviewMetadata";
/** ExtendedTextMessage _paymentLinkMetadata. */
public _paymentLinkMetadata?: "paymentLinkMetadata";
/**
* Creates a new ExtendedTextMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ExtendedTextMessage instance
*/
public static create(properties?: E2E.Message.IExtendedTextMessage): E2E.Message.ExtendedTextMessage;
/**
* Encodes the specified ExtendedTextMessage message. Does not implicitly {@link E2E.Message.ExtendedTextMessage.verify|verify} messages.
* @param message ExtendedTextMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ExtendedTextMessage message, length delimited. Does not implicitly {@link E2E.Message.ExtendedTextMessage.verify|verify} messages.
* @param message ExtendedTextMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an ExtendedTextMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ExtendedTextMessage
* @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.Message.ExtendedTextMessage;
/**
* Decodes an ExtendedTextMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ExtendedTextMessage
* @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.Message.ExtendedTextMessage;
/**
* Verifies an ExtendedTextMessage 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 ExtendedTextMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ExtendedTextMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ExtendedTextMessage;
/**
* Creates a plain object from an ExtendedTextMessage message. Also converts values to other types if specified.
* @param message ExtendedTextMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ExtendedTextMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ExtendedTextMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ExtendedTextMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ExtendedTextMessage {
/** FontType enum. */
enum FontType {
SYSTEM = 0,
SYSTEM_TEXT = 1,
FB_SCRIPT = 2,
SYSTEM_BOLD = 6,
MORNINGBREEZE_REGULAR = 7,
CALISTOGA_REGULAR = 8,
EXO2_EXTRABOLD = 9,
COURIERPRIME_BOLD = 10
}
/** InviteLinkGroupType enum. */
enum InviteLinkGroupType {
DEFAULT = 0,
PARENT = 1,
SUB = 2,
DEFAULT_SUB = 3
}
/** PreviewType enum. */
enum PreviewType {
NONE = 0,
VIDEO = 1,
PLACEHOLDER = 4,
IMAGE = 5,
PAYMENT_LINKS = 6,
PROFILE = 7
}
}
/** Properties of a FullHistorySyncOnDemandRequestMetadata. */
interface IFullHistorySyncOnDemandRequestMetadata {
/** FullHistorySyncOnDemandRequestMetadata requestId */
requestId?: (string|null);
}
/** Represents a FullHistorySyncOnDemandRequestMetadata. */
class FullHistorySyncOnDemandRequestMetadata implements IFullHistorySyncOnDemandRequestMetadata {
/**
* Constructs a new FullHistorySyncOnDemandRequestMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IFullHistorySyncOnDemandRequestMetadata);
/** FullHistorySyncOnDemandRequestMetadata requestId. */
public requestId?: (string|null);
/** FullHistorySyncOnDemandRequestMetadata _requestId. */
public _requestId?: "requestId";
/**
* Creates a new FullHistorySyncOnDemandRequestMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns FullHistorySyncOnDemandRequestMetadata instance
*/
public static create(properties?: E2E.Message.IFullHistorySyncOnDemandRequestMetadata): E2E.Message.FullHistorySyncOnDemandRequestMetadata;
/**
* Encodes the specified FullHistorySyncOnDemandRequestMetadata message. Does not implicitly {@link E2E.Message.FullHistorySyncOnDemandRequestMetadata.verify|verify} messages.
* @param message FullHistorySyncOnDemandRequestMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IFullHistorySyncOnDemandRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FullHistorySyncOnDemandRequestMetadata message, length delimited. Does not implicitly {@link E2E.Message.FullHistorySyncOnDemandRequestMetadata.verify|verify} messages.
* @param message FullHistorySyncOnDemandRequestMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IFullHistorySyncOnDemandRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FullHistorySyncOnDemandRequestMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FullHistorySyncOnDemandRequestMetadata
* @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.Message.FullHistorySyncOnDemandRequestMetadata;
/**
* Decodes a FullHistorySyncOnDemandRequestMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FullHistorySyncOnDemandRequestMetadata
* @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.Message.FullHistorySyncOnDemandRequestMetadata;
/**
* Verifies a FullHistorySyncOnDemandRequestMetadata 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 FullHistorySyncOnDemandRequestMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FullHistorySyncOnDemandRequestMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.FullHistorySyncOnDemandRequestMetadata;
/**
* Creates a plain object from a FullHistorySyncOnDemandRequestMetadata message. Also converts values to other types if specified.
* @param message FullHistorySyncOnDemandRequestMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.FullHistorySyncOnDemandRequestMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FullHistorySyncOnDemandRequestMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for FullHistorySyncOnDemandRequestMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a FutureProofMessage. */
interface IFutureProofMessage {
/** FutureProofMessage message */
message?: (E2E.IMessage|null);
}
/** Represents a FutureProofMessage. */
class FutureProofMessage implements IFutureProofMessage {
/**
* Constructs a new FutureProofMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IFutureProofMessage);
/** FutureProofMessage message. */
public message?: (E2E.IMessage|null);
/** FutureProofMessage _message. */
public _message?: "message";
/**
* Creates a new FutureProofMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns FutureProofMessage instance
*/
public static create(properties?: E2E.Message.IFutureProofMessage): E2E.Message.FutureProofMessage;
/**
* Encodes the specified FutureProofMessage message. Does not implicitly {@link E2E.Message.FutureProofMessage.verify|verify} messages.
* @param message FutureProofMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IFutureProofMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FutureProofMessage message, length delimited. Does not implicitly {@link E2E.Message.FutureProofMessage.verify|verify} messages.
* @param message FutureProofMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IFutureProofMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FutureProofMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FutureProofMessage
* @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.Message.FutureProofMessage;
/**
* Decodes a FutureProofMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FutureProofMessage
* @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.Message.FutureProofMessage;
/**
* Verifies a FutureProofMessage 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 FutureProofMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FutureProofMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.FutureProofMessage;
/**
* Creates a plain object from a FutureProofMessage message. Also converts values to other types if specified.
* @param message FutureProofMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.FutureProofMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FutureProofMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for FutureProofMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a GroupInviteMessage. */
interface IGroupInviteMessage {
/** GroupInviteMessage groupJid */
groupJid?: (string|null);
/** GroupInviteMessage inviteCode */
inviteCode?: (string|null);
/** GroupInviteMessage inviteExpiration */
inviteExpiration?: (number|Long|null);
/** GroupInviteMessage groupName */
groupName?: (string|null);
/** GroupInviteMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** GroupInviteMessage caption */
caption?: (string|null);
/** GroupInviteMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** GroupInviteMessage groupType */
groupType?: (E2E.Message.GroupInviteMessage.GroupType|null);
}
/** Represents a GroupInviteMessage. */
class GroupInviteMessage implements IGroupInviteMessage {
/**
* Constructs a new GroupInviteMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IGroupInviteMessage);
/** GroupInviteMessage groupJid. */
public groupJid?: (string|null);
/** GroupInviteMessage inviteCode. */
public inviteCode?: (string|null);
/** GroupInviteMessage inviteExpiration. */
public inviteExpiration?: (number|Long|null);
/** GroupInviteMessage groupName. */
public groupName?: (string|null);
/** GroupInviteMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** GroupInviteMessage caption. */
public caption?: (string|null);
/** GroupInviteMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** GroupInviteMessage groupType. */
public groupType?: (E2E.Message.GroupInviteMessage.GroupType|null);
/** GroupInviteMessage _groupJid. */
public _groupJid?: "groupJid";
/** GroupInviteMessage _inviteCode. */
public _inviteCode?: "inviteCode";
/** GroupInviteMessage _inviteExpiration. */
public _inviteExpiration?: "inviteExpiration";
/** GroupInviteMessage _groupName. */
public _groupName?: "groupName";
/** GroupInviteMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** GroupInviteMessage _caption. */
public _caption?: "caption";
/** GroupInviteMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** GroupInviteMessage _groupType. */
public _groupType?: "groupType";
/**
* Creates a new GroupInviteMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns GroupInviteMessage instance
*/
public static create(properties?: E2E.Message.IGroupInviteMessage): E2E.Message.GroupInviteMessage;
/**
* Encodes the specified GroupInviteMessage message. Does not implicitly {@link E2E.Message.GroupInviteMessage.verify|verify} messages.
* @param message GroupInviteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified GroupInviteMessage message, length delimited. Does not implicitly {@link E2E.Message.GroupInviteMessage.verify|verify} messages.
* @param message GroupInviteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a GroupInviteMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns GroupInviteMessage
* @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.Message.GroupInviteMessage;
/**
* Decodes a GroupInviteMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns GroupInviteMessage
* @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.Message.GroupInviteMessage;
/**
* Verifies a GroupInviteMessage 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 GroupInviteMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns GroupInviteMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.GroupInviteMessage;
/**
* Creates a plain object from a GroupInviteMessage message. Also converts values to other types if specified.
* @param message GroupInviteMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.GroupInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this GroupInviteMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for GroupInviteMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace GroupInviteMessage {
/** GroupType enum. */
enum GroupType {
DEFAULT = 0,
PARENT = 1
}
}
/** Properties of a HighlyStructuredMessage. */
interface IHighlyStructuredMessage {
/** HighlyStructuredMessage namespace */
namespace?: (string|null);
/** HighlyStructuredMessage elementName */
elementName?: (string|null);
/** HighlyStructuredMessage params */
params?: (string[]|null);
/** HighlyStructuredMessage fallbackLg */
fallbackLg?: (string|null);
/** HighlyStructuredMessage fallbackLc */
fallbackLc?: (string|null);
/** HighlyStructuredMessage localizableParams */
localizableParams?: (E2E.Message.HighlyStructuredMessage.IHSMLocalizableParameter[]|null);
/** HighlyStructuredMessage deterministicLg */
deterministicLg?: (string|null);
/** HighlyStructuredMessage deterministicLc */
deterministicLc?: (string|null);
/** HighlyStructuredMessage hydratedHsm */
hydratedHsm?: (E2E.Message.ITemplateMessage|null);
}
/** Represents a HighlyStructuredMessage. */
class HighlyStructuredMessage implements IHighlyStructuredMessage {
/**
* Constructs a new HighlyStructuredMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IHighlyStructuredMessage);
/** HighlyStructuredMessage namespace. */
public namespace?: (string|null);
/** HighlyStructuredMessage elementName. */
public elementName?: (string|null);
/** HighlyStructuredMessage params. */
public params: string[];
/** HighlyStructuredMessage fallbackLg. */
public fallbackLg?: (string|null);
/** HighlyStructuredMessage fallbackLc. */
public fallbackLc?: (string|null);
/** HighlyStructuredMessage localizableParams. */
public localizableParams: E2E.Message.HighlyStructuredMessage.IHSMLocalizableParameter[];
/** HighlyStructuredMessage deterministicLg. */
public deterministicLg?: (string|null);
/** HighlyStructuredMessage deterministicLc. */
public deterministicLc?: (string|null);
/** HighlyStructuredMessage hydratedHsm. */
public hydratedHsm?: (E2E.Message.ITemplateMessage|null);
/** HighlyStructuredMessage _namespace. */
public _namespace?: "namespace";
/** HighlyStructuredMessage _elementName. */
public _elementName?: "elementName";
/** HighlyStructuredMessage _fallbackLg. */
public _fallbackLg?: "fallbackLg";
/** HighlyStructuredMessage _fallbackLc. */
public _fallbackLc?: "fallbackLc";
/** HighlyStructuredMessage _deterministicLg. */
public _deterministicLg?: "deterministicLg";
/** HighlyStructuredMessage _deterministicLc. */
public _deterministicLc?: "deterministicLc";
/** HighlyStructuredMessage _hydratedHsm. */
public _hydratedHsm?: "hydratedHsm";
/**
* Creates a new HighlyStructuredMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns HighlyStructuredMessage instance
*/
public static create(properties?: E2E.Message.IHighlyStructuredMessage): E2E.Message.HighlyStructuredMessage;
/**
* Encodes the specified HighlyStructuredMessage message. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.verify|verify} messages.
* @param message HighlyStructuredMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IHighlyStructuredMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HighlyStructuredMessage message, length delimited. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.verify|verify} messages.
* @param message HighlyStructuredMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IHighlyStructuredMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HighlyStructuredMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HighlyStructuredMessage
* @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.Message.HighlyStructuredMessage;
/**
* Decodes a HighlyStructuredMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HighlyStructuredMessage
* @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.Message.HighlyStructuredMessage;
/**
* Verifies a HighlyStructuredMessage 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 HighlyStructuredMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HighlyStructuredMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.HighlyStructuredMessage;
/**
* Creates a plain object from a HighlyStructuredMessage message. Also converts values to other types if specified.
* @param message HighlyStructuredMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.HighlyStructuredMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HighlyStructuredMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HighlyStructuredMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace HighlyStructuredMessage {
/** Properties of a HSMLocalizableParameter. */
interface IHSMLocalizableParameter {
/** HSMLocalizableParameter default */
"default"?: (string|null);
/** HSMLocalizableParameter currency */
currency?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency|null);
/** HSMLocalizableParameter dateTime */
dateTime?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime|null);
}
/** Represents a HSMLocalizableParameter. */
class HSMLocalizableParameter implements IHSMLocalizableParameter {
/**
* Constructs a new HSMLocalizableParameter.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.HighlyStructuredMessage.IHSMLocalizableParameter);
/** HSMLocalizableParameter default. */
public default?: (string|null);
/** HSMLocalizableParameter currency. */
public currency?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency|null);
/** HSMLocalizableParameter dateTime. */
public dateTime?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime|null);
/** HSMLocalizableParameter _default. */
public _default?: "default";
/** HSMLocalizableParameter paramOneof. */
public paramOneof?: ("currency"|"dateTime");
/**
* Creates a new HSMLocalizableParameter instance using the specified properties.
* @param [properties] Properties to set
* @returns HSMLocalizableParameter instance
*/
public static create(properties?: E2E.Message.HighlyStructuredMessage.IHSMLocalizableParameter): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter;
/**
* Encodes the specified HSMLocalizableParameter message. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.verify|verify} messages.
* @param message HSMLocalizableParameter message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.HighlyStructuredMessage.IHSMLocalizableParameter, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HSMLocalizableParameter message, length delimited. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.verify|verify} messages.
* @param message HSMLocalizableParameter message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.HighlyStructuredMessage.IHSMLocalizableParameter, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HSMLocalizableParameter message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HSMLocalizableParameter
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter;
/**
* Decodes a HSMLocalizableParameter message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HSMLocalizableParameter
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter;
/**
* Verifies a HSMLocalizableParameter 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 HSMLocalizableParameter message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HSMLocalizableParameter
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter;
/**
* Creates a plain object from a HSMLocalizableParameter message. Also converts values to other types if specified.
* @param message HSMLocalizableParameter
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HSMLocalizableParameter to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HSMLocalizableParameter
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace HSMLocalizableParameter {
/** Properties of a HSMCurrency. */
interface IHSMCurrency {
/** HSMCurrency currencyCode */
currencyCode?: (string|null);
/** HSMCurrency amount1000 */
amount1000?: (number|Long|null);
}
/** Represents a HSMCurrency. */
class HSMCurrency implements IHSMCurrency {
/**
* Constructs a new HSMCurrency.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency);
/** HSMCurrency currencyCode. */
public currencyCode?: (string|null);
/** HSMCurrency amount1000. */
public amount1000?: (number|Long|null);
/** HSMCurrency _currencyCode. */
public _currencyCode?: "currencyCode";
/** HSMCurrency _amount1000. */
public _amount1000?: "amount1000";
/**
* Creates a new HSMCurrency instance using the specified properties.
* @param [properties] Properties to set
* @returns HSMCurrency instance
*/
public static create(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency;
/**
* Encodes the specified HSMCurrency message. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency.verify|verify} messages.
* @param message HSMCurrency message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HSMCurrency message, length delimited. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency.verify|verify} messages.
* @param message HSMCurrency message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HSMCurrency message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HSMCurrency
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency;
/**
* Decodes a HSMCurrency message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HSMCurrency
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency;
/**
* Verifies a HSMCurrency 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 HSMCurrency message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HSMCurrency
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency;
/**
* Creates a plain object from a HSMCurrency message. Also converts values to other types if specified.
* @param message HSMCurrency
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HSMCurrency to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HSMCurrency
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HSMDateTime. */
interface IHSMDateTime {
/** HSMDateTime component */
component?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent|null);
/** HSMDateTime unixEpoch */
unixEpoch?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch|null);
}
/** Represents a HSMDateTime. */
class HSMDateTime implements IHSMDateTime {
/**
* Constructs a new HSMDateTime.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime);
/** HSMDateTime component. */
public component?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent|null);
/** HSMDateTime unixEpoch. */
public unixEpoch?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch|null);
/** HSMDateTime datetimeOneof. */
public datetimeOneof?: ("component"|"unixEpoch");
/**
* Creates a new HSMDateTime instance using the specified properties.
* @param [properties] Properties to set
* @returns HSMDateTime instance
*/
public static create(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime;
/**
* Encodes the specified HSMDateTime message. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.verify|verify} messages.
* @param message HSMDateTime message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HSMDateTime message, length delimited. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.verify|verify} messages.
* @param message HSMDateTime message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HSMDateTime message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HSMDateTime
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime;
/**
* Decodes a HSMDateTime message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HSMDateTime
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime;
/**
* Verifies a HSMDateTime 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 HSMDateTime message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HSMDateTime
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime;
/**
* Creates a plain object from a HSMDateTime message. Also converts values to other types if specified.
* @param message HSMDateTime
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HSMDateTime to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HSMDateTime
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace HSMDateTime {
/** Properties of a HSMDateTimeComponent. */
interface IHSMDateTimeComponent {
/** HSMDateTimeComponent dayOfWeek */
dayOfWeek?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType|null);
/** HSMDateTimeComponent year */
year?: (number|null);
/** HSMDateTimeComponent month */
month?: (number|null);
/** HSMDateTimeComponent dayOfMonth */
dayOfMonth?: (number|null);
/** HSMDateTimeComponent hour */
hour?: (number|null);
/** HSMDateTimeComponent minute */
minute?: (number|null);
/** HSMDateTimeComponent calendar */
calendar?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType|null);
}
/** Represents a HSMDateTimeComponent. */
class HSMDateTimeComponent implements IHSMDateTimeComponent {
/**
* Constructs a new HSMDateTimeComponent.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent);
/** HSMDateTimeComponent dayOfWeek. */
public dayOfWeek?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType|null);
/** HSMDateTimeComponent year. */
public year?: (number|null);
/** HSMDateTimeComponent month. */
public month?: (number|null);
/** HSMDateTimeComponent dayOfMonth. */
public dayOfMonth?: (number|null);
/** HSMDateTimeComponent hour. */
public hour?: (number|null);
/** HSMDateTimeComponent minute. */
public minute?: (number|null);
/** HSMDateTimeComponent calendar. */
public calendar?: (E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType|null);
/** HSMDateTimeComponent _dayOfWeek. */
public _dayOfWeek?: "dayOfWeek";
/** HSMDateTimeComponent _year. */
public _year?: "year";
/** HSMDateTimeComponent _month. */
public _month?: "month";
/** HSMDateTimeComponent _dayOfMonth. */
public _dayOfMonth?: "dayOfMonth";
/** HSMDateTimeComponent _hour. */
public _hour?: "hour";
/** HSMDateTimeComponent _minute. */
public _minute?: "minute";
/** HSMDateTimeComponent _calendar. */
public _calendar?: "calendar";
/**
* Creates a new HSMDateTimeComponent instance using the specified properties.
* @param [properties] Properties to set
* @returns HSMDateTimeComponent instance
*/
public static create(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent;
/**
* Encodes the specified HSMDateTimeComponent message. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.verify|verify} messages.
* @param message HSMDateTimeComponent message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HSMDateTimeComponent message, length delimited. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.verify|verify} messages.
* @param message HSMDateTimeComponent message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HSMDateTimeComponent message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HSMDateTimeComponent
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent;
/**
* Decodes a HSMDateTimeComponent message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HSMDateTimeComponent
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent;
/**
* Verifies a HSMDateTimeComponent 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 HSMDateTimeComponent message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HSMDateTimeComponent
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent;
/**
* Creates a plain object from a HSMDateTimeComponent message. Also converts values to other types if specified.
* @param message HSMDateTimeComponent
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HSMDateTimeComponent to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HSMDateTimeComponent
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace HSMDateTimeComponent {
/** CalendarType enum. */
enum CalendarType {
GREGORIAN = 1,
SOLAR_HIJRI = 2
}
/** DayOfWeekType enum. */
enum DayOfWeekType {
MONDAY = 1,
TUESDAY = 2,
WEDNESDAY = 3,
THURSDAY = 4,
FRIDAY = 5,
SATURDAY = 6,
SUNDAY = 7
}
}
/** Properties of a HSMDateTimeUnixEpoch. */
interface IHSMDateTimeUnixEpoch {
/** HSMDateTimeUnixEpoch timestamp */
timestamp?: (number|Long|null);
}
/** Represents a HSMDateTimeUnixEpoch. */
class HSMDateTimeUnixEpoch implements IHSMDateTimeUnixEpoch {
/**
* Constructs a new HSMDateTimeUnixEpoch.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch);
/** HSMDateTimeUnixEpoch timestamp. */
public timestamp?: (number|Long|null);
/** HSMDateTimeUnixEpoch _timestamp. */
public _timestamp?: "timestamp";
/**
* Creates a new HSMDateTimeUnixEpoch instance using the specified properties.
* @param [properties] Properties to set
* @returns HSMDateTimeUnixEpoch instance
*/
public static create(properties?: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch;
/**
* Encodes the specified HSMDateTimeUnixEpoch message. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch.verify|verify} messages.
* @param message HSMDateTimeUnixEpoch message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HSMDateTimeUnixEpoch message, length delimited. Does not implicitly {@link E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch.verify|verify} messages.
* @param message HSMDateTimeUnixEpoch message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HSMDateTimeUnixEpoch message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HSMDateTimeUnixEpoch
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch;
/**
* Decodes a HSMDateTimeUnixEpoch message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HSMDateTimeUnixEpoch
* @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.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch;
/**
* Verifies a HSMDateTimeUnixEpoch 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 HSMDateTimeUnixEpoch message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HSMDateTimeUnixEpoch
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch;
/**
* Creates a plain object from a HSMDateTimeUnixEpoch message. Also converts values to other types if specified.
* @param message HSMDateTimeUnixEpoch
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HSMDateTimeUnixEpoch to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HSMDateTimeUnixEpoch
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
}
}
/** Properties of a HistorySyncNotification. */
interface IHistorySyncNotification {
/** HistorySyncNotification fileSha256 */
fileSha256?: (Uint8Array|null);
/** HistorySyncNotification fileLength */
fileLength?: (number|Long|null);
/** HistorySyncNotification mediaKey */
mediaKey?: (Uint8Array|null);
/** HistorySyncNotification fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** HistorySyncNotification directPath */
directPath?: (string|null);
/** HistorySyncNotification syncType */
syncType?: (E2E.Message.HistorySyncNotification.HistorySyncType|null);
/** HistorySyncNotification chunkOrder */
chunkOrder?: (number|null);
/** HistorySyncNotification originalMessageId */
originalMessageId?: (string|null);
/** HistorySyncNotification progress */
progress?: (number|null);
/** HistorySyncNotification oldestMsgInChunkTimestampSec */
oldestMsgInChunkTimestampSec?: (number|Long|null);
/** HistorySyncNotification initialHistBootstrapInlinePayload */
initialHistBootstrapInlinePayload?: (Uint8Array|null);
/** HistorySyncNotification peerDataRequestSessionId */
peerDataRequestSessionId?: (string|null);
/** HistorySyncNotification fullHistorySyncOnDemandRequestMetadata */
fullHistorySyncOnDemandRequestMetadata?: (E2E.Message.IFullHistorySyncOnDemandRequestMetadata|null);
/** HistorySyncNotification encHandle */
encHandle?: (string|null);
}
/** Represents a HistorySyncNotification. */
class HistorySyncNotification implements IHistorySyncNotification {
/**
* Constructs a new HistorySyncNotification.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IHistorySyncNotification);
/** HistorySyncNotification fileSha256. */
public fileSha256?: (Uint8Array|null);
/** HistorySyncNotification fileLength. */
public fileLength?: (number|Long|null);
/** HistorySyncNotification mediaKey. */
public mediaKey?: (Uint8Array|null);
/** HistorySyncNotification fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** HistorySyncNotification directPath. */
public directPath?: (string|null);
/** HistorySyncNotification syncType. */
public syncType?: (E2E.Message.HistorySyncNotification.HistorySyncType|null);
/** HistorySyncNotification chunkOrder. */
public chunkOrder?: (number|null);
/** HistorySyncNotification originalMessageId. */
public originalMessageId?: (string|null);
/** HistorySyncNotification progress. */
public progress?: (number|null);
/** HistorySyncNotification oldestMsgInChunkTimestampSec. */
public oldestMsgInChunkTimestampSec?: (number|Long|null);
/** HistorySyncNotification initialHistBootstrapInlinePayload. */
public initialHistBootstrapInlinePayload?: (Uint8Array|null);
/** HistorySyncNotification peerDataRequestSessionId. */
public peerDataRequestSessionId?: (string|null);
/** HistorySyncNotification fullHistorySyncOnDemandRequestMetadata. */
public fullHistorySyncOnDemandRequestMetadata?: (E2E.Message.IFullHistorySyncOnDemandRequestMetadata|null);
/** HistorySyncNotification encHandle. */
public encHandle?: (string|null);
/** HistorySyncNotification _fileSha256. */
public _fileSha256?: "fileSha256";
/** HistorySyncNotification _fileLength. */
public _fileLength?: "fileLength";
/** HistorySyncNotification _mediaKey. */
public _mediaKey?: "mediaKey";
/** HistorySyncNotification _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** HistorySyncNotification _directPath. */
public _directPath?: "directPath";
/** HistorySyncNotification _syncType. */
public _syncType?: "syncType";
/** HistorySyncNotification _chunkOrder. */
public _chunkOrder?: "chunkOrder";
/** HistorySyncNotification _originalMessageId. */
public _originalMessageId?: "originalMessageId";
/** HistorySyncNotification _progress. */
public _progress?: "progress";
/** HistorySyncNotification _oldestMsgInChunkTimestampSec. */
public _oldestMsgInChunkTimestampSec?: "oldestMsgInChunkTimestampSec";
/** HistorySyncNotification _initialHistBootstrapInlinePayload. */
public _initialHistBootstrapInlinePayload?: "initialHistBootstrapInlinePayload";
/** HistorySyncNotification _peerDataRequestSessionId. */
public _peerDataRequestSessionId?: "peerDataRequestSessionId";
/** HistorySyncNotification _fullHistorySyncOnDemandRequestMetadata. */
public _fullHistorySyncOnDemandRequestMetadata?: "fullHistorySyncOnDemandRequestMetadata";
/** HistorySyncNotification _encHandle. */
public _encHandle?: "encHandle";
/**
* Creates a new HistorySyncNotification instance using the specified properties.
* @param [properties] Properties to set
* @returns HistorySyncNotification instance
*/
public static create(properties?: E2E.Message.IHistorySyncNotification): E2E.Message.HistorySyncNotification;
/**
* Encodes the specified HistorySyncNotification message. Does not implicitly {@link E2E.Message.HistorySyncNotification.verify|verify} messages.
* @param message HistorySyncNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IHistorySyncNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HistorySyncNotification message, length delimited. Does not implicitly {@link E2E.Message.HistorySyncNotification.verify|verify} messages.
* @param message HistorySyncNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IHistorySyncNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HistorySyncNotification message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HistorySyncNotification
* @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.Message.HistorySyncNotification;
/**
* Decodes a HistorySyncNotification message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HistorySyncNotification
* @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.Message.HistorySyncNotification;
/**
* Verifies a HistorySyncNotification 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 HistorySyncNotification message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HistorySyncNotification
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.HistorySyncNotification;
/**
* Creates a plain object from a HistorySyncNotification message. Also converts values to other types if specified.
* @param message HistorySyncNotification
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.HistorySyncNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HistorySyncNotification to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HistorySyncNotification
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace HistorySyncNotification {
/** HistorySyncType enum. */
enum HistorySyncType {
INITIAL_BOOTSTRAP = 0,
INITIAL_STATUS_V3 = 1,
FULL = 2,
RECENT = 3,
PUSH_NAME = 4,
NON_BLOCKING_DATA = 5,
ON_DEMAND = 6,
NO_HISTORY = 7
}
}
/** Properties of an ImageMessage. */
interface IImageMessage {
/** ImageMessage url */
url?: (string|null);
/** ImageMessage mimetype */
mimetype?: (string|null);
/** ImageMessage caption */
caption?: (string|null);
/** ImageMessage fileSha256 */
fileSha256?: (Uint8Array|null);
/** ImageMessage fileLength */
fileLength?: (number|Long|null);
/** ImageMessage height */
height?: (number|null);
/** ImageMessage width */
width?: (number|null);
/** ImageMessage mediaKey */
mediaKey?: (Uint8Array|null);
/** ImageMessage fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** ImageMessage interactiveAnnotations */
interactiveAnnotations?: (E2E.IInteractiveAnnotation[]|null);
/** ImageMessage directPath */
directPath?: (string|null);
/** ImageMessage mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** ImageMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** ImageMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** ImageMessage firstScanSidecar */
firstScanSidecar?: (Uint8Array|null);
/** ImageMessage firstScanLength */
firstScanLength?: (number|null);
/** ImageMessage experimentGroupId */
experimentGroupId?: (number|null);
/** ImageMessage scansSidecar */
scansSidecar?: (Uint8Array|null);
/** ImageMessage scanLengths */
scanLengths?: (number[]|null);
/** ImageMessage midQualityFileSha256 */
midQualityFileSha256?: (Uint8Array|null);
/** ImageMessage midQualityFileEncSha256 */
midQualityFileEncSha256?: (Uint8Array|null);
/** ImageMessage viewOnce */
viewOnce?: (boolean|null);
/** ImageMessage thumbnailDirectPath */
thumbnailDirectPath?: (string|null);
/** ImageMessage thumbnailSha256 */
thumbnailSha256?: (Uint8Array|null);
/** ImageMessage thumbnailEncSha256 */
thumbnailEncSha256?: (Uint8Array|null);
/** ImageMessage staticUrl */
staticUrl?: (string|null);
/** ImageMessage annotations */
annotations?: (E2E.IInteractiveAnnotation[]|null);
/** ImageMessage imageSourceType */
imageSourceType?: (E2E.Message.ImageMessage.ImageSourceType|null);
/** ImageMessage accessibilityLabel */
accessibilityLabel?: (string|null);
}
/** Represents an ImageMessage. */
class ImageMessage implements IImageMessage {
/**
* Constructs a new ImageMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IImageMessage);
/** ImageMessage url. */
public url?: (string|null);
/** ImageMessage mimetype. */
public mimetype?: (string|null);
/** ImageMessage caption. */
public caption?: (string|null);
/** ImageMessage fileSha256. */
public fileSha256?: (Uint8Array|null);
/** ImageMessage fileLength. */
public fileLength?: (number|Long|null);
/** ImageMessage height. */
public height?: (number|null);
/** ImageMessage width. */
public width?: (number|null);
/** ImageMessage mediaKey. */
public mediaKey?: (Uint8Array|null);
/** ImageMessage fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** ImageMessage interactiveAnnotations. */
public interactiveAnnotations: E2E.IInteractiveAnnotation[];
/** ImageMessage directPath. */
public directPath?: (string|null);
/** ImageMessage mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** ImageMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** ImageMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ImageMessage firstScanSidecar. */
public firstScanSidecar?: (Uint8Array|null);
/** ImageMessage firstScanLength. */
public firstScanLength?: (number|null);
/** ImageMessage experimentGroupId. */
public experimentGroupId?: (number|null);
/** ImageMessage scansSidecar. */
public scansSidecar?: (Uint8Array|null);
/** ImageMessage scanLengths. */
public scanLengths: number[];
/** ImageMessage midQualityFileSha256. */
public midQualityFileSha256?: (Uint8Array|null);
/** ImageMessage midQualityFileEncSha256. */
public midQualityFileEncSha256?: (Uint8Array|null);
/** ImageMessage viewOnce. */
public viewOnce?: (boolean|null);
/** ImageMessage thumbnailDirectPath. */
public thumbnailDirectPath?: (string|null);
/** ImageMessage thumbnailSha256. */
public thumbnailSha256?: (Uint8Array|null);
/** ImageMessage thumbnailEncSha256. */
public thumbnailEncSha256?: (Uint8Array|null);
/** ImageMessage staticUrl. */
public staticUrl?: (string|null);
/** ImageMessage annotations. */
public annotations: E2E.IInteractiveAnnotation[];
/** ImageMessage imageSourceType. */
public imageSourceType?: (E2E.Message.ImageMessage.ImageSourceType|null);
/** ImageMessage accessibilityLabel. */
public accessibilityLabel?: (string|null);
/** ImageMessage _url. */
public _url?: "url";
/** ImageMessage _mimetype. */
public _mimetype?: "mimetype";
/** ImageMessage _caption. */
public _caption?: "caption";
/** ImageMessage _fileSha256. */
public _fileSha256?: "fileSha256";
/** ImageMessage _fileLength. */
public _fileLength?: "fileLength";
/** ImageMessage _height. */
public _height?: "height";
/** ImageMessage _width. */
public _width?: "width";
/** ImageMessage _mediaKey. */
public _mediaKey?: "mediaKey";
/** ImageMessage _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** ImageMessage _directPath. */
public _directPath?: "directPath";
/** ImageMessage _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** ImageMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** ImageMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** ImageMessage _firstScanSidecar. */
public _firstScanSidecar?: "firstScanSidecar";
/** ImageMessage _firstScanLength. */
public _firstScanLength?: "firstScanLength";
/** ImageMessage _experimentGroupId. */
public _experimentGroupId?: "experimentGroupId";
/** ImageMessage _scansSidecar. */
public _scansSidecar?: "scansSidecar";
/** ImageMessage _midQualityFileSha256. */
public _midQualityFileSha256?: "midQualityFileSha256";
/** ImageMessage _midQualityFileEncSha256. */
public _midQualityFileEncSha256?: "midQualityFileEncSha256";
/** ImageMessage _viewOnce. */
public _viewOnce?: "viewOnce";
/** ImageMessage _thumbnailDirectPath. */
public _thumbnailDirectPath?: "thumbnailDirectPath";
/** ImageMessage _thumbnailSha256. */
public _thumbnailSha256?: "thumbnailSha256";
/** ImageMessage _thumbnailEncSha256. */
public _thumbnailEncSha256?: "thumbnailEncSha256";
/** ImageMessage _staticUrl. */
public _staticUrl?: "staticUrl";
/** ImageMessage _imageSourceType. */
public _imageSourceType?: "imageSourceType";
/** ImageMessage _accessibilityLabel. */
public _accessibilityLabel?: "accessibilityLabel";
/**
* Creates a new ImageMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ImageMessage instance
*/
public static create(properties?: E2E.Message.IImageMessage): E2E.Message.ImageMessage;
/**
* Encodes the specified ImageMessage message. Does not implicitly {@link E2E.Message.ImageMessage.verify|verify} messages.
* @param message ImageMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ImageMessage message, length delimited. Does not implicitly {@link E2E.Message.ImageMessage.verify|verify} messages.
* @param message ImageMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an ImageMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ImageMessage
* @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.Message.ImageMessage;
/**
* Decodes an ImageMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ImageMessage
* @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.Message.ImageMessage;
/**
* Verifies an ImageMessage 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 ImageMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ImageMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ImageMessage;
/**
* Creates a plain object from an ImageMessage message. Also converts values to other types if specified.
* @param message ImageMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ImageMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ImageMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ImageMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ImageMessage {
/** ImageSourceType enum. */
enum ImageSourceType {
USER_IMAGE = 0,
AI_GENERATED = 1,
AI_MODIFIED = 2,
RASTERIZED_TEXT_STATUS = 3
}
}
/** Properties of an InitialSecurityNotificationSettingSync. */
interface IInitialSecurityNotificationSettingSync {
/** InitialSecurityNotificationSettingSync securityNotificationEnabled */
securityNotificationEnabled?: (boolean|null);
}
/** Represents an InitialSecurityNotificationSettingSync. */
class InitialSecurityNotificationSettingSync implements IInitialSecurityNotificationSettingSync {
/**
* Constructs a new InitialSecurityNotificationSettingSync.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IInitialSecurityNotificationSettingSync);
/** InitialSecurityNotificationSettingSync securityNotificationEnabled. */
public securityNotificationEnabled?: (boolean|null);
/** InitialSecurityNotificationSettingSync _securityNotificationEnabled. */
public _securityNotificationEnabled?: "securityNotificationEnabled";
/**
* Creates a new InitialSecurityNotificationSettingSync instance using the specified properties.
* @param [properties] Properties to set
* @returns InitialSecurityNotificationSettingSync instance
*/
public static create(properties?: E2E.Message.IInitialSecurityNotificationSettingSync): E2E.Message.InitialSecurityNotificationSettingSync;
/**
* Encodes the specified InitialSecurityNotificationSettingSync message. Does not implicitly {@link E2E.Message.InitialSecurityNotificationSettingSync.verify|verify} messages.
* @param message InitialSecurityNotificationSettingSync message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IInitialSecurityNotificationSettingSync, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified InitialSecurityNotificationSettingSync message, length delimited. Does not implicitly {@link E2E.Message.InitialSecurityNotificationSettingSync.verify|verify} messages.
* @param message InitialSecurityNotificationSettingSync message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IInitialSecurityNotificationSettingSync, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an InitialSecurityNotificationSettingSync message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns InitialSecurityNotificationSettingSync
* @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.Message.InitialSecurityNotificationSettingSync;
/**
* Decodes an InitialSecurityNotificationSettingSync message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns InitialSecurityNotificationSettingSync
* @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.Message.InitialSecurityNotificationSettingSync;
/**
* Verifies an InitialSecurityNotificationSettingSync 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 InitialSecurityNotificationSettingSync message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns InitialSecurityNotificationSettingSync
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InitialSecurityNotificationSettingSync;
/**
* Creates a plain object from an InitialSecurityNotificationSettingSync message. Also converts values to other types if specified.
* @param message InitialSecurityNotificationSettingSync
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InitialSecurityNotificationSettingSync, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this InitialSecurityNotificationSettingSync to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for InitialSecurityNotificationSettingSync
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an InteractiveMessage. */
interface IInteractiveMessage {
/** InteractiveMessage header */
header?: (E2E.Message.InteractiveMessage.IHeader|null);
/** InteractiveMessage body */
body?: (E2E.Message.InteractiveMessage.IBody|null);
/** InteractiveMessage footer */
footer?: (E2E.Message.InteractiveMessage.IFooter|null);
/** InteractiveMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** InteractiveMessage urlTrackingMap */
urlTrackingMap?: (E2E.IUrlTrackingMap|null);
/** InteractiveMessage shopStorefrontMessage */
shopStorefrontMessage?: (E2E.Message.InteractiveMessage.IShopMessage|null);
/** InteractiveMessage collectionMessage */
collectionMessage?: (E2E.Message.InteractiveMessage.ICollectionMessage|null);
/** InteractiveMessage nativeFlowMessage */
nativeFlowMessage?: (E2E.Message.InteractiveMessage.INativeFlowMessage|null);
/** InteractiveMessage carouselMessage */
carouselMessage?: (E2E.Message.InteractiveMessage.ICarouselMessage|null);
}
/** Represents an InteractiveMessage. */
class InteractiveMessage implements IInteractiveMessage {
/**
* Constructs a new InteractiveMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IInteractiveMessage);
/** InteractiveMessage header. */
public header?: (E2E.Message.InteractiveMessage.IHeader|null);
/** InteractiveMessage body. */
public body?: (E2E.Message.InteractiveMessage.IBody|null);
/** InteractiveMessage footer. */
public footer?: (E2E.Message.InteractiveMessage.IFooter|null);
/** InteractiveMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** InteractiveMessage urlTrackingMap. */
public urlTrackingMap?: (E2E.IUrlTrackingMap|null);
/** InteractiveMessage shopStorefrontMessage. */
public shopStorefrontMessage?: (E2E.Message.InteractiveMessage.IShopMessage|null);
/** InteractiveMessage collectionMessage. */
public collectionMessage?: (E2E.Message.InteractiveMessage.ICollectionMessage|null);
/** InteractiveMessage nativeFlowMessage. */
public nativeFlowMessage?: (E2E.Message.InteractiveMessage.INativeFlowMessage|null);
/** InteractiveMessage carouselMessage. */
public carouselMessage?: (E2E.Message.InteractiveMessage.ICarouselMessage|null);
/** InteractiveMessage _header. */
public _header?: "header";
/** InteractiveMessage _body. */
public _body?: "body";
/** InteractiveMessage _footer. */
public _footer?: "footer";
/** InteractiveMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** InteractiveMessage _urlTrackingMap. */
public _urlTrackingMap?: "urlTrackingMap";
/** InteractiveMessage interactiveMessage. */
public interactiveMessage?: ("shopStorefrontMessage"|"collectionMessage"|"nativeFlowMessage"|"carouselMessage");
/**
* Creates a new InteractiveMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns InteractiveMessage instance
*/
public static create(properties?: E2E.Message.IInteractiveMessage): E2E.Message.InteractiveMessage;
/**
* Encodes the specified InteractiveMessage message. Does not implicitly {@link E2E.Message.InteractiveMessage.verify|verify} messages.
* @param message InteractiveMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IInteractiveMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified InteractiveMessage message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.verify|verify} messages.
* @param message InteractiveMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IInteractiveMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an InteractiveMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns InteractiveMessage
* @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.Message.InteractiveMessage;
/**
* Decodes an InteractiveMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns InteractiveMessage
* @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.Message.InteractiveMessage;
/**
* Verifies an InteractiveMessage 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 InteractiveMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns InteractiveMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage;
/**
* Creates a plain object from an InteractiveMessage message. Also converts values to other types if specified.
* @param message InteractiveMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this InteractiveMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for InteractiveMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace InteractiveMessage {
/** Properties of a Body. */
interface IBody {
/** Body text */
text?: (string|null);
}
/** Represents a Body. */
class Body implements IBody {
/**
* Constructs a new Body.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.IBody);
/** Body text. */
public text?: (string|null);
/** Body _text. */
public _text?: "text";
/**
* Creates a new Body instance using the specified properties.
* @param [properties] Properties to set
* @returns Body instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.IBody): E2E.Message.InteractiveMessage.Body;
/**
* Encodes the specified Body message. Does not implicitly {@link E2E.Message.InteractiveMessage.Body.verify|verify} messages.
* @param message Body message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Body message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.Body.verify|verify} messages.
* @param message Body message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Body message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Body
* @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.Message.InteractiveMessage.Body;
/**
* Decodes a Body message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Body
* @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.Message.InteractiveMessage.Body;
/**
* Verifies a Body 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 Body message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Body
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.Body;
/**
* Creates a plain object from a Body message. Also converts values to other types if specified.
* @param message Body
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.Body, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Body to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Body
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CarouselMessage. */
interface ICarouselMessage {
/** CarouselMessage cards */
cards?: (E2E.Message.IInteractiveMessage[]|null);
/** CarouselMessage messageVersion */
messageVersion?: (number|null);
}
/** Represents a CarouselMessage. */
class CarouselMessage implements ICarouselMessage {
/**
* Constructs a new CarouselMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.ICarouselMessage);
/** CarouselMessage cards. */
public cards: E2E.Message.IInteractiveMessage[];
/** CarouselMessage messageVersion. */
public messageVersion?: (number|null);
/** CarouselMessage _messageVersion. */
public _messageVersion?: "messageVersion";
/**
* Creates a new CarouselMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns CarouselMessage instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.ICarouselMessage): E2E.Message.InteractiveMessage.CarouselMessage;
/**
* Encodes the specified CarouselMessage message. Does not implicitly {@link E2E.Message.InteractiveMessage.CarouselMessage.verify|verify} messages.
* @param message CarouselMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.ICarouselMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CarouselMessage message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.CarouselMessage.verify|verify} messages.
* @param message CarouselMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.ICarouselMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CarouselMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CarouselMessage
* @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.Message.InteractiveMessage.CarouselMessage;
/**
* Decodes a CarouselMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CarouselMessage
* @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.Message.InteractiveMessage.CarouselMessage;
/**
* Verifies a CarouselMessage 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 CarouselMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CarouselMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.CarouselMessage;
/**
* Creates a plain object from a CarouselMessage message. Also converts values to other types if specified.
* @param message CarouselMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.CarouselMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CarouselMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CarouselMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CollectionMessage. */
interface ICollectionMessage {
/** CollectionMessage bizJid */
bizJid?: (string|null);
/** CollectionMessage id */
id?: (string|null);
/** CollectionMessage messageVersion */
messageVersion?: (number|null);
}
/** Represents a CollectionMessage. */
class CollectionMessage implements ICollectionMessage {
/**
* Constructs a new CollectionMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.ICollectionMessage);
/** CollectionMessage bizJid. */
public bizJid?: (string|null);
/** CollectionMessage id. */
public id?: (string|null);
/** CollectionMessage messageVersion. */
public messageVersion?: (number|null);
/** CollectionMessage _bizJid. */
public _bizJid?: "bizJid";
/** CollectionMessage _id. */
public _id?: "id";
/** CollectionMessage _messageVersion. */
public _messageVersion?: "messageVersion";
/**
* Creates a new CollectionMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns CollectionMessage instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.ICollectionMessage): E2E.Message.InteractiveMessage.CollectionMessage;
/**
* Encodes the specified CollectionMessage message. Does not implicitly {@link E2E.Message.InteractiveMessage.CollectionMessage.verify|verify} messages.
* @param message CollectionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.ICollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CollectionMessage message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.CollectionMessage.verify|verify} messages.
* @param message CollectionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.ICollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CollectionMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CollectionMessage
* @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.Message.InteractiveMessage.CollectionMessage;
/**
* Decodes a CollectionMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CollectionMessage
* @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.Message.InteractiveMessage.CollectionMessage;
/**
* Verifies a CollectionMessage 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 CollectionMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CollectionMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.CollectionMessage;
/**
* Creates a plain object from a CollectionMessage message. Also converts values to other types if specified.
* @param message CollectionMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.CollectionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CollectionMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CollectionMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Footer. */
interface IFooter {
/** Footer text */
text?: (string|null);
}
/** Represents a Footer. */
class Footer implements IFooter {
/**
* Constructs a new Footer.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.IFooter);
/** Footer text. */
public text?: (string|null);
/** Footer _text. */
public _text?: "text";
/**
* Creates a new Footer instance using the specified properties.
* @param [properties] Properties to set
* @returns Footer instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.IFooter): E2E.Message.InteractiveMessage.Footer;
/**
* Encodes the specified Footer message. Does not implicitly {@link E2E.Message.InteractiveMessage.Footer.verify|verify} messages.
* @param message Footer message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.IFooter, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Footer message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.Footer.verify|verify} messages.
* @param message Footer message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.IFooter, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Footer message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Footer
* @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.Message.InteractiveMessage.Footer;
/**
* Decodes a Footer message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Footer
* @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.Message.InteractiveMessage.Footer;
/**
* Verifies a Footer 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 Footer message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Footer
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.Footer;
/**
* Creates a plain object from a Footer message. Also converts values to other types if specified.
* @param message Footer
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.Footer, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Footer to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Footer
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Header. */
interface IHeader {
/** Header title */
title?: (string|null);
/** Header subtitle */
subtitle?: (string|null);
/** Header hasMediaAttachment */
hasMediaAttachment?: (boolean|null);
/** Header documentMessage */
documentMessage?: (E2E.Message.IDocumentMessage|null);
/** Header imageMessage */
imageMessage?: (E2E.Message.IImageMessage|null);
/** Header jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** Header videoMessage */
videoMessage?: (E2E.Message.IVideoMessage|null);
/** Header locationMessage */
locationMessage?: (E2E.Message.ILocationMessage|null);
/** Header productMessage */
productMessage?: (E2E.Message.IProductMessage|null);
}
/** Represents a Header. */
class Header implements IHeader {
/**
* Constructs a new Header.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.IHeader);
/** Header title. */
public title?: (string|null);
/** Header subtitle. */
public subtitle?: (string|null);
/** Header hasMediaAttachment. */
public hasMediaAttachment?: (boolean|null);
/** Header documentMessage. */
public documentMessage?: (E2E.Message.IDocumentMessage|null);
/** Header imageMessage. */
public imageMessage?: (E2E.Message.IImageMessage|null);
/** Header jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** Header videoMessage. */
public videoMessage?: (E2E.Message.IVideoMessage|null);
/** Header locationMessage. */
public locationMessage?: (E2E.Message.ILocationMessage|null);
/** Header productMessage. */
public productMessage?: (E2E.Message.IProductMessage|null);
/** Header _title. */
public _title?: "title";
/** Header _subtitle. */
public _subtitle?: "subtitle";
/** Header _hasMediaAttachment. */
public _hasMediaAttachment?: "hasMediaAttachment";
/** Header media. */
public media?: ("documentMessage"|"imageMessage"|"jpegThumbnail"|"videoMessage"|"locationMessage"|"productMessage");
/**
* Creates a new Header instance using the specified properties.
* @param [properties] Properties to set
* @returns Header instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.IHeader): E2E.Message.InteractiveMessage.Header;
/**
* Encodes the specified Header message. Does not implicitly {@link E2E.Message.InteractiveMessage.Header.verify|verify} messages.
* @param message Header message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.IHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Header message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.Header.verify|verify} messages.
* @param message Header message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.IHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Header message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Header
* @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.Message.InteractiveMessage.Header;
/**
* Decodes a Header message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Header
* @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.Message.InteractiveMessage.Header;
/**
* Verifies a Header 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 Header message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Header
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.Header;
/**
* Creates a plain object from a Header message. Also converts values to other types if specified.
* @param message Header
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.Header, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Header to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Header
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a NativeFlowMessage. */
interface INativeFlowMessage {
/** NativeFlowMessage buttons */
buttons?: (E2E.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton[]|null);
/** NativeFlowMessage messageParamsJson */
messageParamsJson?: (string|null);
/** NativeFlowMessage messageVersion */
messageVersion?: (number|null);
}
/** Represents a NativeFlowMessage. */
class NativeFlowMessage implements INativeFlowMessage {
/**
* Constructs a new NativeFlowMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.INativeFlowMessage);
/** NativeFlowMessage buttons. */
public buttons: E2E.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton[];
/** NativeFlowMessage messageParamsJson. */
public messageParamsJson?: (string|null);
/** NativeFlowMessage messageVersion. */
public messageVersion?: (number|null);
/** NativeFlowMessage _messageParamsJson. */
public _messageParamsJson?: "messageParamsJson";
/** NativeFlowMessage _messageVersion. */
public _messageVersion?: "messageVersion";
/**
* Creates a new NativeFlowMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns NativeFlowMessage instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.INativeFlowMessage): E2E.Message.InteractiveMessage.NativeFlowMessage;
/**
* Encodes the specified NativeFlowMessage message. Does not implicitly {@link E2E.Message.InteractiveMessage.NativeFlowMessage.verify|verify} messages.
* @param message NativeFlowMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.INativeFlowMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NativeFlowMessage message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.NativeFlowMessage.verify|verify} messages.
* @param message NativeFlowMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.INativeFlowMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NativeFlowMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NativeFlowMessage
* @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.Message.InteractiveMessage.NativeFlowMessage;
/**
* Decodes a NativeFlowMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NativeFlowMessage
* @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.Message.InteractiveMessage.NativeFlowMessage;
/**
* Verifies a NativeFlowMessage 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 NativeFlowMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NativeFlowMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.NativeFlowMessage;
/**
* Creates a plain object from a NativeFlowMessage message. Also converts values to other types if specified.
* @param message NativeFlowMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.NativeFlowMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NativeFlowMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for NativeFlowMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace NativeFlowMessage {
/** Properties of a NativeFlowButton. */
interface INativeFlowButton {
/** NativeFlowButton name */
name?: (string|null);
/** NativeFlowButton buttonParamsJson */
buttonParamsJson?: (string|null);
}
/** Represents a NativeFlowButton. */
class NativeFlowButton implements INativeFlowButton {
/**
* Constructs a new NativeFlowButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton);
/** NativeFlowButton name. */
public name?: (string|null);
/** NativeFlowButton buttonParamsJson. */
public buttonParamsJson?: (string|null);
/** NativeFlowButton _name. */
public _name?: "name";
/** NativeFlowButton _buttonParamsJson. */
public _buttonParamsJson?: "buttonParamsJson";
/**
* Creates a new NativeFlowButton instance using the specified properties.
* @param [properties] Properties to set
* @returns NativeFlowButton instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton): E2E.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton;
/**
* Encodes the specified NativeFlowButton message. Does not implicitly {@link E2E.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton.verify|verify} messages.
* @param message NativeFlowButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NativeFlowButton message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton.verify|verify} messages.
* @param message NativeFlowButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NativeFlowButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NativeFlowButton
* @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.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton;
/**
* Decodes a NativeFlowButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NativeFlowButton
* @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.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton;
/**
* Verifies a NativeFlowButton 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 NativeFlowButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NativeFlowButton
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton;
/**
* Creates a plain object from a NativeFlowButton message. Also converts values to other types if specified.
* @param message NativeFlowButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NativeFlowButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for NativeFlowButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a ShopMessage. */
interface IShopMessage {
/** ShopMessage id */
id?: (string|null);
/** ShopMessage surface */
surface?: (E2E.Message.InteractiveMessage.ShopMessage.Surface|null);
/** ShopMessage messageVersion */
messageVersion?: (number|null);
}
/** Represents a ShopMessage. */
class ShopMessage implements IShopMessage {
/**
* Constructs a new ShopMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveMessage.IShopMessage);
/** ShopMessage id. */
public id?: (string|null);
/** ShopMessage surface. */
public surface?: (E2E.Message.InteractiveMessage.ShopMessage.Surface|null);
/** ShopMessage messageVersion. */
public messageVersion?: (number|null);
/** ShopMessage _id. */
public _id?: "id";
/** ShopMessage _surface. */
public _surface?: "surface";
/** ShopMessage _messageVersion. */
public _messageVersion?: "messageVersion";
/**
* Creates a new ShopMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ShopMessage instance
*/
public static create(properties?: E2E.Message.InteractiveMessage.IShopMessage): E2E.Message.InteractiveMessage.ShopMessage;
/**
* Encodes the specified ShopMessage message. Does not implicitly {@link E2E.Message.InteractiveMessage.ShopMessage.verify|verify} messages.
* @param message ShopMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveMessage.IShopMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ShopMessage message, length delimited. Does not implicitly {@link E2E.Message.InteractiveMessage.ShopMessage.verify|verify} messages.
* @param message ShopMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveMessage.IShopMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ShopMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ShopMessage
* @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.Message.InteractiveMessage.ShopMessage;
/**
* Decodes a ShopMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ShopMessage
* @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.Message.InteractiveMessage.ShopMessage;
/**
* Verifies a ShopMessage 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 ShopMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ShopMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveMessage.ShopMessage;
/**
* Creates a plain object from a ShopMessage message. Also converts values to other types if specified.
* @param message ShopMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveMessage.ShopMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ShopMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ShopMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ShopMessage {
/** Surface enum. */
enum Surface {
UNKNOWN_SURFACE = 0,
FB = 1,
IG = 2,
WA = 3
}
}
}
/** Properties of an InteractiveResponseMessage. */
interface IInteractiveResponseMessage {
/** InteractiveResponseMessage body */
body?: (E2E.Message.InteractiveResponseMessage.IBody|null);
/** InteractiveResponseMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** InteractiveResponseMessage nativeFlowResponseMessage */
nativeFlowResponseMessage?: (E2E.Message.InteractiveResponseMessage.INativeFlowResponseMessage|null);
}
/** Represents an InteractiveResponseMessage. */
class InteractiveResponseMessage implements IInteractiveResponseMessage {
/**
* Constructs a new InteractiveResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IInteractiveResponseMessage);
/** InteractiveResponseMessage body. */
public body?: (E2E.Message.InteractiveResponseMessage.IBody|null);
/** InteractiveResponseMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** InteractiveResponseMessage nativeFlowResponseMessage. */
public nativeFlowResponseMessage?: (E2E.Message.InteractiveResponseMessage.INativeFlowResponseMessage|null);
/** InteractiveResponseMessage _body. */
public _body?: "body";
/** InteractiveResponseMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** InteractiveResponseMessage interactiveResponseMessage. */
public interactiveResponseMessage?: "nativeFlowResponseMessage";
/**
* Creates a new InteractiveResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns InteractiveResponseMessage instance
*/
public static create(properties?: E2E.Message.IInteractiveResponseMessage): E2E.Message.InteractiveResponseMessage;
/**
* Encodes the specified InteractiveResponseMessage message. Does not implicitly {@link E2E.Message.InteractiveResponseMessage.verify|verify} messages.
* @param message InteractiveResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IInteractiveResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified InteractiveResponseMessage message, length delimited. Does not implicitly {@link E2E.Message.InteractiveResponseMessage.verify|verify} messages.
* @param message InteractiveResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IInteractiveResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an InteractiveResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns InteractiveResponseMessage
* @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.Message.InteractiveResponseMessage;
/**
* Decodes an InteractiveResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns InteractiveResponseMessage
* @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.Message.InteractiveResponseMessage;
/**
* Verifies an InteractiveResponseMessage 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 InteractiveResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns InteractiveResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveResponseMessage;
/**
* Creates a plain object from an InteractiveResponseMessage message. Also converts values to other types if specified.
* @param message InteractiveResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this InteractiveResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for InteractiveResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace InteractiveResponseMessage {
/** Properties of a Body. */
interface IBody {
/** Body text */
text?: (string|null);
/** Body format */
format?: (E2E.Message.InteractiveResponseMessage.Body.Format|null);
}
/** Represents a Body. */
class Body implements IBody {
/**
* Constructs a new Body.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveResponseMessage.IBody);
/** Body text. */
public text?: (string|null);
/** Body format. */
public format?: (E2E.Message.InteractiveResponseMessage.Body.Format|null);
/** Body _text. */
public _text?: "text";
/** Body _format. */
public _format?: "format";
/**
* Creates a new Body instance using the specified properties.
* @param [properties] Properties to set
* @returns Body instance
*/
public static create(properties?: E2E.Message.InteractiveResponseMessage.IBody): E2E.Message.InteractiveResponseMessage.Body;
/**
* Encodes the specified Body message. Does not implicitly {@link E2E.Message.InteractiveResponseMessage.Body.verify|verify} messages.
* @param message Body message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveResponseMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Body message, length delimited. Does not implicitly {@link E2E.Message.InteractiveResponseMessage.Body.verify|verify} messages.
* @param message Body message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveResponseMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Body message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Body
* @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.Message.InteractiveResponseMessage.Body;
/**
* Decodes a Body message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Body
* @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.Message.InteractiveResponseMessage.Body;
/**
* Verifies a Body 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 Body message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Body
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveResponseMessage.Body;
/**
* Creates a plain object from a Body message. Also converts values to other types if specified.
* @param message Body
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveResponseMessage.Body, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Body to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Body
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace Body {
/** Format enum. */
enum Format {
DEFAULT = 0,
EXTENSIONS_1 = 1
}
}
/** Properties of a NativeFlowResponseMessage. */
interface INativeFlowResponseMessage {
/** NativeFlowResponseMessage name */
name?: (string|null);
/** NativeFlowResponseMessage paramsJson */
paramsJson?: (string|null);
/** NativeFlowResponseMessage version */
version?: (number|null);
}
/** Represents a NativeFlowResponseMessage. */
class NativeFlowResponseMessage implements INativeFlowResponseMessage {
/**
* Constructs a new NativeFlowResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.InteractiveResponseMessage.INativeFlowResponseMessage);
/** NativeFlowResponseMessage name. */
public name?: (string|null);
/** NativeFlowResponseMessage paramsJson. */
public paramsJson?: (string|null);
/** NativeFlowResponseMessage version. */
public version?: (number|null);
/** NativeFlowResponseMessage _name. */
public _name?: "name";
/** NativeFlowResponseMessage _paramsJson. */
public _paramsJson?: "paramsJson";
/** NativeFlowResponseMessage _version. */
public _version?: "version";
/**
* Creates a new NativeFlowResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns NativeFlowResponseMessage instance
*/
public static create(properties?: E2E.Message.InteractiveResponseMessage.INativeFlowResponseMessage): E2E.Message.InteractiveResponseMessage.NativeFlowResponseMessage;
/**
* Encodes the specified NativeFlowResponseMessage message. Does not implicitly {@link E2E.Message.InteractiveResponseMessage.NativeFlowResponseMessage.verify|verify} messages.
* @param message NativeFlowResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.InteractiveResponseMessage.INativeFlowResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NativeFlowResponseMessage message, length delimited. Does not implicitly {@link E2E.Message.InteractiveResponseMessage.NativeFlowResponseMessage.verify|verify} messages.
* @param message NativeFlowResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.InteractiveResponseMessage.INativeFlowResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NativeFlowResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NativeFlowResponseMessage
* @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.Message.InteractiveResponseMessage.NativeFlowResponseMessage;
/**
* Decodes a NativeFlowResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NativeFlowResponseMessage
* @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.Message.InteractiveResponseMessage.NativeFlowResponseMessage;
/**
* Verifies a NativeFlowResponseMessage 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 NativeFlowResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NativeFlowResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InteractiveResponseMessage.NativeFlowResponseMessage;
/**
* Creates a plain object from a NativeFlowResponseMessage message. Also converts values to other types if specified.
* @param message NativeFlowResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InteractiveResponseMessage.NativeFlowResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NativeFlowResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for NativeFlowResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of an InvoiceMessage. */
interface IInvoiceMessage {
/** InvoiceMessage note */
note?: (string|null);
/** InvoiceMessage token */
token?: (string|null);
/** InvoiceMessage attachmentType */
attachmentType?: (E2E.Message.InvoiceMessage.AttachmentType|null);
/** InvoiceMessage attachmentMimetype */
attachmentMimetype?: (string|null);
/** InvoiceMessage attachmentMediaKey */
attachmentMediaKey?: (Uint8Array|null);
/** InvoiceMessage attachmentMediaKeyTimestamp */
attachmentMediaKeyTimestamp?: (number|Long|null);
/** InvoiceMessage attachmentFileSha256 */
attachmentFileSha256?: (Uint8Array|null);
/** InvoiceMessage attachmentFileEncSha256 */
attachmentFileEncSha256?: (Uint8Array|null);
/** InvoiceMessage attachmentDirectPath */
attachmentDirectPath?: (string|null);
/** InvoiceMessage attachmentJpegThumbnail */
attachmentJpegThumbnail?: (Uint8Array|null);
}
/** Represents an InvoiceMessage. */
class InvoiceMessage implements IInvoiceMessage {
/**
* Constructs a new InvoiceMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IInvoiceMessage);
/** InvoiceMessage note. */
public note?: (string|null);
/** InvoiceMessage token. */
public token?: (string|null);
/** InvoiceMessage attachmentType. */
public attachmentType?: (E2E.Message.InvoiceMessage.AttachmentType|null);
/** InvoiceMessage attachmentMimetype. */
public attachmentMimetype?: (string|null);
/** InvoiceMessage attachmentMediaKey. */
public attachmentMediaKey?: (Uint8Array|null);
/** InvoiceMessage attachmentMediaKeyTimestamp. */
public attachmentMediaKeyTimestamp?: (number|Long|null);
/** InvoiceMessage attachmentFileSha256. */
public attachmentFileSha256?: (Uint8Array|null);
/** InvoiceMessage attachmentFileEncSha256. */
public attachmentFileEncSha256?: (Uint8Array|null);
/** InvoiceMessage attachmentDirectPath. */
public attachmentDirectPath?: (string|null);
/** InvoiceMessage attachmentJpegThumbnail. */
public attachmentJpegThumbnail?: (Uint8Array|null);
/** InvoiceMessage _note. */
public _note?: "note";
/** InvoiceMessage _token. */
public _token?: "token";
/** InvoiceMessage _attachmentType. */
public _attachmentType?: "attachmentType";
/** InvoiceMessage _attachmentMimetype. */
public _attachmentMimetype?: "attachmentMimetype";
/** InvoiceMessage _attachmentMediaKey. */
public _attachmentMediaKey?: "attachmentMediaKey";
/** InvoiceMessage _attachmentMediaKeyTimestamp. */
public _attachmentMediaKeyTimestamp?: "attachmentMediaKeyTimestamp";
/** InvoiceMessage _attachmentFileSha256. */
public _attachmentFileSha256?: "attachmentFileSha256";
/** InvoiceMessage _attachmentFileEncSha256. */
public _attachmentFileEncSha256?: "attachmentFileEncSha256";
/** InvoiceMessage _attachmentDirectPath. */
public _attachmentDirectPath?: "attachmentDirectPath";
/** InvoiceMessage _attachmentJpegThumbnail. */
public _attachmentJpegThumbnail?: "attachmentJpegThumbnail";
/**
* Creates a new InvoiceMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns InvoiceMessage instance
*/
public static create(properties?: E2E.Message.IInvoiceMessage): E2E.Message.InvoiceMessage;
/**
* Encodes the specified InvoiceMessage message. Does not implicitly {@link E2E.Message.InvoiceMessage.verify|verify} messages.
* @param message InvoiceMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IInvoiceMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified InvoiceMessage message, length delimited. Does not implicitly {@link E2E.Message.InvoiceMessage.verify|verify} messages.
* @param message InvoiceMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IInvoiceMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an InvoiceMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns InvoiceMessage
* @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.Message.InvoiceMessage;
/**
* Decodes an InvoiceMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns InvoiceMessage
* @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.Message.InvoiceMessage;
/**
* Verifies an InvoiceMessage 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 InvoiceMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns InvoiceMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.InvoiceMessage;
/**
* Creates a plain object from an InvoiceMessage message. Also converts values to other types if specified.
* @param message InvoiceMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.InvoiceMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this InvoiceMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for InvoiceMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace InvoiceMessage {
/** AttachmentType enum. */
enum AttachmentType {
IMAGE = 0,
PDF = 1
}
}
/** Properties of a KeepInChatMessage. */
interface IKeepInChatMessage {
/** KeepInChatMessage key */
key?: (Protocol.IMessageKey|null);
/** KeepInChatMessage keepType */
keepType?: (E2E.KeepType|null);
/** KeepInChatMessage timestampMs */
timestampMs?: (number|Long|null);
}
/** Represents a KeepInChatMessage. */
class KeepInChatMessage implements IKeepInChatMessage {
/**
* Constructs a new KeepInChatMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IKeepInChatMessage);
/** KeepInChatMessage key. */
public key?: (Protocol.IMessageKey|null);
/** KeepInChatMessage keepType. */
public keepType?: (E2E.KeepType|null);
/** KeepInChatMessage timestampMs. */
public timestampMs?: (number|Long|null);
/** KeepInChatMessage _key. */
public _key?: "key";
/** KeepInChatMessage _keepType. */
public _keepType?: "keepType";
/** KeepInChatMessage _timestampMs. */
public _timestampMs?: "timestampMs";
/**
* Creates a new KeepInChatMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns KeepInChatMessage instance
*/
public static create(properties?: E2E.Message.IKeepInChatMessage): E2E.Message.KeepInChatMessage;
/**
* Encodes the specified KeepInChatMessage message. Does not implicitly {@link E2E.Message.KeepInChatMessage.verify|verify} messages.
* @param message KeepInChatMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IKeepInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified KeepInChatMessage message, length delimited. Does not implicitly {@link E2E.Message.KeepInChatMessage.verify|verify} messages.
* @param message KeepInChatMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IKeepInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a KeepInChatMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns KeepInChatMessage
* @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.Message.KeepInChatMessage;
/**
* Decodes a KeepInChatMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns KeepInChatMessage
* @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.Message.KeepInChatMessage;
/**
* Verifies a KeepInChatMessage 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 KeepInChatMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns KeepInChatMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.KeepInChatMessage;
/**
* Creates a plain object from a KeepInChatMessage message. Also converts values to other types if specified.
* @param message KeepInChatMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.KeepInChatMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this KeepInChatMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for KeepInChatMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a LinkPreviewMetadata. */
interface ILinkPreviewMetadata {
/** LinkPreviewMetadata paymentLinkMetadata */
paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
/** LinkPreviewMetadata urlMetadata */
urlMetadata?: (E2E.Message.IURLMetadata|null);
/** LinkPreviewMetadata fbExperimentId */
fbExperimentId?: (number|null);
/** LinkPreviewMetadata linkMediaDuration */
linkMediaDuration?: (number|null);
/** LinkPreviewMetadata socialMediaPostType */
socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
}
/** Represents a LinkPreviewMetadata. */
class LinkPreviewMetadata implements ILinkPreviewMetadata {
/**
* Constructs a new LinkPreviewMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ILinkPreviewMetadata);
/** LinkPreviewMetadata paymentLinkMetadata. */
public paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
/** LinkPreviewMetadata urlMetadata. */
public urlMetadata?: (E2E.Message.IURLMetadata|null);
/** LinkPreviewMetadata fbExperimentId. */
public fbExperimentId?: (number|null);
/** LinkPreviewMetadata linkMediaDuration. */
public linkMediaDuration?: (number|null);
/** LinkPreviewMetadata socialMediaPostType. */
public socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
/** LinkPreviewMetadata _paymentLinkMetadata. */
public _paymentLinkMetadata?: "paymentLinkMetadata";
/** LinkPreviewMetadata _urlMetadata. */
public _urlMetadata?: "urlMetadata";
/** LinkPreviewMetadata _fbExperimentId. */
public _fbExperimentId?: "fbExperimentId";
/** LinkPreviewMetadata _linkMediaDuration. */
public _linkMediaDuration?: "linkMediaDuration";
/** LinkPreviewMetadata _socialMediaPostType. */
public _socialMediaPostType?: "socialMediaPostType";
/**
* Creates a new LinkPreviewMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns LinkPreviewMetadata instance
*/
public static create(properties?: E2E.Message.ILinkPreviewMetadata): E2E.Message.LinkPreviewMetadata;
/**
* Encodes the specified LinkPreviewMetadata message. Does not implicitly {@link E2E.Message.LinkPreviewMetadata.verify|verify} messages.
* @param message LinkPreviewMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ILinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LinkPreviewMetadata message, length delimited. Does not implicitly {@link E2E.Message.LinkPreviewMetadata.verify|verify} messages.
* @param message LinkPreviewMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ILinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LinkPreviewMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LinkPreviewMetadata
* @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.Message.LinkPreviewMetadata;
/**
* Decodes a LinkPreviewMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LinkPreviewMetadata
* @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.Message.LinkPreviewMetadata;
/**
* Verifies a LinkPreviewMetadata 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 LinkPreviewMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LinkPreviewMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.LinkPreviewMetadata;
/**
* Creates a plain object from a LinkPreviewMetadata message. Also converts values to other types if specified.
* @param message LinkPreviewMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.LinkPreviewMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LinkPreviewMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for LinkPreviewMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace LinkPreviewMetadata {
/** SocialMediaPostType enum. */
enum SocialMediaPostType {
NONE = 0,
REEL = 1,
LIVE_VIDEO = 2,
LONG_VIDEO = 3,
SINGLE_IMAGE = 4,
CAROUSEL = 5
}
}
/** Properties of a ListMessage. */
interface IListMessage {
/** ListMessage title */
title?: (string|null);
/** ListMessage description */
description?: (string|null);
/** ListMessage buttonText */
buttonText?: (string|null);
/** ListMessage listType */
listType?: (E2E.Message.ListMessage.ListType|null);
/** ListMessage sections */
sections?: (E2E.Message.ListMessage.ISection[]|null);
/** ListMessage productListInfo */
productListInfo?: (E2E.Message.ListMessage.IProductListInfo|null);
/** ListMessage footerText */
footerText?: (string|null);
/** ListMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a ListMessage. */
class ListMessage implements IListMessage {
/**
* Constructs a new ListMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IListMessage);
/** ListMessage title. */
public title?: (string|null);
/** ListMessage description. */
public description?: (string|null);
/** ListMessage buttonText. */
public buttonText?: (string|null);
/** ListMessage listType. */
public listType?: (E2E.Message.ListMessage.ListType|null);
/** ListMessage sections. */
public sections: E2E.Message.ListMessage.ISection[];
/** ListMessage productListInfo. */
public productListInfo?: (E2E.Message.ListMessage.IProductListInfo|null);
/** ListMessage footerText. */
public footerText?: (string|null);
/** ListMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ListMessage _title. */
public _title?: "title";
/** ListMessage _description. */
public _description?: "description";
/** ListMessage _buttonText. */
public _buttonText?: "buttonText";
/** ListMessage _listType. */
public _listType?: "listType";
/** ListMessage _productListInfo. */
public _productListInfo?: "productListInfo";
/** ListMessage _footerText. */
public _footerText?: "footerText";
/** ListMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new ListMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ListMessage instance
*/
public static create(properties?: E2E.Message.IListMessage): E2E.Message.ListMessage;
/**
* Encodes the specified ListMessage message. Does not implicitly {@link E2E.Message.ListMessage.verify|verify} messages.
* @param message ListMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IListMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ListMessage message, length delimited. Does not implicitly {@link E2E.Message.ListMessage.verify|verify} messages.
* @param message ListMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IListMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ListMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ListMessage
* @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.Message.ListMessage;
/**
* Decodes a ListMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ListMessage
* @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.Message.ListMessage;
/**
* Verifies a ListMessage 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 ListMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ListMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListMessage;
/**
* Creates a plain object from a ListMessage message. Also converts values to other types if specified.
* @param message ListMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ListMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ListMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ListMessage {
/** ListType enum. */
enum ListType {
UNKNOWN = 0,
SINGLE_SELECT = 1,
PRODUCT_LIST = 2
}
/** Properties of a Product. */
interface IProduct {
/** Product productId */
productId?: (string|null);
}
/** Represents a Product. */
class Product implements IProduct {
/**
* Constructs a new Product.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ListMessage.IProduct);
/** Product productId. */
public productId?: (string|null);
/** Product _productId. */
public _productId?: "productId";
/**
* Creates a new Product instance using the specified properties.
* @param [properties] Properties to set
* @returns Product instance
*/
public static create(properties?: E2E.Message.ListMessage.IProduct): E2E.Message.ListMessage.Product;
/**
* Encodes the specified Product message. Does not implicitly {@link E2E.Message.ListMessage.Product.verify|verify} messages.
* @param message Product message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ListMessage.IProduct, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Product message, length delimited. Does not implicitly {@link E2E.Message.ListMessage.Product.verify|verify} messages.
* @param message Product message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ListMessage.IProduct, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Product message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Product
* @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.Message.ListMessage.Product;
/**
* Decodes a Product message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Product
* @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.Message.ListMessage.Product;
/**
* Verifies a Product 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 Product message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Product
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListMessage.Product;
/**
* Creates a plain object from a Product message. Also converts values to other types if specified.
* @param message Product
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListMessage.Product, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Product to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Product
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ProductListHeaderImage. */
interface IProductListHeaderImage {
/** ProductListHeaderImage productId */
productId?: (string|null);
/** ProductListHeaderImage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
}
/** Represents a ProductListHeaderImage. */
class ProductListHeaderImage implements IProductListHeaderImage {
/**
* Constructs a new ProductListHeaderImage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ListMessage.IProductListHeaderImage);
/** ProductListHeaderImage productId. */
public productId?: (string|null);
/** ProductListHeaderImage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** ProductListHeaderImage _productId. */
public _productId?: "productId";
/** ProductListHeaderImage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/**
* Creates a new ProductListHeaderImage instance using the specified properties.
* @param [properties] Properties to set
* @returns ProductListHeaderImage instance
*/
public static create(properties?: E2E.Message.ListMessage.IProductListHeaderImage): E2E.Message.ListMessage.ProductListHeaderImage;
/**
* Encodes the specified ProductListHeaderImage message. Does not implicitly {@link E2E.Message.ListMessage.ProductListHeaderImage.verify|verify} messages.
* @param message ProductListHeaderImage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ListMessage.IProductListHeaderImage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProductListHeaderImage message, length delimited. Does not implicitly {@link E2E.Message.ListMessage.ProductListHeaderImage.verify|verify} messages.
* @param message ProductListHeaderImage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ListMessage.IProductListHeaderImage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProductListHeaderImage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProductListHeaderImage
* @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.Message.ListMessage.ProductListHeaderImage;
/**
* Decodes a ProductListHeaderImage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProductListHeaderImage
* @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.Message.ListMessage.ProductListHeaderImage;
/**
* Verifies a ProductListHeaderImage 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 ProductListHeaderImage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProductListHeaderImage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListMessage.ProductListHeaderImage;
/**
* Creates a plain object from a ProductListHeaderImage message. Also converts values to other types if specified.
* @param message ProductListHeaderImage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListMessage.ProductListHeaderImage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProductListHeaderImage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProductListHeaderImage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ProductListInfo. */
interface IProductListInfo {
/** ProductListInfo productSections */
productSections?: (E2E.Message.ListMessage.IProductSection[]|null);
/** ProductListInfo headerImage */
headerImage?: (E2E.Message.ListMessage.IProductListHeaderImage|null);
/** ProductListInfo businessOwnerJid */
businessOwnerJid?: (string|null);
}
/** Represents a ProductListInfo. */
class ProductListInfo implements IProductListInfo {
/**
* Constructs a new ProductListInfo.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ListMessage.IProductListInfo);
/** ProductListInfo productSections. */
public productSections: E2E.Message.ListMessage.IProductSection[];
/** ProductListInfo headerImage. */
public headerImage?: (E2E.Message.ListMessage.IProductListHeaderImage|null);
/** ProductListInfo businessOwnerJid. */
public businessOwnerJid?: (string|null);
/** ProductListInfo _headerImage. */
public _headerImage?: "headerImage";
/** ProductListInfo _businessOwnerJid. */
public _businessOwnerJid?: "businessOwnerJid";
/**
* Creates a new ProductListInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns ProductListInfo instance
*/
public static create(properties?: E2E.Message.ListMessage.IProductListInfo): E2E.Message.ListMessage.ProductListInfo;
/**
* Encodes the specified ProductListInfo message. Does not implicitly {@link E2E.Message.ListMessage.ProductListInfo.verify|verify} messages.
* @param message ProductListInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ListMessage.IProductListInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProductListInfo message, length delimited. Does not implicitly {@link E2E.Message.ListMessage.ProductListInfo.verify|verify} messages.
* @param message ProductListInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ListMessage.IProductListInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProductListInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProductListInfo
* @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.Message.ListMessage.ProductListInfo;
/**
* Decodes a ProductListInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProductListInfo
* @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.Message.ListMessage.ProductListInfo;
/**
* Verifies a ProductListInfo 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 ProductListInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProductListInfo
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListMessage.ProductListInfo;
/**
* Creates a plain object from a ProductListInfo message. Also converts values to other types if specified.
* @param message ProductListInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListMessage.ProductListInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProductListInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProductListInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ProductSection. */
interface IProductSection {
/** ProductSection title */
title?: (string|null);
/** ProductSection products */
products?: (E2E.Message.ListMessage.IProduct[]|null);
}
/** Represents a ProductSection. */
class ProductSection implements IProductSection {
/**
* Constructs a new ProductSection.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ListMessage.IProductSection);
/** ProductSection title. */
public title?: (string|null);
/** ProductSection products. */
public products: E2E.Message.ListMessage.IProduct[];
/** ProductSection _title. */
public _title?: "title";
/**
* Creates a new ProductSection instance using the specified properties.
* @param [properties] Properties to set
* @returns ProductSection instance
*/
public static create(properties?: E2E.Message.ListMessage.IProductSection): E2E.Message.ListMessage.ProductSection;
/**
* Encodes the specified ProductSection message. Does not implicitly {@link E2E.Message.ListMessage.ProductSection.verify|verify} messages.
* @param message ProductSection message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ListMessage.IProductSection, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProductSection message, length delimited. Does not implicitly {@link E2E.Message.ListMessage.ProductSection.verify|verify} messages.
* @param message ProductSection message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ListMessage.IProductSection, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProductSection message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProductSection
* @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.Message.ListMessage.ProductSection;
/**
* Decodes a ProductSection message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProductSection
* @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.Message.ListMessage.ProductSection;
/**
* Verifies a ProductSection 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 ProductSection message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProductSection
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListMessage.ProductSection;
/**
* Creates a plain object from a ProductSection message. Also converts values to other types if specified.
* @param message ProductSection
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListMessage.ProductSection, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProductSection to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProductSection
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Row. */
interface IRow {
/** Row title */
title?: (string|null);
/** Row description */
description?: (string|null);
/** Row rowId */
rowId?: (string|null);
}
/** Represents a Row. */
class Row implements IRow {
/**
* Constructs a new Row.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ListMessage.IRow);
/** Row title. */
public title?: (string|null);
/** Row description. */
public description?: (string|null);
/** Row rowId. */
public rowId?: (string|null);
/** Row _title. */
public _title?: "title";
/** Row _description. */
public _description?: "description";
/** Row _rowId. */
public _rowId?: "rowId";
/**
* Creates a new Row instance using the specified properties.
* @param [properties] Properties to set
* @returns Row instance
*/
public static create(properties?: E2E.Message.ListMessage.IRow): E2E.Message.ListMessage.Row;
/**
* Encodes the specified Row message. Does not implicitly {@link E2E.Message.ListMessage.Row.verify|verify} messages.
* @param message Row message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ListMessage.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Row message, length delimited. Does not implicitly {@link E2E.Message.ListMessage.Row.verify|verify} messages.
* @param message Row message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ListMessage.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Row message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Row
* @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.Message.ListMessage.Row;
/**
* Decodes a Row message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Row
* @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.Message.ListMessage.Row;
/**
* Verifies a Row 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 Row message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Row
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListMessage.Row;
/**
* Creates a plain object from a Row message. Also converts values to other types if specified.
* @param message Row
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListMessage.Row, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Row to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Row
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Section. */
interface ISection {
/** Section title */
title?: (string|null);
/** Section rows */
rows?: (E2E.Message.ListMessage.IRow[]|null);
}
/** Represents a Section. */
class Section implements ISection {
/**
* Constructs a new Section.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ListMessage.ISection);
/** Section title. */
public title?: (string|null);
/** Section rows. */
public rows: E2E.Message.ListMessage.IRow[];
/** Section _title. */
public _title?: "title";
/**
* Creates a new Section instance using the specified properties.
* @param [properties] Properties to set
* @returns Section instance
*/
public static create(properties?: E2E.Message.ListMessage.ISection): E2E.Message.ListMessage.Section;
/**
* Encodes the specified Section message. Does not implicitly {@link E2E.Message.ListMessage.Section.verify|verify} messages.
* @param message Section message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ListMessage.ISection, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Section message, length delimited. Does not implicitly {@link E2E.Message.ListMessage.Section.verify|verify} messages.
* @param message Section message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ListMessage.ISection, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Section message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Section
* @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.Message.ListMessage.Section;
/**
* Decodes a Section message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Section
* @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.Message.ListMessage.Section;
/**
* Verifies a Section 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 Section message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Section
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListMessage.Section;
/**
* Creates a plain object from a Section message. Also converts values to other types if specified.
* @param message Section
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListMessage.Section, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Section to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Section
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a ListResponseMessage. */
interface IListResponseMessage {
/** ListResponseMessage title */
title?: (string|null);
/** ListResponseMessage listType */
listType?: (E2E.Message.ListResponseMessage.ListType|null);
/** ListResponseMessage singleSelectReply */
singleSelectReply?: (E2E.Message.ListResponseMessage.ISingleSelectReply|null);
/** ListResponseMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** ListResponseMessage description */
description?: (string|null);
}
/** Represents a ListResponseMessage. */
class ListResponseMessage implements IListResponseMessage {
/**
* Constructs a new ListResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IListResponseMessage);
/** ListResponseMessage title. */
public title?: (string|null);
/** ListResponseMessage listType. */
public listType?: (E2E.Message.ListResponseMessage.ListType|null);
/** ListResponseMessage singleSelectReply. */
public singleSelectReply?: (E2E.Message.ListResponseMessage.ISingleSelectReply|null);
/** ListResponseMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ListResponseMessage description. */
public description?: (string|null);
/** ListResponseMessage _title. */
public _title?: "title";
/** ListResponseMessage _listType. */
public _listType?: "listType";
/** ListResponseMessage _singleSelectReply. */
public _singleSelectReply?: "singleSelectReply";
/** ListResponseMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** ListResponseMessage _description. */
public _description?: "description";
/**
* Creates a new ListResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ListResponseMessage instance
*/
public static create(properties?: E2E.Message.IListResponseMessage): E2E.Message.ListResponseMessage;
/**
* Encodes the specified ListResponseMessage message. Does not implicitly {@link E2E.Message.ListResponseMessage.verify|verify} messages.
* @param message ListResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IListResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ListResponseMessage message, length delimited. Does not implicitly {@link E2E.Message.ListResponseMessage.verify|verify} messages.
* @param message ListResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IListResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ListResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ListResponseMessage
* @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.Message.ListResponseMessage;
/**
* Decodes a ListResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ListResponseMessage
* @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.Message.ListResponseMessage;
/**
* Verifies a ListResponseMessage 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 ListResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ListResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListResponseMessage;
/**
* Creates a plain object from a ListResponseMessage message. Also converts values to other types if specified.
* @param message ListResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ListResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ListResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ListResponseMessage {
/** ListType enum. */
enum ListType {
UNKNOWN = 0,
SINGLE_SELECT = 1
}
/** Properties of a SingleSelectReply. */
interface ISingleSelectReply {
/** SingleSelectReply selectedRowId */
selectedRowId?: (string|null);
}
/** Represents a SingleSelectReply. */
class SingleSelectReply implements ISingleSelectReply {
/**
* Constructs a new SingleSelectReply.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ListResponseMessage.ISingleSelectReply);
/** SingleSelectReply selectedRowId. */
public selectedRowId?: (string|null);
/** SingleSelectReply _selectedRowId. */
public _selectedRowId?: "selectedRowId";
/**
* Creates a new SingleSelectReply instance using the specified properties.
* @param [properties] Properties to set
* @returns SingleSelectReply instance
*/
public static create(properties?: E2E.Message.ListResponseMessage.ISingleSelectReply): E2E.Message.ListResponseMessage.SingleSelectReply;
/**
* Encodes the specified SingleSelectReply message. Does not implicitly {@link E2E.Message.ListResponseMessage.SingleSelectReply.verify|verify} messages.
* @param message SingleSelectReply message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ListResponseMessage.ISingleSelectReply, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified SingleSelectReply message, length delimited. Does not implicitly {@link E2E.Message.ListResponseMessage.SingleSelectReply.verify|verify} messages.
* @param message SingleSelectReply message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ListResponseMessage.ISingleSelectReply, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a SingleSelectReply message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns SingleSelectReply
* @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.Message.ListResponseMessage.SingleSelectReply;
/**
* Decodes a SingleSelectReply message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns SingleSelectReply
* @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.Message.ListResponseMessage.SingleSelectReply;
/**
* Verifies a SingleSelectReply 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 SingleSelectReply message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns SingleSelectReply
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ListResponseMessage.SingleSelectReply;
/**
* Creates a plain object from a SingleSelectReply message. Also converts values to other types if specified.
* @param message SingleSelectReply
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ListResponseMessage.SingleSelectReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this SingleSelectReply to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for SingleSelectReply
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a LiveLocationMessage. */
interface ILiveLocationMessage {
/** LiveLocationMessage degreesLatitude */
degreesLatitude?: (number|null);
/** LiveLocationMessage degreesLongitude */
degreesLongitude?: (number|null);
/** LiveLocationMessage accuracyInMeters */
accuracyInMeters?: (number|null);
/** LiveLocationMessage speedInMps */
speedInMps?: (number|null);
/** LiveLocationMessage degreesClockwiseFromMagneticNorth */
degreesClockwiseFromMagneticNorth?: (number|null);
/** LiveLocationMessage caption */
caption?: (string|null);
/** LiveLocationMessage sequenceNumber */
sequenceNumber?: (number|Long|null);
/** LiveLocationMessage timeOffset */
timeOffset?: (number|null);
/** LiveLocationMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** LiveLocationMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a LiveLocationMessage. */
class LiveLocationMessage implements ILiveLocationMessage {
/**
* Constructs a new LiveLocationMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ILiveLocationMessage);
/** LiveLocationMessage degreesLatitude. */
public degreesLatitude?: (number|null);
/** LiveLocationMessage degreesLongitude. */
public degreesLongitude?: (number|null);
/** LiveLocationMessage accuracyInMeters. */
public accuracyInMeters?: (number|null);
/** LiveLocationMessage speedInMps. */
public speedInMps?: (number|null);
/** LiveLocationMessage degreesClockwiseFromMagneticNorth. */
public degreesClockwiseFromMagneticNorth?: (number|null);
/** LiveLocationMessage caption. */
public caption?: (string|null);
/** LiveLocationMessage sequenceNumber. */
public sequenceNumber?: (number|Long|null);
/** LiveLocationMessage timeOffset. */
public timeOffset?: (number|null);
/** LiveLocationMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** LiveLocationMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** LiveLocationMessage _degreesLatitude. */
public _degreesLatitude?: "degreesLatitude";
/** LiveLocationMessage _degreesLongitude. */
public _degreesLongitude?: "degreesLongitude";
/** LiveLocationMessage _accuracyInMeters. */
public _accuracyInMeters?: "accuracyInMeters";
/** LiveLocationMessage _speedInMps. */
public _speedInMps?: "speedInMps";
/** LiveLocationMessage _degreesClockwiseFromMagneticNorth. */
public _degreesClockwiseFromMagneticNorth?: "degreesClockwiseFromMagneticNorth";
/** LiveLocationMessage _caption. */
public _caption?: "caption";
/** LiveLocationMessage _sequenceNumber. */
public _sequenceNumber?: "sequenceNumber";
/** LiveLocationMessage _timeOffset. */
public _timeOffset?: "timeOffset";
/** LiveLocationMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** LiveLocationMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new LiveLocationMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns LiveLocationMessage instance
*/
public static create(properties?: E2E.Message.ILiveLocationMessage): E2E.Message.LiveLocationMessage;
/**
* Encodes the specified LiveLocationMessage message. Does not implicitly {@link E2E.Message.LiveLocationMessage.verify|verify} messages.
* @param message LiveLocationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LiveLocationMessage message, length delimited. Does not implicitly {@link E2E.Message.LiveLocationMessage.verify|verify} messages.
* @param message LiveLocationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LiveLocationMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LiveLocationMessage
* @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.Message.LiveLocationMessage;
/**
* Decodes a LiveLocationMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LiveLocationMessage
* @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.Message.LiveLocationMessage;
/**
* Verifies a LiveLocationMessage 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 LiveLocationMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LiveLocationMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.LiveLocationMessage;
/**
* Creates a plain object from a LiveLocationMessage message. Also converts values to other types if specified.
* @param message LiveLocationMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.LiveLocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LiveLocationMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for LiveLocationMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a LocationMessage. */
interface ILocationMessage {
/** LocationMessage degreesLatitude */
degreesLatitude?: (number|null);
/** LocationMessage degreesLongitude */
degreesLongitude?: (number|null);
/** LocationMessage name */
name?: (string|null);
/** LocationMessage address */
address?: (string|null);
/** LocationMessage url */
url?: (string|null);
/** LocationMessage isLive */
isLive?: (boolean|null);
/** LocationMessage accuracyInMeters */
accuracyInMeters?: (number|null);
/** LocationMessage speedInMps */
speedInMps?: (number|null);
/** LocationMessage degreesClockwiseFromMagneticNorth */
degreesClockwiseFromMagneticNorth?: (number|null);
/** LocationMessage comment */
comment?: (string|null);
/** LocationMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** LocationMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a LocationMessage. */
class LocationMessage implements ILocationMessage {
/**
* Constructs a new LocationMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ILocationMessage);
/** LocationMessage degreesLatitude. */
public degreesLatitude?: (number|null);
/** LocationMessage degreesLongitude. */
public degreesLongitude?: (number|null);
/** LocationMessage name. */
public name?: (string|null);
/** LocationMessage address. */
public address?: (string|null);
/** LocationMessage url. */
public url?: (string|null);
/** LocationMessage isLive. */
public isLive?: (boolean|null);
/** LocationMessage accuracyInMeters. */
public accuracyInMeters?: (number|null);
/** LocationMessage speedInMps. */
public speedInMps?: (number|null);
/** LocationMessage degreesClockwiseFromMagneticNorth. */
public degreesClockwiseFromMagneticNorth?: (number|null);
/** LocationMessage comment. */
public comment?: (string|null);
/** LocationMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** LocationMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** LocationMessage _degreesLatitude. */
public _degreesLatitude?: "degreesLatitude";
/** LocationMessage _degreesLongitude. */
public _degreesLongitude?: "degreesLongitude";
/** LocationMessage _name. */
public _name?: "name";
/** LocationMessage _address. */
public _address?: "address";
/** LocationMessage _url. */
public _url?: "url";
/** LocationMessage _isLive. */
public _isLive?: "isLive";
/** LocationMessage _accuracyInMeters. */
public _accuracyInMeters?: "accuracyInMeters";
/** LocationMessage _speedInMps. */
public _speedInMps?: "speedInMps";
/** LocationMessage _degreesClockwiseFromMagneticNorth. */
public _degreesClockwiseFromMagneticNorth?: "degreesClockwiseFromMagneticNorth";
/** LocationMessage _comment. */
public _comment?: "comment";
/** LocationMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** LocationMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new LocationMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns LocationMessage instance
*/
public static create(properties?: E2E.Message.ILocationMessage): E2E.Message.LocationMessage;
/**
* Encodes the specified LocationMessage message. Does not implicitly {@link E2E.Message.LocationMessage.verify|verify} messages.
* @param message LocationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LocationMessage message, length delimited. Does not implicitly {@link E2E.Message.LocationMessage.verify|verify} messages.
* @param message LocationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LocationMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LocationMessage
* @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.Message.LocationMessage;
/**
* Decodes a LocationMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LocationMessage
* @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.Message.LocationMessage;
/**
* Verifies a LocationMessage 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 LocationMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LocationMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.LocationMessage;
/**
* Creates a plain object from a LocationMessage message. Also converts values to other types if specified.
* @param message LocationMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.LocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LocationMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for LocationMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MMSThumbnailMetadata. */
interface IMMSThumbnailMetadata {
/** MMSThumbnailMetadata thumbnailDirectPath */
thumbnailDirectPath?: (string|null);
/** MMSThumbnailMetadata thumbnailSha256 */
thumbnailSha256?: (Uint8Array|null);
/** MMSThumbnailMetadata thumbnailEncSha256 */
thumbnailEncSha256?: (Uint8Array|null);
/** MMSThumbnailMetadata mediaKey */
mediaKey?: (Uint8Array|null);
/** MMSThumbnailMetadata mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** MMSThumbnailMetadata thumbnailHeight */
thumbnailHeight?: (number|null);
/** MMSThumbnailMetadata thumbnailWidth */
thumbnailWidth?: (number|null);
}
/** Represents a MMSThumbnailMetadata. */
class MMSThumbnailMetadata implements IMMSThumbnailMetadata {
/**
* Constructs a new MMSThumbnailMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IMMSThumbnailMetadata);
/** MMSThumbnailMetadata thumbnailDirectPath. */
public thumbnailDirectPath?: (string|null);
/** MMSThumbnailMetadata thumbnailSha256. */
public thumbnailSha256?: (Uint8Array|null);
/** MMSThumbnailMetadata thumbnailEncSha256. */
public thumbnailEncSha256?: (Uint8Array|null);
/** MMSThumbnailMetadata mediaKey. */
public mediaKey?: (Uint8Array|null);
/** MMSThumbnailMetadata mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** MMSThumbnailMetadata thumbnailHeight. */
public thumbnailHeight?: (number|null);
/** MMSThumbnailMetadata thumbnailWidth. */
public thumbnailWidth?: (number|null);
/** MMSThumbnailMetadata _thumbnailDirectPath. */
public _thumbnailDirectPath?: "thumbnailDirectPath";
/** MMSThumbnailMetadata _thumbnailSha256. */
public _thumbnailSha256?: "thumbnailSha256";
/** MMSThumbnailMetadata _thumbnailEncSha256. */
public _thumbnailEncSha256?: "thumbnailEncSha256";
/** MMSThumbnailMetadata _mediaKey. */
public _mediaKey?: "mediaKey";
/** MMSThumbnailMetadata _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** MMSThumbnailMetadata _thumbnailHeight. */
public _thumbnailHeight?: "thumbnailHeight";
/** MMSThumbnailMetadata _thumbnailWidth. */
public _thumbnailWidth?: "thumbnailWidth";
/**
* Creates a new MMSThumbnailMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns MMSThumbnailMetadata instance
*/
public static create(properties?: E2E.Message.IMMSThumbnailMetadata): E2E.Message.MMSThumbnailMetadata;
/**
* Encodes the specified MMSThumbnailMetadata message. Does not implicitly {@link E2E.Message.MMSThumbnailMetadata.verify|verify} messages.
* @param message MMSThumbnailMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IMMSThumbnailMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MMSThumbnailMetadata message, length delimited. Does not implicitly {@link E2E.Message.MMSThumbnailMetadata.verify|verify} messages.
* @param message MMSThumbnailMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IMMSThumbnailMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MMSThumbnailMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MMSThumbnailMetadata
* @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.Message.MMSThumbnailMetadata;
/**
* Decodes a MMSThumbnailMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MMSThumbnailMetadata
* @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.Message.MMSThumbnailMetadata;
/**
* Verifies a MMSThumbnailMetadata 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 MMSThumbnailMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MMSThumbnailMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.MMSThumbnailMetadata;
/**
* Creates a plain object from a MMSThumbnailMetadata message. Also converts values to other types if specified.
* @param message MMSThumbnailMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.MMSThumbnailMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MMSThumbnailMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MMSThumbnailMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MessageHistoryBundle. */
interface IMessageHistoryBundle {
/** MessageHistoryBundle mimetype */
mimetype?: (string|null);
/** MessageHistoryBundle fileSha256 */
fileSha256?: (Uint8Array|null);
/** MessageHistoryBundle mediaKey */
mediaKey?: (Uint8Array|null);
/** MessageHistoryBundle fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** MessageHistoryBundle directPath */
directPath?: (string|null);
/** MessageHistoryBundle mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** MessageHistoryBundle contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** MessageHistoryBundle messageHistoryMetadata */
messageHistoryMetadata?: (E2E.Message.IMessageHistoryMetadata|null);
}
/** Represents a MessageHistoryBundle. */
class MessageHistoryBundle implements IMessageHistoryBundle {
/**
* Constructs a new MessageHistoryBundle.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IMessageHistoryBundle);
/** MessageHistoryBundle mimetype. */
public mimetype?: (string|null);
/** MessageHistoryBundle fileSha256. */
public fileSha256?: (Uint8Array|null);
/** MessageHistoryBundle mediaKey. */
public mediaKey?: (Uint8Array|null);
/** MessageHistoryBundle fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** MessageHistoryBundle directPath. */
public directPath?: (string|null);
/** MessageHistoryBundle mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** MessageHistoryBundle contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** MessageHistoryBundle messageHistoryMetadata. */
public messageHistoryMetadata?: (E2E.Message.IMessageHistoryMetadata|null);
/** MessageHistoryBundle _mimetype. */
public _mimetype?: "mimetype";
/** MessageHistoryBundle _fileSha256. */
public _fileSha256?: "fileSha256";
/** MessageHistoryBundle _mediaKey. */
public _mediaKey?: "mediaKey";
/** MessageHistoryBundle _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** MessageHistoryBundle _directPath. */
public _directPath?: "directPath";
/** MessageHistoryBundle _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** MessageHistoryBundle _contextInfo. */
public _contextInfo?: "contextInfo";
/** MessageHistoryBundle _messageHistoryMetadata. */
public _messageHistoryMetadata?: "messageHistoryMetadata";
/**
* Creates a new MessageHistoryBundle instance using the specified properties.
* @param [properties] Properties to set
* @returns MessageHistoryBundle instance
*/
public static create(properties?: E2E.Message.IMessageHistoryBundle): E2E.Message.MessageHistoryBundle;
/**
* Encodes the specified MessageHistoryBundle message. Does not implicitly {@link E2E.Message.MessageHistoryBundle.verify|verify} messages.
* @param message MessageHistoryBundle message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IMessageHistoryBundle, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MessageHistoryBundle message, length delimited. Does not implicitly {@link E2E.Message.MessageHistoryBundle.verify|verify} messages.
* @param message MessageHistoryBundle message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IMessageHistoryBundle, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MessageHistoryBundle message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MessageHistoryBundle
* @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.Message.MessageHistoryBundle;
/**
* Decodes a MessageHistoryBundle message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MessageHistoryBundle
* @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.Message.MessageHistoryBundle;
/**
* Verifies a MessageHistoryBundle 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 MessageHistoryBundle message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MessageHistoryBundle
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.MessageHistoryBundle;
/**
* Creates a plain object from a MessageHistoryBundle message. Also converts values to other types if specified.
* @param message MessageHistoryBundle
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.MessageHistoryBundle, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MessageHistoryBundle to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MessageHistoryBundle
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MessageHistoryMetadata. */
interface IMessageHistoryMetadata {
/** MessageHistoryMetadata historyReceivers */
historyReceivers?: (string[]|null);
/** MessageHistoryMetadata firstMessageTimestamp */
firstMessageTimestamp?: (number|Long|null);
/** MessageHistoryMetadata messageCount */
messageCount?: (number|Long|null);
}
/** Represents a MessageHistoryMetadata. */
class MessageHistoryMetadata implements IMessageHistoryMetadata {
/**
* Constructs a new MessageHistoryMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IMessageHistoryMetadata);
/** MessageHistoryMetadata historyReceivers. */
public historyReceivers: string[];
/** MessageHistoryMetadata firstMessageTimestamp. */
public firstMessageTimestamp?: (number|Long|null);
/** MessageHistoryMetadata messageCount. */
public messageCount?: (number|Long|null);
/** MessageHistoryMetadata _firstMessageTimestamp. */
public _firstMessageTimestamp?: "firstMessageTimestamp";
/** MessageHistoryMetadata _messageCount. */
public _messageCount?: "messageCount";
/**
* Creates a new MessageHistoryMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns MessageHistoryMetadata instance
*/
public static create(properties?: E2E.Message.IMessageHistoryMetadata): E2E.Message.MessageHistoryMetadata;
/**
* Encodes the specified MessageHistoryMetadata message. Does not implicitly {@link E2E.Message.MessageHistoryMetadata.verify|verify} messages.
* @param message MessageHistoryMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IMessageHistoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MessageHistoryMetadata message, length delimited. Does not implicitly {@link E2E.Message.MessageHistoryMetadata.verify|verify} messages.
* @param message MessageHistoryMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IMessageHistoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MessageHistoryMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MessageHistoryMetadata
* @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.Message.MessageHistoryMetadata;
/**
* Decodes a MessageHistoryMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MessageHistoryMetadata
* @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.Message.MessageHistoryMetadata;
/**
* Verifies a MessageHistoryMetadata 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 MessageHistoryMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MessageHistoryMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.MessageHistoryMetadata;
/**
* Creates a plain object from a MessageHistoryMetadata message. Also converts values to other types if specified.
* @param message MessageHistoryMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.MessageHistoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MessageHistoryMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MessageHistoryMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MessageHistoryNotice. */
interface IMessageHistoryNotice {
/** MessageHistoryNotice contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** MessageHistoryNotice messageHistoryMetadata */
messageHistoryMetadata?: (E2E.Message.IMessageHistoryMetadata|null);
}
/** Represents a MessageHistoryNotice. */
class MessageHistoryNotice implements IMessageHistoryNotice {
/**
* Constructs a new MessageHistoryNotice.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IMessageHistoryNotice);
/** MessageHistoryNotice contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** MessageHistoryNotice messageHistoryMetadata. */
public messageHistoryMetadata?: (E2E.Message.IMessageHistoryMetadata|null);
/** MessageHistoryNotice _contextInfo. */
public _contextInfo?: "contextInfo";
/** MessageHistoryNotice _messageHistoryMetadata. */
public _messageHistoryMetadata?: "messageHistoryMetadata";
/**
* Creates a new MessageHistoryNotice instance using the specified properties.
* @param [properties] Properties to set
* @returns MessageHistoryNotice instance
*/
public static create(properties?: E2E.Message.IMessageHistoryNotice): E2E.Message.MessageHistoryNotice;
/**
* Encodes the specified MessageHistoryNotice message. Does not implicitly {@link E2E.Message.MessageHistoryNotice.verify|verify} messages.
* @param message MessageHistoryNotice message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IMessageHistoryNotice, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MessageHistoryNotice message, length delimited. Does not implicitly {@link E2E.Message.MessageHistoryNotice.verify|verify} messages.
* @param message MessageHistoryNotice message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IMessageHistoryNotice, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MessageHistoryNotice message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MessageHistoryNotice
* @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.Message.MessageHistoryNotice;
/**
* Decodes a MessageHistoryNotice message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MessageHistoryNotice
* @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.Message.MessageHistoryNotice;
/**
* Verifies a MessageHistoryNotice 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 MessageHistoryNotice message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MessageHistoryNotice
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.MessageHistoryNotice;
/**
* Creates a plain object from a MessageHistoryNotice message. Also converts values to other types if specified.
* @param message MessageHistoryNotice
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.MessageHistoryNotice, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MessageHistoryNotice to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MessageHistoryNotice
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a NewsletterAdminInviteMessage. */
interface INewsletterAdminInviteMessage {
/** NewsletterAdminInviteMessage newsletterJid */
newsletterJid?: (string|null);
/** NewsletterAdminInviteMessage newsletterName */
newsletterName?: (string|null);
/** NewsletterAdminInviteMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** NewsletterAdminInviteMessage caption */
caption?: (string|null);
/** NewsletterAdminInviteMessage inviteExpiration */
inviteExpiration?: (number|Long|null);
/** NewsletterAdminInviteMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a NewsletterAdminInviteMessage. */
class NewsletterAdminInviteMessage implements INewsletterAdminInviteMessage {
/**
* Constructs a new NewsletterAdminInviteMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.INewsletterAdminInviteMessage);
/** NewsletterAdminInviteMessage newsletterJid. */
public newsletterJid?: (string|null);
/** NewsletterAdminInviteMessage newsletterName. */
public newsletterName?: (string|null);
/** NewsletterAdminInviteMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** NewsletterAdminInviteMessage caption. */
public caption?: (string|null);
/** NewsletterAdminInviteMessage inviteExpiration. */
public inviteExpiration?: (number|Long|null);
/** NewsletterAdminInviteMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** NewsletterAdminInviteMessage _newsletterJid. */
public _newsletterJid?: "newsletterJid";
/** NewsletterAdminInviteMessage _newsletterName. */
public _newsletterName?: "newsletterName";
/** NewsletterAdminInviteMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** NewsletterAdminInviteMessage _caption. */
public _caption?: "caption";
/** NewsletterAdminInviteMessage _inviteExpiration. */
public _inviteExpiration?: "inviteExpiration";
/** NewsletterAdminInviteMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new NewsletterAdminInviteMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns NewsletterAdminInviteMessage instance
*/
public static create(properties?: E2E.Message.INewsletterAdminInviteMessage): E2E.Message.NewsletterAdminInviteMessage;
/**
* Encodes the specified NewsletterAdminInviteMessage message. Does not implicitly {@link E2E.Message.NewsletterAdminInviteMessage.verify|verify} messages.
* @param message NewsletterAdminInviteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.INewsletterAdminInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NewsletterAdminInviteMessage message, length delimited. Does not implicitly {@link E2E.Message.NewsletterAdminInviteMessage.verify|verify} messages.
* @param message NewsletterAdminInviteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.INewsletterAdminInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NewsletterAdminInviteMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NewsletterAdminInviteMessage
* @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.Message.NewsletterAdminInviteMessage;
/**
* Decodes a NewsletterAdminInviteMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NewsletterAdminInviteMessage
* @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.Message.NewsletterAdminInviteMessage;
/**
* Verifies a NewsletterAdminInviteMessage 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 NewsletterAdminInviteMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NewsletterAdminInviteMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.NewsletterAdminInviteMessage;
/**
* Creates a plain object from a NewsletterAdminInviteMessage message. Also converts values to other types if specified.
* @param message NewsletterAdminInviteMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.NewsletterAdminInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NewsletterAdminInviteMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for NewsletterAdminInviteMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an OrderMessage. */
interface IOrderMessage {
/** OrderMessage orderId */
orderId?: (string|null);
/** OrderMessage thumbnail */
thumbnail?: (Uint8Array|null);
/** OrderMessage itemCount */
itemCount?: (number|null);
/** OrderMessage status */
status?: (E2E.Message.OrderMessage.OrderStatus|null);
/** OrderMessage surface */
surface?: (E2E.Message.OrderMessage.OrderSurface|null);
/** OrderMessage message */
message?: (string|null);
/** OrderMessage orderTitle */
orderTitle?: (string|null);
/** OrderMessage sellerJid */
sellerJid?: (string|null);
/** OrderMessage token */
token?: (string|null);
/** OrderMessage totalAmount1000 */
totalAmount1000?: (number|Long|null);
/** OrderMessage totalCurrencyCode */
totalCurrencyCode?: (string|null);
/** OrderMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** OrderMessage messageVersion */
messageVersion?: (number|null);
/** OrderMessage orderRequestMessageId */
orderRequestMessageId?: (Protocol.IMessageKey|null);
/** OrderMessage catalogType */
catalogType?: (string|null);
}
/** Represents an OrderMessage. */
class OrderMessage implements IOrderMessage {
/**
* Constructs a new OrderMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IOrderMessage);
/** OrderMessage orderId. */
public orderId?: (string|null);
/** OrderMessage thumbnail. */
public thumbnail?: (Uint8Array|null);
/** OrderMessage itemCount. */
public itemCount?: (number|null);
/** OrderMessage status. */
public status?: (E2E.Message.OrderMessage.OrderStatus|null);
/** OrderMessage surface. */
public surface?: (E2E.Message.OrderMessage.OrderSurface|null);
/** OrderMessage message. */
public message?: (string|null);
/** OrderMessage orderTitle. */
public orderTitle?: (string|null);
/** OrderMessage sellerJid. */
public sellerJid?: (string|null);
/** OrderMessage token. */
public token?: (string|null);
/** OrderMessage totalAmount1000. */
public totalAmount1000?: (number|Long|null);
/** OrderMessage totalCurrencyCode. */
public totalCurrencyCode?: (string|null);
/** OrderMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** OrderMessage messageVersion. */
public messageVersion?: (number|null);
/** OrderMessage orderRequestMessageId. */
public orderRequestMessageId?: (Protocol.IMessageKey|null);
/** OrderMessage catalogType. */
public catalogType?: (string|null);
/** OrderMessage _orderId. */
public _orderId?: "orderId";
/** OrderMessage _thumbnail. */
public _thumbnail?: "thumbnail";
/** OrderMessage _itemCount. */
public _itemCount?: "itemCount";
/** OrderMessage _status. */
public _status?: "status";
/** OrderMessage _surface. */
public _surface?: "surface";
/** OrderMessage _message. */
public _message?: "message";
/** OrderMessage _orderTitle. */
public _orderTitle?: "orderTitle";
/** OrderMessage _sellerJid. */
public _sellerJid?: "sellerJid";
/** OrderMessage _token. */
public _token?: "token";
/** OrderMessage _totalAmount1000. */
public _totalAmount1000?: "totalAmount1000";
/** OrderMessage _totalCurrencyCode. */
public _totalCurrencyCode?: "totalCurrencyCode";
/** OrderMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** OrderMessage _messageVersion. */
public _messageVersion?: "messageVersion";
/** OrderMessage _orderRequestMessageId. */
public _orderRequestMessageId?: "orderRequestMessageId";
/** OrderMessage _catalogType. */
public _catalogType?: "catalogType";
/**
* Creates a new OrderMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns OrderMessage instance
*/
public static create(properties?: E2E.Message.IOrderMessage): E2E.Message.OrderMessage;
/**
* Encodes the specified OrderMessage message. Does not implicitly {@link E2E.Message.OrderMessage.verify|verify} messages.
* @param message OrderMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IOrderMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified OrderMessage message, length delimited. Does not implicitly {@link E2E.Message.OrderMessage.verify|verify} messages.
* @param message OrderMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IOrderMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an OrderMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns OrderMessage
* @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.Message.OrderMessage;
/**
* Decodes an OrderMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns OrderMessage
* @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.Message.OrderMessage;
/**
* Verifies an OrderMessage 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 OrderMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns OrderMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.OrderMessage;
/**
* Creates a plain object from an OrderMessage message. Also converts values to other types if specified.
* @param message OrderMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.OrderMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this OrderMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for OrderMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace OrderMessage {
/** OrderStatus enum. */
enum OrderStatus {
INQUIRY = 1,
ACCEPTED = 2,
DECLINED = 3
}
/** OrderSurface enum. */
enum OrderSurface {
CATALOG = 1
}
}
/** Properties of a PaymentInviteMessage. */
interface IPaymentInviteMessage {
/** PaymentInviteMessage serviceType */
serviceType?: (E2E.Message.PaymentInviteMessage.ServiceType|null);
/** PaymentInviteMessage expiryTimestamp */
expiryTimestamp?: (number|Long|null);
}
/** Represents a PaymentInviteMessage. */
class PaymentInviteMessage implements IPaymentInviteMessage {
/**
* Constructs a new PaymentInviteMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPaymentInviteMessage);
/** PaymentInviteMessage serviceType. */
public serviceType?: (E2E.Message.PaymentInviteMessage.ServiceType|null);
/** PaymentInviteMessage expiryTimestamp. */
public expiryTimestamp?: (number|Long|null);
/** PaymentInviteMessage _serviceType. */
public _serviceType?: "serviceType";
/** PaymentInviteMessage _expiryTimestamp. */
public _expiryTimestamp?: "expiryTimestamp";
/**
* Creates a new PaymentInviteMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PaymentInviteMessage instance
*/
public static create(properties?: E2E.Message.IPaymentInviteMessage): E2E.Message.PaymentInviteMessage;
/**
* Encodes the specified PaymentInviteMessage message. Does not implicitly {@link E2E.Message.PaymentInviteMessage.verify|verify} messages.
* @param message PaymentInviteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPaymentInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PaymentInviteMessage message, length delimited. Does not implicitly {@link E2E.Message.PaymentInviteMessage.verify|verify} messages.
* @param message PaymentInviteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPaymentInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PaymentInviteMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PaymentInviteMessage
* @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.Message.PaymentInviteMessage;
/**
* Decodes a PaymentInviteMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PaymentInviteMessage
* @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.Message.PaymentInviteMessage;
/**
* Verifies a PaymentInviteMessage 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 PaymentInviteMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PaymentInviteMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PaymentInviteMessage;
/**
* Creates a plain object from a PaymentInviteMessage message. Also converts values to other types if specified.
* @param message PaymentInviteMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PaymentInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PaymentInviteMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PaymentInviteMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PaymentInviteMessage {
/** ServiceType enum. */
enum ServiceType {
UNKNOWN = 0,
FBPAY = 1,
NOVI = 2,
UPI = 3
}
}
/** Properties of a PaymentLinkMetadata. */
interface IPaymentLinkMetadata {
/** PaymentLinkMetadata button */
button?: (E2E.Message.PaymentLinkMetadata.IPaymentLinkButton|null);
/** PaymentLinkMetadata header */
header?: (E2E.Message.PaymentLinkMetadata.IPaymentLinkHeader|null);
/** PaymentLinkMetadata provider */
provider?: (E2E.Message.PaymentLinkMetadata.IPaymentLinkProvider|null);
}
/** Represents a PaymentLinkMetadata. */
class PaymentLinkMetadata implements IPaymentLinkMetadata {
/**
* Constructs a new PaymentLinkMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPaymentLinkMetadata);
/** PaymentLinkMetadata button. */
public button?: (E2E.Message.PaymentLinkMetadata.IPaymentLinkButton|null);
/** PaymentLinkMetadata header. */
public header?: (E2E.Message.PaymentLinkMetadata.IPaymentLinkHeader|null);
/** PaymentLinkMetadata provider. */
public provider?: (E2E.Message.PaymentLinkMetadata.IPaymentLinkProvider|null);
/** PaymentLinkMetadata _button. */
public _button?: "button";
/** PaymentLinkMetadata _header. */
public _header?: "header";
/** PaymentLinkMetadata _provider. */
public _provider?: "provider";
/**
* Creates a new PaymentLinkMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns PaymentLinkMetadata instance
*/
public static create(properties?: E2E.Message.IPaymentLinkMetadata): E2E.Message.PaymentLinkMetadata;
/**
* Encodes the specified PaymentLinkMetadata message. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.verify|verify} messages.
* @param message PaymentLinkMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPaymentLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PaymentLinkMetadata message, length delimited. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.verify|verify} messages.
* @param message PaymentLinkMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPaymentLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PaymentLinkMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PaymentLinkMetadata
* @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.Message.PaymentLinkMetadata;
/**
* Decodes a PaymentLinkMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PaymentLinkMetadata
* @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.Message.PaymentLinkMetadata;
/**
* Verifies a PaymentLinkMetadata 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 PaymentLinkMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PaymentLinkMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PaymentLinkMetadata;
/**
* Creates a plain object from a PaymentLinkMetadata message. Also converts values to other types if specified.
* @param message PaymentLinkMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PaymentLinkMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PaymentLinkMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PaymentLinkMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PaymentLinkMetadata {
/** Properties of a PaymentLinkButton. */
interface IPaymentLinkButton {
/** PaymentLinkButton displayText */
displayText?: (string|null);
}
/** Represents a PaymentLinkButton. */
class PaymentLinkButton implements IPaymentLinkButton {
/**
* Constructs a new PaymentLinkButton.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PaymentLinkMetadata.IPaymentLinkButton);
/** PaymentLinkButton displayText. */
public displayText?: (string|null);
/** PaymentLinkButton _displayText. */
public _displayText?: "displayText";
/**
* Creates a new PaymentLinkButton instance using the specified properties.
* @param [properties] Properties to set
* @returns PaymentLinkButton instance
*/
public static create(properties?: E2E.Message.PaymentLinkMetadata.IPaymentLinkButton): E2E.Message.PaymentLinkMetadata.PaymentLinkButton;
/**
* Encodes the specified PaymentLinkButton message. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.PaymentLinkButton.verify|verify} messages.
* @param message PaymentLinkButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PaymentLinkMetadata.IPaymentLinkButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PaymentLinkButton message, length delimited. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.PaymentLinkButton.verify|verify} messages.
* @param message PaymentLinkButton message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PaymentLinkMetadata.IPaymentLinkButton, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PaymentLinkButton message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PaymentLinkButton
* @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.Message.PaymentLinkMetadata.PaymentLinkButton;
/**
* Decodes a PaymentLinkButton message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PaymentLinkButton
* @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.Message.PaymentLinkMetadata.PaymentLinkButton;
/**
* Verifies a PaymentLinkButton 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 PaymentLinkButton message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PaymentLinkButton
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PaymentLinkMetadata.PaymentLinkButton;
/**
* Creates a plain object from a PaymentLinkButton message. Also converts values to other types if specified.
* @param message PaymentLinkButton
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PaymentLinkMetadata.PaymentLinkButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PaymentLinkButton to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PaymentLinkButton
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PaymentLinkHeader. */
interface IPaymentLinkHeader {
/** PaymentLinkHeader headerType */
headerType?: (E2E.Message.PaymentLinkMetadata.PaymentLinkHeader.PaymentLinkHeaderType|null);
}
/** Represents a PaymentLinkHeader. */
class PaymentLinkHeader implements IPaymentLinkHeader {
/**
* Constructs a new PaymentLinkHeader.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PaymentLinkMetadata.IPaymentLinkHeader);
/** PaymentLinkHeader headerType. */
public headerType?: (E2E.Message.PaymentLinkMetadata.PaymentLinkHeader.PaymentLinkHeaderType|null);
/** PaymentLinkHeader _headerType. */
public _headerType?: "headerType";
/**
* Creates a new PaymentLinkHeader instance using the specified properties.
* @param [properties] Properties to set
* @returns PaymentLinkHeader instance
*/
public static create(properties?: E2E.Message.PaymentLinkMetadata.IPaymentLinkHeader): E2E.Message.PaymentLinkMetadata.PaymentLinkHeader;
/**
* Encodes the specified PaymentLinkHeader message. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.PaymentLinkHeader.verify|verify} messages.
* @param message PaymentLinkHeader message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PaymentLinkMetadata.IPaymentLinkHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PaymentLinkHeader message, length delimited. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.PaymentLinkHeader.verify|verify} messages.
* @param message PaymentLinkHeader message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PaymentLinkMetadata.IPaymentLinkHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PaymentLinkHeader message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PaymentLinkHeader
* @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.Message.PaymentLinkMetadata.PaymentLinkHeader;
/**
* Decodes a PaymentLinkHeader message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PaymentLinkHeader
* @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.Message.PaymentLinkMetadata.PaymentLinkHeader;
/**
* Verifies a PaymentLinkHeader 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 PaymentLinkHeader message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PaymentLinkHeader
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PaymentLinkMetadata.PaymentLinkHeader;
/**
* Creates a plain object from a PaymentLinkHeader message. Also converts values to other types if specified.
* @param message PaymentLinkHeader
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PaymentLinkMetadata.PaymentLinkHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PaymentLinkHeader to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PaymentLinkHeader
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PaymentLinkHeader {
/** PaymentLinkHeaderType enum. */
enum PaymentLinkHeaderType {
LINK_PREVIEW = 0,
ORDER = 1
}
}
/** Properties of a PaymentLinkProvider. */
interface IPaymentLinkProvider {
/** PaymentLinkProvider paramsJson */
paramsJson?: (string|null);
}
/** Represents a PaymentLinkProvider. */
class PaymentLinkProvider implements IPaymentLinkProvider {
/**
* Constructs a new PaymentLinkProvider.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PaymentLinkMetadata.IPaymentLinkProvider);
/** PaymentLinkProvider paramsJson. */
public paramsJson?: (string|null);
/** PaymentLinkProvider _paramsJson. */
public _paramsJson?: "paramsJson";
/**
* Creates a new PaymentLinkProvider instance using the specified properties.
* @param [properties] Properties to set
* @returns PaymentLinkProvider instance
*/
public static create(properties?: E2E.Message.PaymentLinkMetadata.IPaymentLinkProvider): E2E.Message.PaymentLinkMetadata.PaymentLinkProvider;
/**
* Encodes the specified PaymentLinkProvider message. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.PaymentLinkProvider.verify|verify} messages.
* @param message PaymentLinkProvider message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PaymentLinkMetadata.IPaymentLinkProvider, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PaymentLinkProvider message, length delimited. Does not implicitly {@link E2E.Message.PaymentLinkMetadata.PaymentLinkProvider.verify|verify} messages.
* @param message PaymentLinkProvider message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PaymentLinkMetadata.IPaymentLinkProvider, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PaymentLinkProvider message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PaymentLinkProvider
* @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.Message.PaymentLinkMetadata.PaymentLinkProvider;
/**
* Decodes a PaymentLinkProvider message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PaymentLinkProvider
* @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.Message.PaymentLinkMetadata.PaymentLinkProvider;
/**
* Verifies a PaymentLinkProvider 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 PaymentLinkProvider message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PaymentLinkProvider
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PaymentLinkMetadata.PaymentLinkProvider;
/**
* Creates a plain object from a PaymentLinkProvider message. Also converts values to other types if specified.
* @param message PaymentLinkProvider
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PaymentLinkMetadata.PaymentLinkProvider, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PaymentLinkProvider to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PaymentLinkProvider
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a PeerDataOperationRequestMessage. */
interface IPeerDataOperationRequestMessage {
/** PeerDataOperationRequestMessage peerDataOperationRequestType */
peerDataOperationRequestType?: (E2E.Message.PeerDataOperationRequestType|null);
/** PeerDataOperationRequestMessage requestStickerReupload */
requestStickerReupload?: (E2E.Message.PeerDataOperationRequestMessage.IRequestStickerReupload[]|null);
/** PeerDataOperationRequestMessage requestUrlPreview */
requestUrlPreview?: (E2E.Message.PeerDataOperationRequestMessage.IRequestUrlPreview[]|null);
/** PeerDataOperationRequestMessage historySyncOnDemandRequest */
historySyncOnDemandRequest?: (E2E.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest|null);
/** PeerDataOperationRequestMessage placeholderMessageResendRequest */
placeholderMessageResendRequest?: (E2E.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest[]|null);
/** PeerDataOperationRequestMessage fullHistorySyncOnDemandRequest */
fullHistorySyncOnDemandRequest?: (E2E.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest|null);
/** PeerDataOperationRequestMessage syncdCollectionFatalRecoveryRequest */
syncdCollectionFatalRecoveryRequest?: (E2E.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest|null);
}
/** Represents a PeerDataOperationRequestMessage. */
class PeerDataOperationRequestMessage implements IPeerDataOperationRequestMessage {
/**
* Constructs a new PeerDataOperationRequestMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPeerDataOperationRequestMessage);
/** PeerDataOperationRequestMessage peerDataOperationRequestType. */
public peerDataOperationRequestType?: (E2E.Message.PeerDataOperationRequestType|null);
/** PeerDataOperationRequestMessage requestStickerReupload. */
public requestStickerReupload: E2E.Message.PeerDataOperationRequestMessage.IRequestStickerReupload[];
/** PeerDataOperationRequestMessage requestUrlPreview. */
public requestUrlPreview: E2E.Message.PeerDataOperationRequestMessage.IRequestUrlPreview[];
/** PeerDataOperationRequestMessage historySyncOnDemandRequest. */
public historySyncOnDemandRequest?: (E2E.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest|null);
/** PeerDataOperationRequestMessage placeholderMessageResendRequest. */
public placeholderMessageResendRequest: E2E.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest[];
/** PeerDataOperationRequestMessage fullHistorySyncOnDemandRequest. */
public fullHistorySyncOnDemandRequest?: (E2E.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest|null);
/** PeerDataOperationRequestMessage syncdCollectionFatalRecoveryRequest. */
public syncdCollectionFatalRecoveryRequest?: (E2E.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest|null);
/** PeerDataOperationRequestMessage _peerDataOperationRequestType. */
public _peerDataOperationRequestType?: "peerDataOperationRequestType";
/** PeerDataOperationRequestMessage _historySyncOnDemandRequest. */
public _historySyncOnDemandRequest?: "historySyncOnDemandRequest";
/** PeerDataOperationRequestMessage _fullHistorySyncOnDemandRequest. */
public _fullHistorySyncOnDemandRequest?: "fullHistorySyncOnDemandRequest";
/** PeerDataOperationRequestMessage _syncdCollectionFatalRecoveryRequest. */
public _syncdCollectionFatalRecoveryRequest?: "syncdCollectionFatalRecoveryRequest";
/**
* Creates a new PeerDataOperationRequestMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PeerDataOperationRequestMessage instance
*/
public static create(properties?: E2E.Message.IPeerDataOperationRequestMessage): E2E.Message.PeerDataOperationRequestMessage;
/**
* Encodes the specified PeerDataOperationRequestMessage message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.verify|verify} messages.
* @param message PeerDataOperationRequestMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPeerDataOperationRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PeerDataOperationRequestMessage message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.verify|verify} messages.
* @param message PeerDataOperationRequestMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPeerDataOperationRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PeerDataOperationRequestMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PeerDataOperationRequestMessage
* @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.Message.PeerDataOperationRequestMessage;
/**
* Decodes a PeerDataOperationRequestMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PeerDataOperationRequestMessage
* @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.Message.PeerDataOperationRequestMessage;
/**
* Verifies a PeerDataOperationRequestMessage 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 PeerDataOperationRequestMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PeerDataOperationRequestMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage;
/**
* Creates a plain object from a PeerDataOperationRequestMessage message. Also converts values to other types if specified.
* @param message PeerDataOperationRequestMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PeerDataOperationRequestMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PeerDataOperationRequestMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PeerDataOperationRequestMessage {
/** Properties of a FullHistorySyncOnDemandRequest. */
interface IFullHistorySyncOnDemandRequest {
/** FullHistorySyncOnDemandRequest requestMetadata */
requestMetadata?: (E2E.Message.IFullHistorySyncOnDemandRequestMetadata|null);
/** FullHistorySyncOnDemandRequest historySyncConfig */
historySyncConfig?: (CompanionReg.DeviceProps.IHistorySyncConfig|null);
}
/** Represents a FullHistorySyncOnDemandRequest. */
class FullHistorySyncOnDemandRequest implements IFullHistorySyncOnDemandRequest {
/**
* Constructs a new FullHistorySyncOnDemandRequest.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest);
/** FullHistorySyncOnDemandRequest requestMetadata. */
public requestMetadata?: (E2E.Message.IFullHistorySyncOnDemandRequestMetadata|null);
/** FullHistorySyncOnDemandRequest historySyncConfig. */
public historySyncConfig?: (CompanionReg.DeviceProps.IHistorySyncConfig|null);
/** FullHistorySyncOnDemandRequest _requestMetadata. */
public _requestMetadata?: "requestMetadata";
/** FullHistorySyncOnDemandRequest _historySyncConfig. */
public _historySyncConfig?: "historySyncConfig";
/**
* Creates a new FullHistorySyncOnDemandRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns FullHistorySyncOnDemandRequest instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest): E2E.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest;
/**
* Encodes the specified FullHistorySyncOnDemandRequest message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest.verify|verify} messages.
* @param message FullHistorySyncOnDemandRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FullHistorySyncOnDemandRequest message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest.verify|verify} messages.
* @param message FullHistorySyncOnDemandRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FullHistorySyncOnDemandRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FullHistorySyncOnDemandRequest
* @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.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest;
/**
* Decodes a FullHistorySyncOnDemandRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FullHistorySyncOnDemandRequest
* @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.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest;
/**
* Verifies a FullHistorySyncOnDemandRequest 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 FullHistorySyncOnDemandRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FullHistorySyncOnDemandRequest
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest;
/**
* Creates a plain object from a FullHistorySyncOnDemandRequest message. Also converts values to other types if specified.
* @param message FullHistorySyncOnDemandRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FullHistorySyncOnDemandRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for FullHistorySyncOnDemandRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HistorySyncOnDemandRequest. */
interface IHistorySyncOnDemandRequest {
/** HistorySyncOnDemandRequest chatJid */
chatJid?: (string|null);
/** HistorySyncOnDemandRequest oldestMsgId */
oldestMsgId?: (string|null);
/** HistorySyncOnDemandRequest oldestMsgFromMe */
oldestMsgFromMe?: (boolean|null);
/** HistorySyncOnDemandRequest onDemandMsgCount */
onDemandMsgCount?: (number|null);
/** HistorySyncOnDemandRequest oldestMsgTimestampMs */
oldestMsgTimestampMs?: (number|Long|null);
/** HistorySyncOnDemandRequest accountLid */
accountLid?: (string|null);
}
/** Represents a HistorySyncOnDemandRequest. */
class HistorySyncOnDemandRequest implements IHistorySyncOnDemandRequest {
/**
* Constructs a new HistorySyncOnDemandRequest.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest);
/** HistorySyncOnDemandRequest chatJid. */
public chatJid?: (string|null);
/** HistorySyncOnDemandRequest oldestMsgId. */
public oldestMsgId?: (string|null);
/** HistorySyncOnDemandRequest oldestMsgFromMe. */
public oldestMsgFromMe?: (boolean|null);
/** HistorySyncOnDemandRequest onDemandMsgCount. */
public onDemandMsgCount?: (number|null);
/** HistorySyncOnDemandRequest oldestMsgTimestampMs. */
public oldestMsgTimestampMs?: (number|Long|null);
/** HistorySyncOnDemandRequest accountLid. */
public accountLid?: (string|null);
/** HistorySyncOnDemandRequest _chatJid. */
public _chatJid?: "chatJid";
/** HistorySyncOnDemandRequest _oldestMsgId. */
public _oldestMsgId?: "oldestMsgId";
/** HistorySyncOnDemandRequest _oldestMsgFromMe. */
public _oldestMsgFromMe?: "oldestMsgFromMe";
/** HistorySyncOnDemandRequest _onDemandMsgCount. */
public _onDemandMsgCount?: "onDemandMsgCount";
/** HistorySyncOnDemandRequest _oldestMsgTimestampMs. */
public _oldestMsgTimestampMs?: "oldestMsgTimestampMs";
/** HistorySyncOnDemandRequest _accountLid. */
public _accountLid?: "accountLid";
/**
* Creates a new HistorySyncOnDemandRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns HistorySyncOnDemandRequest instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest): E2E.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
/**
* Encodes the specified HistorySyncOnDemandRequest message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest.verify|verify} messages.
* @param message HistorySyncOnDemandRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HistorySyncOnDemandRequest message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest.verify|verify} messages.
* @param message HistorySyncOnDemandRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HistorySyncOnDemandRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HistorySyncOnDemandRequest
* @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.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
/**
* Decodes a HistorySyncOnDemandRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HistorySyncOnDemandRequest
* @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.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
/**
* Verifies a HistorySyncOnDemandRequest 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 HistorySyncOnDemandRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HistorySyncOnDemandRequest
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
/**
* Creates a plain object from a HistorySyncOnDemandRequest message. Also converts values to other types if specified.
* @param message HistorySyncOnDemandRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HistorySyncOnDemandRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HistorySyncOnDemandRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PlaceholderMessageResendRequest. */
interface IPlaceholderMessageResendRequest {
/** PlaceholderMessageResendRequest messageKey */
messageKey?: (Protocol.IMessageKey|null);
}
/** Represents a PlaceholderMessageResendRequest. */
class PlaceholderMessageResendRequest implements IPlaceholderMessageResendRequest {
/**
* Constructs a new PlaceholderMessageResendRequest.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest);
/** PlaceholderMessageResendRequest messageKey. */
public messageKey?: (Protocol.IMessageKey|null);
/** PlaceholderMessageResendRequest _messageKey. */
public _messageKey?: "messageKey";
/**
* Creates a new PlaceholderMessageResendRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns PlaceholderMessageResendRequest instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest): E2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest;
/**
* Encodes the specified PlaceholderMessageResendRequest message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.verify|verify} messages.
* @param message PlaceholderMessageResendRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PlaceholderMessageResendRequest message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.verify|verify} messages.
* @param message PlaceholderMessageResendRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PlaceholderMessageResendRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PlaceholderMessageResendRequest
* @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.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest;
/**
* Decodes a PlaceholderMessageResendRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PlaceholderMessageResendRequest
* @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.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest;
/**
* Verifies a PlaceholderMessageResendRequest 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 PlaceholderMessageResendRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PlaceholderMessageResendRequest
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest;
/**
* Creates a plain object from a PlaceholderMessageResendRequest message. Also converts values to other types if specified.
* @param message PlaceholderMessageResendRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PlaceholderMessageResendRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PlaceholderMessageResendRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a RequestStickerReupload. */
interface IRequestStickerReupload {
/** RequestStickerReupload fileSha256 */
fileSha256?: (string|null);
}
/** Represents a RequestStickerReupload. */
class RequestStickerReupload implements IRequestStickerReupload {
/**
* Constructs a new RequestStickerReupload.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestMessage.IRequestStickerReupload);
/** RequestStickerReupload fileSha256. */
public fileSha256?: (string|null);
/** RequestStickerReupload _fileSha256. */
public _fileSha256?: "fileSha256";
/**
* Creates a new RequestStickerReupload instance using the specified properties.
* @param [properties] Properties to set
* @returns RequestStickerReupload instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestMessage.IRequestStickerReupload): E2E.Message.PeerDataOperationRequestMessage.RequestStickerReupload;
/**
* Encodes the specified RequestStickerReupload message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.RequestStickerReupload.verify|verify} messages.
* @param message RequestStickerReupload message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestMessage.IRequestStickerReupload, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified RequestStickerReupload message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.RequestStickerReupload.verify|verify} messages.
* @param message RequestStickerReupload message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestMessage.IRequestStickerReupload, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a RequestStickerReupload message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns RequestStickerReupload
* @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.Message.PeerDataOperationRequestMessage.RequestStickerReupload;
/**
* Decodes a RequestStickerReupload message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns RequestStickerReupload
* @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.Message.PeerDataOperationRequestMessage.RequestStickerReupload;
/**
* Verifies a RequestStickerReupload 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 RequestStickerReupload message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns RequestStickerReupload
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage.RequestStickerReupload;
/**
* Creates a plain object from a RequestStickerReupload message. Also converts values to other types if specified.
* @param message RequestStickerReupload
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestMessage.RequestStickerReupload, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this RequestStickerReupload to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for RequestStickerReupload
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a RequestUrlPreview. */
interface IRequestUrlPreview {
/** RequestUrlPreview url */
url?: (string|null);
/** RequestUrlPreview includeHqThumbnail */
includeHqThumbnail?: (boolean|null);
}
/** Represents a RequestUrlPreview. */
class RequestUrlPreview implements IRequestUrlPreview {
/**
* Constructs a new RequestUrlPreview.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestMessage.IRequestUrlPreview);
/** RequestUrlPreview url. */
public url?: (string|null);
/** RequestUrlPreview includeHqThumbnail. */
public includeHqThumbnail?: (boolean|null);
/** RequestUrlPreview _url. */
public _url?: "url";
/** RequestUrlPreview _includeHqThumbnail. */
public _includeHqThumbnail?: "includeHqThumbnail";
/**
* Creates a new RequestUrlPreview instance using the specified properties.
* @param [properties] Properties to set
* @returns RequestUrlPreview instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestMessage.IRequestUrlPreview): E2E.Message.PeerDataOperationRequestMessage.RequestUrlPreview;
/**
* Encodes the specified RequestUrlPreview message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.RequestUrlPreview.verify|verify} messages.
* @param message RequestUrlPreview message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestMessage.IRequestUrlPreview, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified RequestUrlPreview message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.RequestUrlPreview.verify|verify} messages.
* @param message RequestUrlPreview message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestMessage.IRequestUrlPreview, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a RequestUrlPreview message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns RequestUrlPreview
* @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.Message.PeerDataOperationRequestMessage.RequestUrlPreview;
/**
* Decodes a RequestUrlPreview message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns RequestUrlPreview
* @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.Message.PeerDataOperationRequestMessage.RequestUrlPreview;
/**
* Verifies a RequestUrlPreview 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 RequestUrlPreview message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns RequestUrlPreview
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage.RequestUrlPreview;
/**
* Creates a plain object from a RequestUrlPreview message. Also converts values to other types if specified.
* @param message RequestUrlPreview
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestMessage.RequestUrlPreview, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this RequestUrlPreview to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for RequestUrlPreview
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a SyncDCollectionFatalRecoveryRequest. */
interface ISyncDCollectionFatalRecoveryRequest {
/** SyncDCollectionFatalRecoveryRequest collectionName */
collectionName?: (string|null);
/** SyncDCollectionFatalRecoveryRequest timestamp */
timestamp?: (number|Long|null);
}
/** Represents a SyncDCollectionFatalRecoveryRequest. */
class SyncDCollectionFatalRecoveryRequest implements ISyncDCollectionFatalRecoveryRequest {
/**
* Constructs a new SyncDCollectionFatalRecoveryRequest.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest);
/** SyncDCollectionFatalRecoveryRequest collectionName. */
public collectionName?: (string|null);
/** SyncDCollectionFatalRecoveryRequest timestamp. */
public timestamp?: (number|Long|null);
/** SyncDCollectionFatalRecoveryRequest _collectionName. */
public _collectionName?: "collectionName";
/** SyncDCollectionFatalRecoveryRequest _timestamp. */
public _timestamp?: "timestamp";
/**
* Creates a new SyncDCollectionFatalRecoveryRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns SyncDCollectionFatalRecoveryRequest instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest): E2E.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest;
/**
* Encodes the specified SyncDCollectionFatalRecoveryRequest message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest.verify|verify} messages.
* @param message SyncDCollectionFatalRecoveryRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified SyncDCollectionFatalRecoveryRequest message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest.verify|verify} messages.
* @param message SyncDCollectionFatalRecoveryRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a SyncDCollectionFatalRecoveryRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns SyncDCollectionFatalRecoveryRequest
* @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.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest;
/**
* Decodes a SyncDCollectionFatalRecoveryRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns SyncDCollectionFatalRecoveryRequest
* @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.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest;
/**
* Verifies a SyncDCollectionFatalRecoveryRequest 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 SyncDCollectionFatalRecoveryRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns SyncDCollectionFatalRecoveryRequest
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest;
/**
* Creates a plain object from a SyncDCollectionFatalRecoveryRequest message. Also converts values to other types if specified.
* @param message SyncDCollectionFatalRecoveryRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this SyncDCollectionFatalRecoveryRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for SyncDCollectionFatalRecoveryRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a PeerDataOperationRequestResponseMessage. */
interface IPeerDataOperationRequestResponseMessage {
/** PeerDataOperationRequestResponseMessage peerDataOperationRequestType */
peerDataOperationRequestType?: (E2E.Message.PeerDataOperationRequestType|null);
/** PeerDataOperationRequestResponseMessage stanzaId */
stanzaId?: (string|null);
/** PeerDataOperationRequestResponseMessage peerDataOperationResult */
peerDataOperationResult?: (E2E.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult[]|null);
}
/** Represents a PeerDataOperationRequestResponseMessage. */
class PeerDataOperationRequestResponseMessage implements IPeerDataOperationRequestResponseMessage {
/**
* Constructs a new PeerDataOperationRequestResponseMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPeerDataOperationRequestResponseMessage);
/** PeerDataOperationRequestResponseMessage peerDataOperationRequestType. */
public peerDataOperationRequestType?: (E2E.Message.PeerDataOperationRequestType|null);
/** PeerDataOperationRequestResponseMessage stanzaId. */
public stanzaId?: (string|null);
/** PeerDataOperationRequestResponseMessage peerDataOperationResult. */
public peerDataOperationResult: E2E.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult[];
/** PeerDataOperationRequestResponseMessage _peerDataOperationRequestType. */
public _peerDataOperationRequestType?: "peerDataOperationRequestType";
/** PeerDataOperationRequestResponseMessage _stanzaId. */
public _stanzaId?: "stanzaId";
/**
* Creates a new PeerDataOperationRequestResponseMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PeerDataOperationRequestResponseMessage instance
*/
public static create(properties?: E2E.Message.IPeerDataOperationRequestResponseMessage): E2E.Message.PeerDataOperationRequestResponseMessage;
/**
* Encodes the specified PeerDataOperationRequestResponseMessage message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.verify|verify} messages.
* @param message PeerDataOperationRequestResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPeerDataOperationRequestResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PeerDataOperationRequestResponseMessage message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.verify|verify} messages.
* @param message PeerDataOperationRequestResponseMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPeerDataOperationRequestResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PeerDataOperationRequestResponseMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PeerDataOperationRequestResponseMessage
* @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.Message.PeerDataOperationRequestResponseMessage;
/**
* Decodes a PeerDataOperationRequestResponseMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PeerDataOperationRequestResponseMessage
* @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.Message.PeerDataOperationRequestResponseMessage;
/**
* Verifies a PeerDataOperationRequestResponseMessage 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 PeerDataOperationRequestResponseMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PeerDataOperationRequestResponseMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage;
/**
* Creates a plain object from a PeerDataOperationRequestResponseMessage message. Also converts values to other types if specified.
* @param message PeerDataOperationRequestResponseMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PeerDataOperationRequestResponseMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PeerDataOperationRequestResponseMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PeerDataOperationRequestResponseMessage {
/** Properties of a PeerDataOperationResult. */
interface IPeerDataOperationResult {
/** PeerDataOperationResult mediaUploadResult */
mediaUploadResult?: (MmsRetry.MediaRetryNotification.ResultType|null);
/** PeerDataOperationResult stickerMessage */
stickerMessage?: (E2E.Message.IStickerMessage|null);
/** PeerDataOperationResult linkPreviewResponse */
linkPreviewResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse|null);
/** PeerDataOperationResult placeholderMessageResendResponse */
placeholderMessageResendResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse|null);
/** PeerDataOperationResult waffleNonceFetchRequestResponse */
waffleNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse|null);
/** PeerDataOperationResult fullHistorySyncOnDemandRequestResponse */
fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse|null);
/** PeerDataOperationResult companionMetaNonceFetchRequestResponse */
companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
/** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse */
syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
/** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse */
companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
}
/** Represents a PeerDataOperationResult. */
class PeerDataOperationResult implements IPeerDataOperationResult {
/**
* Constructs a new PeerDataOperationResult.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult);
/** PeerDataOperationResult mediaUploadResult. */
public mediaUploadResult?: (MmsRetry.MediaRetryNotification.ResultType|null);
/** PeerDataOperationResult stickerMessage. */
public stickerMessage?: (E2E.Message.IStickerMessage|null);
/** PeerDataOperationResult linkPreviewResponse. */
public linkPreviewResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse|null);
/** PeerDataOperationResult placeholderMessageResendResponse. */
public placeholderMessageResendResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse|null);
/** PeerDataOperationResult waffleNonceFetchRequestResponse. */
public waffleNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse|null);
/** PeerDataOperationResult fullHistorySyncOnDemandRequestResponse. */
public fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse|null);
/** PeerDataOperationResult companionMetaNonceFetchRequestResponse. */
public companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
/** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse. */
public syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
/** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse. */
public companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
/** PeerDataOperationResult _mediaUploadResult. */
public _mediaUploadResult?: "mediaUploadResult";
/** PeerDataOperationResult _stickerMessage. */
public _stickerMessage?: "stickerMessage";
/** PeerDataOperationResult _linkPreviewResponse. */
public _linkPreviewResponse?: "linkPreviewResponse";
/** PeerDataOperationResult _placeholderMessageResendResponse. */
public _placeholderMessageResendResponse?: "placeholderMessageResendResponse";
/** PeerDataOperationResult _waffleNonceFetchRequestResponse. */
public _waffleNonceFetchRequestResponse?: "waffleNonceFetchRequestResponse";
/** PeerDataOperationResult _fullHistorySyncOnDemandRequestResponse. */
public _fullHistorySyncOnDemandRequestResponse?: "fullHistorySyncOnDemandRequestResponse";
/** PeerDataOperationResult _companionMetaNonceFetchRequestResponse. */
public _companionMetaNonceFetchRequestResponse?: "companionMetaNonceFetchRequestResponse";
/** PeerDataOperationResult _syncdSnapshotFatalRecoveryResponse. */
public _syncdSnapshotFatalRecoveryResponse?: "syncdSnapshotFatalRecoveryResponse";
/** PeerDataOperationResult _companionCanonicalUserNonceFetchRequestResponse. */
public _companionCanonicalUserNonceFetchRequestResponse?: "companionCanonicalUserNonceFetchRequestResponse";
/**
* Creates a new PeerDataOperationResult instance using the specified properties.
* @param [properties] Properties to set
* @returns PeerDataOperationResult instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult;
/**
* Encodes the specified PeerDataOperationResult message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.verify|verify} messages.
* @param message PeerDataOperationResult message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PeerDataOperationResult message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.verify|verify} messages.
* @param message PeerDataOperationResult message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PeerDataOperationResult message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PeerDataOperationResult
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult;
/**
* Decodes a PeerDataOperationResult message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PeerDataOperationResult
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult;
/**
* Verifies a PeerDataOperationResult 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 PeerDataOperationResult message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PeerDataOperationResult
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult;
/**
* Creates a plain object from a PeerDataOperationResult message. Also converts values to other types if specified.
* @param message PeerDataOperationResult
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PeerDataOperationResult to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PeerDataOperationResult
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PeerDataOperationResult {
/** Properties of a CompanionCanonicalUserNonceFetchResponse. */
interface ICompanionCanonicalUserNonceFetchResponse {
/** CompanionCanonicalUserNonceFetchResponse nonce */
nonce?: (string|null);
}
/** Represents a CompanionCanonicalUserNonceFetchResponse. */
class CompanionCanonicalUserNonceFetchResponse implements ICompanionCanonicalUserNonceFetchResponse {
/**
* Constructs a new CompanionCanonicalUserNonceFetchResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse);
/** CompanionCanonicalUserNonceFetchResponse nonce. */
public nonce?: (string|null);
/** CompanionCanonicalUserNonceFetchResponse _nonce. */
public _nonce?: "nonce";
/**
* Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns CompanionCanonicalUserNonceFetchResponse instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
/**
* Encodes the specified CompanionCanonicalUserNonceFetchResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
* @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CompanionCanonicalUserNonceFetchResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
* @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CompanionCanonicalUserNonceFetchResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
/**
* Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CompanionCanonicalUserNonceFetchResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
/**
* Verifies a CompanionCanonicalUserNonceFetchResponse 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 CompanionCanonicalUserNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CompanionCanonicalUserNonceFetchResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
/**
* Creates a plain object from a CompanionCanonicalUserNonceFetchResponse message. Also converts values to other types if specified.
* @param message CompanionCanonicalUserNonceFetchResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CompanionCanonicalUserNonceFetchResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CompanionCanonicalUserNonceFetchResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CompanionMetaNonceFetchResponse. */
interface ICompanionMetaNonceFetchResponse {
/** CompanionMetaNonceFetchResponse nonce */
nonce?: (string|null);
}
/** Represents a CompanionMetaNonceFetchResponse. */
class CompanionMetaNonceFetchResponse implements ICompanionMetaNonceFetchResponse {
/**
* Constructs a new CompanionMetaNonceFetchResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse);
/** CompanionMetaNonceFetchResponse nonce. */
public nonce?: (string|null);
/** CompanionMetaNonceFetchResponse _nonce. */
public _nonce?: "nonce";
/**
* Creates a new CompanionMetaNonceFetchResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns CompanionMetaNonceFetchResponse instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
/**
* Encodes the specified CompanionMetaNonceFetchResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse.verify|verify} messages.
* @param message CompanionMetaNonceFetchResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CompanionMetaNonceFetchResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse.verify|verify} messages.
* @param message CompanionMetaNonceFetchResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CompanionMetaNonceFetchResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CompanionMetaNonceFetchResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
/**
* Decodes a CompanionMetaNonceFetchResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CompanionMetaNonceFetchResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
/**
* Verifies a CompanionMetaNonceFetchResponse 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 CompanionMetaNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CompanionMetaNonceFetchResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
/**
* Creates a plain object from a CompanionMetaNonceFetchResponse message. Also converts values to other types if specified.
* @param message CompanionMetaNonceFetchResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CompanionMetaNonceFetchResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CompanionMetaNonceFetchResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a FullHistorySyncOnDemandRequestResponse. */
interface IFullHistorySyncOnDemandRequestResponse {
/** FullHistorySyncOnDemandRequestResponse requestMetadata */
requestMetadata?: (E2E.Message.IFullHistorySyncOnDemandRequestMetadata|null);
/** FullHistorySyncOnDemandRequestResponse responseCode */
responseCode?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode|null);
}
/** Represents a FullHistorySyncOnDemandRequestResponse. */
class FullHistorySyncOnDemandRequestResponse implements IFullHistorySyncOnDemandRequestResponse {
/**
* Constructs a new FullHistorySyncOnDemandRequestResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse);
/** FullHistorySyncOnDemandRequestResponse requestMetadata. */
public requestMetadata?: (E2E.Message.IFullHistorySyncOnDemandRequestMetadata|null);
/** FullHistorySyncOnDemandRequestResponse responseCode. */
public responseCode?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode|null);
/** FullHistorySyncOnDemandRequestResponse _requestMetadata. */
public _requestMetadata?: "requestMetadata";
/** FullHistorySyncOnDemandRequestResponse _responseCode. */
public _responseCode?: "responseCode";
/**
* Creates a new FullHistorySyncOnDemandRequestResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns FullHistorySyncOnDemandRequestResponse instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse;
/**
* Encodes the specified FullHistorySyncOnDemandRequestResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse.verify|verify} messages.
* @param message FullHistorySyncOnDemandRequestResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FullHistorySyncOnDemandRequestResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse.verify|verify} messages.
* @param message FullHistorySyncOnDemandRequestResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FullHistorySyncOnDemandRequestResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FullHistorySyncOnDemandRequestResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse;
/**
* Decodes a FullHistorySyncOnDemandRequestResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FullHistorySyncOnDemandRequestResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse;
/**
* Verifies a FullHistorySyncOnDemandRequestResponse 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 FullHistorySyncOnDemandRequestResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FullHistorySyncOnDemandRequestResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse;
/**
* Creates a plain object from a FullHistorySyncOnDemandRequestResponse message. Also converts values to other types if specified.
* @param message FullHistorySyncOnDemandRequestResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FullHistorySyncOnDemandRequestResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for FullHistorySyncOnDemandRequestResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** FullHistorySyncOnDemandResponseCode enum. */
enum FullHistorySyncOnDemandResponseCode {
REQUEST_SUCCESS = 0,
REQUEST_TIME_EXPIRED = 1,
DECLINED_SHARING_HISTORY = 2,
GENERIC_ERROR = 3,
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4,
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5,
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6
}
/** Properties of a LinkPreviewResponse. */
interface ILinkPreviewResponse {
/** LinkPreviewResponse url */
url?: (string|null);
/** LinkPreviewResponse title */
title?: (string|null);
/** LinkPreviewResponse description */
description?: (string|null);
/** LinkPreviewResponse thumbData */
thumbData?: (Uint8Array|null);
/** LinkPreviewResponse matchText */
matchText?: (string|null);
/** LinkPreviewResponse previewType */
previewType?: (string|null);
/** LinkPreviewResponse hqThumbnail */
hqThumbnail?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail|null);
}
/** Represents a LinkPreviewResponse. */
class LinkPreviewResponse implements ILinkPreviewResponse {
/**
* Constructs a new LinkPreviewResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse);
/** LinkPreviewResponse url. */
public url?: (string|null);
/** LinkPreviewResponse title. */
public title?: (string|null);
/** LinkPreviewResponse description. */
public description?: (string|null);
/** LinkPreviewResponse thumbData. */
public thumbData?: (Uint8Array|null);
/** LinkPreviewResponse matchText. */
public matchText?: (string|null);
/** LinkPreviewResponse previewType. */
public previewType?: (string|null);
/** LinkPreviewResponse hqThumbnail. */
public hqThumbnail?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail|null);
/** LinkPreviewResponse _url. */
public _url?: "url";
/** LinkPreviewResponse _title. */
public _title?: "title";
/** LinkPreviewResponse _description. */
public _description?: "description";
/** LinkPreviewResponse _thumbData. */
public _thumbData?: "thumbData";
/** LinkPreviewResponse _matchText. */
public _matchText?: "matchText";
/** LinkPreviewResponse _previewType. */
public _previewType?: "previewType";
/** LinkPreviewResponse _hqThumbnail. */
public _hqThumbnail?: "hqThumbnail";
/**
* Creates a new LinkPreviewResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns LinkPreviewResponse instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse;
/**
* Encodes the specified LinkPreviewResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.verify|verify} messages.
* @param message LinkPreviewResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LinkPreviewResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.verify|verify} messages.
* @param message LinkPreviewResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LinkPreviewResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LinkPreviewResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse;
/**
* Decodes a LinkPreviewResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LinkPreviewResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse;
/**
* Verifies a LinkPreviewResponse 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 LinkPreviewResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LinkPreviewResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse;
/**
* Creates a plain object from a LinkPreviewResponse message. Also converts values to other types if specified.
* @param message LinkPreviewResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LinkPreviewResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for LinkPreviewResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace LinkPreviewResponse {
/** Properties of a LinkPreviewHighQualityThumbnail. */
interface ILinkPreviewHighQualityThumbnail {
/** LinkPreviewHighQualityThumbnail directPath */
directPath?: (string|null);
/** LinkPreviewHighQualityThumbnail thumbHash */
thumbHash?: (string|null);
/** LinkPreviewHighQualityThumbnail encThumbHash */
encThumbHash?: (string|null);
/** LinkPreviewHighQualityThumbnail mediaKey */
mediaKey?: (Uint8Array|null);
/** LinkPreviewHighQualityThumbnail mediaKeyTimestampMs */
mediaKeyTimestampMs?: (number|Long|null);
/** LinkPreviewHighQualityThumbnail thumbWidth */
thumbWidth?: (number|null);
/** LinkPreviewHighQualityThumbnail thumbHeight */
thumbHeight?: (number|null);
}
/** Represents a LinkPreviewHighQualityThumbnail. */
class LinkPreviewHighQualityThumbnail implements ILinkPreviewHighQualityThumbnail {
/**
* Constructs a new LinkPreviewHighQualityThumbnail.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail);
/** LinkPreviewHighQualityThumbnail directPath. */
public directPath?: (string|null);
/** LinkPreviewHighQualityThumbnail thumbHash. */
public thumbHash?: (string|null);
/** LinkPreviewHighQualityThumbnail encThumbHash. */
public encThumbHash?: (string|null);
/** LinkPreviewHighQualityThumbnail mediaKey. */
public mediaKey?: (Uint8Array|null);
/** LinkPreviewHighQualityThumbnail mediaKeyTimestampMs. */
public mediaKeyTimestampMs?: (number|Long|null);
/** LinkPreviewHighQualityThumbnail thumbWidth. */
public thumbWidth?: (number|null);
/** LinkPreviewHighQualityThumbnail thumbHeight. */
public thumbHeight?: (number|null);
/** LinkPreviewHighQualityThumbnail _directPath. */
public _directPath?: "directPath";
/** LinkPreviewHighQualityThumbnail _thumbHash. */
public _thumbHash?: "thumbHash";
/** LinkPreviewHighQualityThumbnail _encThumbHash. */
public _encThumbHash?: "encThumbHash";
/** LinkPreviewHighQualityThumbnail _mediaKey. */
public _mediaKey?: "mediaKey";
/** LinkPreviewHighQualityThumbnail _mediaKeyTimestampMs. */
public _mediaKeyTimestampMs?: "mediaKeyTimestampMs";
/** LinkPreviewHighQualityThumbnail _thumbWidth. */
public _thumbWidth?: "thumbWidth";
/** LinkPreviewHighQualityThumbnail _thumbHeight. */
public _thumbHeight?: "thumbHeight";
/**
* Creates a new LinkPreviewHighQualityThumbnail instance using the specified properties.
* @param [properties] Properties to set
* @returns LinkPreviewHighQualityThumbnail instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail;
/**
* Encodes the specified LinkPreviewHighQualityThumbnail message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail.verify|verify} messages.
* @param message LinkPreviewHighQualityThumbnail message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LinkPreviewHighQualityThumbnail message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail.verify|verify} messages.
* @param message LinkPreviewHighQualityThumbnail message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LinkPreviewHighQualityThumbnail message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LinkPreviewHighQualityThumbnail
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail;
/**
* Decodes a LinkPreviewHighQualityThumbnail message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LinkPreviewHighQualityThumbnail
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail;
/**
* Verifies a LinkPreviewHighQualityThumbnail 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 LinkPreviewHighQualityThumbnail message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LinkPreviewHighQualityThumbnail
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail;
/**
* Creates a plain object from a LinkPreviewHighQualityThumbnail message. Also converts values to other types if specified.
* @param message LinkPreviewHighQualityThumbnail
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LinkPreviewHighQualityThumbnail to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for LinkPreviewHighQualityThumbnail
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a PlaceholderMessageResendResponse. */
interface IPlaceholderMessageResendResponse {
/** PlaceholderMessageResendResponse webMessageInfoBytes */
webMessageInfoBytes?: (Uint8Array|null);
}
/** Represents a PlaceholderMessageResendResponse. */
class PlaceholderMessageResendResponse implements IPlaceholderMessageResendResponse {
/**
* Constructs a new PlaceholderMessageResendResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse);
/** PlaceholderMessageResendResponse webMessageInfoBytes. */
public webMessageInfoBytes?: (Uint8Array|null);
/** PlaceholderMessageResendResponse _webMessageInfoBytes. */
public _webMessageInfoBytes?: "webMessageInfoBytes";
/**
* Creates a new PlaceholderMessageResendResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns PlaceholderMessageResendResponse instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse;
/**
* Encodes the specified PlaceholderMessageResendResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse.verify|verify} messages.
* @param message PlaceholderMessageResendResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PlaceholderMessageResendResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse.verify|verify} messages.
* @param message PlaceholderMessageResendResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PlaceholderMessageResendResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PlaceholderMessageResendResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse;
/**
* Decodes a PlaceholderMessageResendResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PlaceholderMessageResendResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse;
/**
* Verifies a PlaceholderMessageResendResponse 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 PlaceholderMessageResendResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PlaceholderMessageResendResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse;
/**
* Creates a plain object from a PlaceholderMessageResendResponse message. Also converts values to other types if specified.
* @param message PlaceholderMessageResendResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PlaceholderMessageResendResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PlaceholderMessageResendResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a SyncDSnapshotFatalRecoveryResponse. */
interface ISyncDSnapshotFatalRecoveryResponse {
/** SyncDSnapshotFatalRecoveryResponse collectionSnapshot */
collectionSnapshot?: (Uint8Array|null);
/** SyncDSnapshotFatalRecoveryResponse isCompressed */
isCompressed?: (boolean|null);
}
/** Represents a SyncDSnapshotFatalRecoveryResponse. */
class SyncDSnapshotFatalRecoveryResponse implements ISyncDSnapshotFatalRecoveryResponse {
/**
* Constructs a new SyncDSnapshotFatalRecoveryResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse);
/** SyncDSnapshotFatalRecoveryResponse collectionSnapshot. */
public collectionSnapshot?: (Uint8Array|null);
/** SyncDSnapshotFatalRecoveryResponse isCompressed. */
public isCompressed?: (boolean|null);
/** SyncDSnapshotFatalRecoveryResponse _collectionSnapshot. */
public _collectionSnapshot?: "collectionSnapshot";
/** SyncDSnapshotFatalRecoveryResponse _isCompressed. */
public _isCompressed?: "isCompressed";
/**
* Creates a new SyncDSnapshotFatalRecoveryResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns SyncDSnapshotFatalRecoveryResponse instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse;
/**
* Encodes the specified SyncDSnapshotFatalRecoveryResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse.verify|verify} messages.
* @param message SyncDSnapshotFatalRecoveryResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified SyncDSnapshotFatalRecoveryResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse.verify|verify} messages.
* @param message SyncDSnapshotFatalRecoveryResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a SyncDSnapshotFatalRecoveryResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns SyncDSnapshotFatalRecoveryResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse;
/**
* Decodes a SyncDSnapshotFatalRecoveryResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns SyncDSnapshotFatalRecoveryResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse;
/**
* Verifies a SyncDSnapshotFatalRecoveryResponse 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 SyncDSnapshotFatalRecoveryResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns SyncDSnapshotFatalRecoveryResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse;
/**
* Creates a plain object from a SyncDSnapshotFatalRecoveryResponse message. Also converts values to other types if specified.
* @param message SyncDSnapshotFatalRecoveryResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this SyncDSnapshotFatalRecoveryResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for SyncDSnapshotFatalRecoveryResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a WaffleNonceFetchResponse. */
interface IWaffleNonceFetchResponse {
/** WaffleNonceFetchResponse nonce */
nonce?: (string|null);
/** WaffleNonceFetchResponse waEntFbid */
waEntFbid?: (string|null);
}
/** Represents a WaffleNonceFetchResponse. */
class WaffleNonceFetchResponse implements IWaffleNonceFetchResponse {
/**
* Constructs a new WaffleNonceFetchResponse.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse);
/** WaffleNonceFetchResponse nonce. */
public nonce?: (string|null);
/** WaffleNonceFetchResponse waEntFbid. */
public waEntFbid?: (string|null);
/** WaffleNonceFetchResponse _nonce. */
public _nonce?: "nonce";
/** WaffleNonceFetchResponse _waEntFbid. */
public _waEntFbid?: "waEntFbid";
/**
* Creates a new WaffleNonceFetchResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns WaffleNonceFetchResponse instance
*/
public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse;
/**
* Encodes the specified WaffleNonceFetchResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse.verify|verify} messages.
* @param message WaffleNonceFetchResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified WaffleNonceFetchResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse.verify|verify} messages.
* @param message WaffleNonceFetchResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a WaffleNonceFetchResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns WaffleNonceFetchResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse;
/**
* Decodes a WaffleNonceFetchResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns WaffleNonceFetchResponse
* @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.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse;
/**
* Verifies a WaffleNonceFetchResponse 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 WaffleNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns WaffleNonceFetchResponse
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse;
/**
* Creates a plain object from a WaffleNonceFetchResponse message. Also converts values to other types if specified.
* @param message WaffleNonceFetchResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this WaffleNonceFetchResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for WaffleNonceFetchResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
}
/** PeerDataOperationRequestType enum. */
enum PeerDataOperationRequestType {
UPLOAD_STICKER = 0,
SEND_RECENT_STICKER_BOOTSTRAP = 1,
GENERATE_LINK_PREVIEW = 2,
HISTORY_SYNC_ON_DEMAND = 3,
PLACEHOLDER_MESSAGE_RESEND = 4,
WAFFLE_LINKING_NONCE_FETCH = 5,
FULL_HISTORY_SYNC_ON_DEMAND = 6,
COMPANION_META_NONCE_FETCH = 7,
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8,
COMPANION_CANONICAL_USER_NONCE_FETCH = 9
}
/** Properties of a PinInChatMessage. */
interface IPinInChatMessage {
/** PinInChatMessage key */
key?: (Protocol.IMessageKey|null);
/** PinInChatMessage type */
type?: (E2E.Message.PinInChatMessage.Type|null);
/** PinInChatMessage senderTimestampMs */
senderTimestampMs?: (number|Long|null);
}
/** Represents a PinInChatMessage. */
class PinInChatMessage implements IPinInChatMessage {
/**
* Constructs a new PinInChatMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPinInChatMessage);
/** PinInChatMessage key. */
public key?: (Protocol.IMessageKey|null);
/** PinInChatMessage type. */
public type?: (E2E.Message.PinInChatMessage.Type|null);
/** PinInChatMessage senderTimestampMs. */
public senderTimestampMs?: (number|Long|null);
/** PinInChatMessage _key. */
public _key?: "key";
/** PinInChatMessage _type. */
public _type?: "type";
/** PinInChatMessage _senderTimestampMs. */
public _senderTimestampMs?: "senderTimestampMs";
/**
* Creates a new PinInChatMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PinInChatMessage instance
*/
public static create(properties?: E2E.Message.IPinInChatMessage): E2E.Message.PinInChatMessage;
/**
* Encodes the specified PinInChatMessage message. Does not implicitly {@link E2E.Message.PinInChatMessage.verify|verify} messages.
* @param message PinInChatMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPinInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PinInChatMessage message, length delimited. Does not implicitly {@link E2E.Message.PinInChatMessage.verify|verify} messages.
* @param message PinInChatMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPinInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PinInChatMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PinInChatMessage
* @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.Message.PinInChatMessage;
/**
* Decodes a PinInChatMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PinInChatMessage
* @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.Message.PinInChatMessage;
/**
* Verifies a PinInChatMessage 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 PinInChatMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PinInChatMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PinInChatMessage;
/**
* Creates a plain object from a PinInChatMessage message. Also converts values to other types if specified.
* @param message PinInChatMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PinInChatMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PinInChatMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PinInChatMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PinInChatMessage {
/** Type enum. */
enum Type {
UNKNOWN_TYPE = 0,
PIN_FOR_ALL = 1,
UNPIN_FOR_ALL = 2
}
}
/** Properties of a PlaceholderMessage. */
interface IPlaceholderMessage {
/** PlaceholderMessage type */
type?: (E2E.Message.PlaceholderMessage.PlaceholderType|null);
}
/** Represents a PlaceholderMessage. */
class PlaceholderMessage implements IPlaceholderMessage {
/**
* Constructs a new PlaceholderMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPlaceholderMessage);
/** PlaceholderMessage type. */
public type?: (E2E.Message.PlaceholderMessage.PlaceholderType|null);
/** PlaceholderMessage _type. */
public _type?: "type";
/**
* Creates a new PlaceholderMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PlaceholderMessage instance
*/
public static create(properties?: E2E.Message.IPlaceholderMessage): E2E.Message.PlaceholderMessage;
/**
* Encodes the specified PlaceholderMessage message. Does not implicitly {@link E2E.Message.PlaceholderMessage.verify|verify} messages.
* @param message PlaceholderMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPlaceholderMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PlaceholderMessage message, length delimited. Does not implicitly {@link E2E.Message.PlaceholderMessage.verify|verify} messages.
* @param message PlaceholderMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPlaceholderMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PlaceholderMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PlaceholderMessage
* @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.Message.PlaceholderMessage;
/**
* Decodes a PlaceholderMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PlaceholderMessage
* @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.Message.PlaceholderMessage;
/**
* Verifies a PlaceholderMessage 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 PlaceholderMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PlaceholderMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PlaceholderMessage;
/**
* Creates a plain object from a PlaceholderMessage message. Also converts values to other types if specified.
* @param message PlaceholderMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PlaceholderMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PlaceholderMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PlaceholderMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PlaceholderMessage {
/** PlaceholderType enum. */
enum PlaceholderType {
MASK_LINKED_DEVICES = 0
}
}
/** PollContentType enum. */
enum PollContentType {
UNKNOWN = 0,
TEXT = 1,
IMAGE = 2
}
/** Properties of a PollCreationMessage. */
interface IPollCreationMessage {
/** PollCreationMessage encKey */
encKey?: (Uint8Array|null);
/** PollCreationMessage name */
name?: (string|null);
/** PollCreationMessage options */
options?: (E2E.Message.PollCreationMessage.IOption[]|null);
/** PollCreationMessage selectableOptionsCount */
selectableOptionsCount?: (number|null);
/** PollCreationMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** PollCreationMessage pollContentType */
pollContentType?: (E2E.Message.PollContentType|null);
/** PollCreationMessage pollType */
pollType?: (E2E.Message.PollCreationMessage.PollType|null);
/** PollCreationMessage correctAnswer */
correctAnswer?: (E2E.Message.PollCreationMessage.IOption|null);
}
/** Represents a PollCreationMessage. */
class PollCreationMessage implements IPollCreationMessage {
/**
* Constructs a new PollCreationMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPollCreationMessage);
/** PollCreationMessage encKey. */
public encKey?: (Uint8Array|null);
/** PollCreationMessage name. */
public name?: (string|null);
/** PollCreationMessage options. */
public options: E2E.Message.PollCreationMessage.IOption[];
/** PollCreationMessage selectableOptionsCount. */
public selectableOptionsCount?: (number|null);
/** PollCreationMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** PollCreationMessage pollContentType. */
public pollContentType?: (E2E.Message.PollContentType|null);
/** PollCreationMessage pollType. */
public pollType?: (E2E.Message.PollCreationMessage.PollType|null);
/** PollCreationMessage correctAnswer. */
public correctAnswer?: (E2E.Message.PollCreationMessage.IOption|null);
/** PollCreationMessage _encKey. */
public _encKey?: "encKey";
/** PollCreationMessage _name. */
public _name?: "name";
/** PollCreationMessage _selectableOptionsCount. */
public _selectableOptionsCount?: "selectableOptionsCount";
/** PollCreationMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** PollCreationMessage _pollContentType. */
public _pollContentType?: "pollContentType";
/** PollCreationMessage _pollType. */
public _pollType?: "pollType";
/** PollCreationMessage _correctAnswer. */
public _correctAnswer?: "correctAnswer";
/**
* Creates a new PollCreationMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PollCreationMessage instance
*/
public static create(properties?: E2E.Message.IPollCreationMessage): E2E.Message.PollCreationMessage;
/**
* Encodes the specified PollCreationMessage message. Does not implicitly {@link E2E.Message.PollCreationMessage.verify|verify} messages.
* @param message PollCreationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPollCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PollCreationMessage message, length delimited. Does not implicitly {@link E2E.Message.PollCreationMessage.verify|verify} messages.
* @param message PollCreationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPollCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PollCreationMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PollCreationMessage
* @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.Message.PollCreationMessage;
/**
* Decodes a PollCreationMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PollCreationMessage
* @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.Message.PollCreationMessage;
/**
* Verifies a PollCreationMessage 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 PollCreationMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PollCreationMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollCreationMessage;
/**
* Creates a plain object from a PollCreationMessage message. Also converts values to other types if specified.
* @param message PollCreationMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollCreationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PollCreationMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PollCreationMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PollCreationMessage {
/** Properties of an Option. */
interface IOption {
/** Option optionName */
optionName?: (string|null);
/** Option optionHash */
optionHash?: (string|null);
}
/** Represents an Option. */
class Option implements IOption {
/**
* Constructs a new Option.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PollCreationMessage.IOption);
/** Option optionName. */
public optionName?: (string|null);
/** Option optionHash. */
public optionHash?: (string|null);
/** Option _optionName. */
public _optionName?: "optionName";
/** Option _optionHash. */
public _optionHash?: "optionHash";
/**
* Creates a new Option instance using the specified properties.
* @param [properties] Properties to set
* @returns Option instance
*/
public static create(properties?: E2E.Message.PollCreationMessage.IOption): E2E.Message.PollCreationMessage.Option;
/**
* Encodes the specified Option message. Does not implicitly {@link E2E.Message.PollCreationMessage.Option.verify|verify} messages.
* @param message Option message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PollCreationMessage.IOption, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Option message, length delimited. Does not implicitly {@link E2E.Message.PollCreationMessage.Option.verify|verify} messages.
* @param message Option message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PollCreationMessage.IOption, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an Option message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Option
* @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.Message.PollCreationMessage.Option;
/**
* Decodes an Option message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Option
* @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.Message.PollCreationMessage.Option;
/**
* Verifies an Option 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 Option message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Option
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollCreationMessage.Option;
/**
* Creates a plain object from an Option message. Also converts values to other types if specified.
* @param message Option
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollCreationMessage.Option, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Option to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Option
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** PollType enum. */
enum PollType {
POLL = 0,
QUIZ = 1
}
}
/** Properties of a PollEncValue. */
interface IPollEncValue {
/** PollEncValue encPayload */
encPayload?: (Uint8Array|null);
/** PollEncValue encIv */
encIv?: (Uint8Array|null);
}
/** Represents a PollEncValue. */
class PollEncValue implements IPollEncValue {
/**
* Constructs a new PollEncValue.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPollEncValue);
/** PollEncValue encPayload. */
public encPayload?: (Uint8Array|null);
/** PollEncValue encIv. */
public encIv?: (Uint8Array|null);
/** PollEncValue _encPayload. */
public _encPayload?: "encPayload";
/** PollEncValue _encIv. */
public _encIv?: "encIv";
/**
* Creates a new PollEncValue instance using the specified properties.
* @param [properties] Properties to set
* @returns PollEncValue instance
*/
public static create(properties?: E2E.Message.IPollEncValue): E2E.Message.PollEncValue;
/**
* Encodes the specified PollEncValue message. Does not implicitly {@link E2E.Message.PollEncValue.verify|verify} messages.
* @param message PollEncValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PollEncValue message, length delimited. Does not implicitly {@link E2E.Message.PollEncValue.verify|verify} messages.
* @param message PollEncValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PollEncValue message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PollEncValue
* @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.Message.PollEncValue;
/**
* Decodes a PollEncValue message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PollEncValue
* @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.Message.PollEncValue;
/**
* Verifies a PollEncValue 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 PollEncValue message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PollEncValue
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollEncValue;
/**
* Creates a plain object from a PollEncValue message. Also converts values to other types if specified.
* @param message PollEncValue
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollEncValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PollEncValue to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PollEncValue
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PollResultSnapshotMessage. */
interface IPollResultSnapshotMessage {
/** PollResultSnapshotMessage name */
name?: (string|null);
/** PollResultSnapshotMessage pollVotes */
pollVotes?: (E2E.Message.PollResultSnapshotMessage.IPollVote[]|null);
/** PollResultSnapshotMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a PollResultSnapshotMessage. */
class PollResultSnapshotMessage implements IPollResultSnapshotMessage {
/**
* Constructs a new PollResultSnapshotMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPollResultSnapshotMessage);
/** PollResultSnapshotMessage name. */
public name?: (string|null);
/** PollResultSnapshotMessage pollVotes. */
public pollVotes: E2E.Message.PollResultSnapshotMessage.IPollVote[];
/** PollResultSnapshotMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** PollResultSnapshotMessage _name. */
public _name?: "name";
/** PollResultSnapshotMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new PollResultSnapshotMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PollResultSnapshotMessage instance
*/
public static create(properties?: E2E.Message.IPollResultSnapshotMessage): E2E.Message.PollResultSnapshotMessage;
/**
* Encodes the specified PollResultSnapshotMessage message. Does not implicitly {@link E2E.Message.PollResultSnapshotMessage.verify|verify} messages.
* @param message PollResultSnapshotMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPollResultSnapshotMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PollResultSnapshotMessage message, length delimited. Does not implicitly {@link E2E.Message.PollResultSnapshotMessage.verify|verify} messages.
* @param message PollResultSnapshotMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPollResultSnapshotMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PollResultSnapshotMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PollResultSnapshotMessage
* @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.Message.PollResultSnapshotMessage;
/**
* Decodes a PollResultSnapshotMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PollResultSnapshotMessage
* @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.Message.PollResultSnapshotMessage;
/**
* Verifies a PollResultSnapshotMessage 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 PollResultSnapshotMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PollResultSnapshotMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollResultSnapshotMessage;
/**
* Creates a plain object from a PollResultSnapshotMessage message. Also converts values to other types if specified.
* @param message PollResultSnapshotMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollResultSnapshotMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PollResultSnapshotMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PollResultSnapshotMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace PollResultSnapshotMessage {
/** Properties of a PollVote. */
interface IPollVote {
/** PollVote optionName */
optionName?: (string|null);
/** PollVote optionVoteCount */
optionVoteCount?: (number|Long|null);
}
/** Represents a PollVote. */
class PollVote implements IPollVote {
/**
* Constructs a new PollVote.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.PollResultSnapshotMessage.IPollVote);
/** PollVote optionName. */
public optionName?: (string|null);
/** PollVote optionVoteCount. */
public optionVoteCount?: (number|Long|null);
/** PollVote _optionName. */
public _optionName?: "optionName";
/** PollVote _optionVoteCount. */
public _optionVoteCount?: "optionVoteCount";
/**
* Creates a new PollVote instance using the specified properties.
* @param [properties] Properties to set
* @returns PollVote instance
*/
public static create(properties?: E2E.Message.PollResultSnapshotMessage.IPollVote): E2E.Message.PollResultSnapshotMessage.PollVote;
/**
* Encodes the specified PollVote message. Does not implicitly {@link E2E.Message.PollResultSnapshotMessage.PollVote.verify|verify} messages.
* @param message PollVote message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.PollResultSnapshotMessage.IPollVote, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PollVote message, length delimited. Does not implicitly {@link E2E.Message.PollResultSnapshotMessage.PollVote.verify|verify} messages.
* @param message PollVote message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.PollResultSnapshotMessage.IPollVote, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PollVote message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PollVote
* @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.Message.PollResultSnapshotMessage.PollVote;
/**
* Decodes a PollVote message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PollVote
* @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.Message.PollResultSnapshotMessage.PollVote;
/**
* Verifies a PollVote 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 PollVote message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PollVote
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollResultSnapshotMessage.PollVote;
/**
* Creates a plain object from a PollVote message. Also converts values to other types if specified.
* @param message PollVote
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollResultSnapshotMessage.PollVote, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PollVote to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PollVote
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a PollUpdateMessage. */
interface IPollUpdateMessage {
/** PollUpdateMessage pollCreationMessageKey */
pollCreationMessageKey?: (Protocol.IMessageKey|null);
/** PollUpdateMessage vote */
vote?: (E2E.Message.IPollEncValue|null);
/** PollUpdateMessage metadata */
metadata?: (E2E.Message.IPollUpdateMessageMetadata|null);
/** PollUpdateMessage senderTimestampMs */
senderTimestampMs?: (number|Long|null);
}
/** Represents a PollUpdateMessage. */
class PollUpdateMessage implements IPollUpdateMessage {
/**
* Constructs a new PollUpdateMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPollUpdateMessage);
/** PollUpdateMessage pollCreationMessageKey. */
public pollCreationMessageKey?: (Protocol.IMessageKey|null);
/** PollUpdateMessage vote. */
public vote?: (E2E.Message.IPollEncValue|null);
/** PollUpdateMessage metadata. */
public metadata?: (E2E.Message.IPollUpdateMessageMetadata|null);
/** PollUpdateMessage senderTimestampMs. */
public senderTimestampMs?: (number|Long|null);
/** PollUpdateMessage _pollCreationMessageKey. */
public _pollCreationMessageKey?: "pollCreationMessageKey";
/** PollUpdateMessage _vote. */
public _vote?: "vote";
/** PollUpdateMessage _metadata. */
public _metadata?: "metadata";
/** PollUpdateMessage _senderTimestampMs. */
public _senderTimestampMs?: "senderTimestampMs";
/**
* Creates a new PollUpdateMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PollUpdateMessage instance
*/
public static create(properties?: E2E.Message.IPollUpdateMessage): E2E.Message.PollUpdateMessage;
/**
* Encodes the specified PollUpdateMessage message. Does not implicitly {@link E2E.Message.PollUpdateMessage.verify|verify} messages.
* @param message PollUpdateMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPollUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PollUpdateMessage message, length delimited. Does not implicitly {@link E2E.Message.PollUpdateMessage.verify|verify} messages.
* @param message PollUpdateMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPollUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PollUpdateMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PollUpdateMessage
* @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.Message.PollUpdateMessage;
/**
* Decodes a PollUpdateMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PollUpdateMessage
* @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.Message.PollUpdateMessage;
/**
* Verifies a PollUpdateMessage 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 PollUpdateMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PollUpdateMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollUpdateMessage;
/**
* Creates a plain object from a PollUpdateMessage message. Also converts values to other types if specified.
* @param message PollUpdateMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollUpdateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PollUpdateMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PollUpdateMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PollUpdateMessageMetadata. */
interface IPollUpdateMessageMetadata {
}
/** Represents a PollUpdateMessageMetadata. */
class PollUpdateMessageMetadata implements IPollUpdateMessageMetadata {
/**
* Constructs a new PollUpdateMessageMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPollUpdateMessageMetadata);
/**
* Creates a new PollUpdateMessageMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns PollUpdateMessageMetadata instance
*/
public static create(properties?: E2E.Message.IPollUpdateMessageMetadata): E2E.Message.PollUpdateMessageMetadata;
/**
* Encodes the specified PollUpdateMessageMetadata message. Does not implicitly {@link E2E.Message.PollUpdateMessageMetadata.verify|verify} messages.
* @param message PollUpdateMessageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPollUpdateMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PollUpdateMessageMetadata message, length delimited. Does not implicitly {@link E2E.Message.PollUpdateMessageMetadata.verify|verify} messages.
* @param message PollUpdateMessageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPollUpdateMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PollUpdateMessageMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PollUpdateMessageMetadata
* @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.Message.PollUpdateMessageMetadata;
/**
* Decodes a PollUpdateMessageMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PollUpdateMessageMetadata
* @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.Message.PollUpdateMessageMetadata;
/**
* Verifies a PollUpdateMessageMetadata 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 PollUpdateMessageMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PollUpdateMessageMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollUpdateMessageMetadata;
/**
* Creates a plain object from a PollUpdateMessageMetadata message. Also converts values to other types if specified.
* @param message PollUpdateMessageMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollUpdateMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PollUpdateMessageMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PollUpdateMessageMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PollVoteMessage. */
interface IPollVoteMessage {
/** PollVoteMessage selectedOptions */
selectedOptions?: (Uint8Array[]|null);
}
/** Represents a PollVoteMessage. */
class PollVoteMessage implements IPollVoteMessage {
/**
* Constructs a new PollVoteMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IPollVoteMessage);
/** PollVoteMessage selectedOptions. */
public selectedOptions: Uint8Array[];
/**
* Creates a new PollVoteMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns PollVoteMessage instance
*/
public static create(properties?: E2E.Message.IPollVoteMessage): E2E.Message.PollVoteMessage;
/**
* Encodes the specified PollVoteMessage message. Does not implicitly {@link E2E.Message.PollVoteMessage.verify|verify} messages.
* @param message PollVoteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IPollVoteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PollVoteMessage message, length delimited. Does not implicitly {@link E2E.Message.PollVoteMessage.verify|verify} messages.
* @param message PollVoteMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IPollVoteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PollVoteMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PollVoteMessage
* @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.Message.PollVoteMessage;
/**
* Decodes a PollVoteMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PollVoteMessage
* @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.Message.PollVoteMessage;
/**
* Verifies a PollVoteMessage 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 PollVoteMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PollVoteMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.PollVoteMessage;
/**
* Creates a plain object from a PollVoteMessage message. Also converts values to other types if specified.
* @param message PollVoteMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.PollVoteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PollVoteMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PollVoteMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ProductMessage. */
interface IProductMessage {
/** ProductMessage product */
product?: (E2E.Message.ProductMessage.IProductSnapshot|null);
/** ProductMessage businessOwnerJid */
businessOwnerJid?: (string|null);
/** ProductMessage catalog */
catalog?: (E2E.Message.ProductMessage.ICatalogSnapshot|null);
/** ProductMessage body */
body?: (string|null);
/** ProductMessage footer */
footer?: (string|null);
/** ProductMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a ProductMessage. */
class ProductMessage implements IProductMessage {
/**
* Constructs a new ProductMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IProductMessage);
/** ProductMessage product. */
public product?: (E2E.Message.ProductMessage.IProductSnapshot|null);
/** ProductMessage businessOwnerJid. */
public businessOwnerJid?: (string|null);
/** ProductMessage catalog. */
public catalog?: (E2E.Message.ProductMessage.ICatalogSnapshot|null);
/** ProductMessage body. */
public body?: (string|null);
/** ProductMessage footer. */
public footer?: (string|null);
/** ProductMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** ProductMessage _product. */
public _product?: "product";
/** ProductMessage _businessOwnerJid. */
public _businessOwnerJid?: "businessOwnerJid";
/** ProductMessage _catalog. */
public _catalog?: "catalog";
/** ProductMessage _body. */
public _body?: "body";
/** ProductMessage _footer. */
public _footer?: "footer";
/** ProductMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new ProductMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ProductMessage instance
*/
public static create(properties?: E2E.Message.IProductMessage): E2E.Message.ProductMessage;
/**
* Encodes the specified ProductMessage message. Does not implicitly {@link E2E.Message.ProductMessage.verify|verify} messages.
* @param message ProductMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IProductMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProductMessage message, length delimited. Does not implicitly {@link E2E.Message.ProductMessage.verify|verify} messages.
* @param message ProductMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IProductMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProductMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProductMessage
* @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.Message.ProductMessage;
/**
* Decodes a ProductMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProductMessage
* @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.Message.ProductMessage;
/**
* Verifies a ProductMessage 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 ProductMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProductMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ProductMessage;
/**
* Creates a plain object from a ProductMessage message. Also converts values to other types if specified.
* @param message ProductMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ProductMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProductMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProductMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ProductMessage {
/** Properties of a CatalogSnapshot. */
interface ICatalogSnapshot {
/** CatalogSnapshot catalogImage */
catalogImage?: (E2E.Message.IImageMessage|null);
/** CatalogSnapshot title */
title?: (string|null);
/** CatalogSnapshot description */
description?: (string|null);
}
/** Represents a CatalogSnapshot. */
class CatalogSnapshot implements ICatalogSnapshot {
/**
* Constructs a new CatalogSnapshot.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ProductMessage.ICatalogSnapshot);
/** CatalogSnapshot catalogImage. */
public catalogImage?: (E2E.Message.IImageMessage|null);
/** CatalogSnapshot title. */
public title?: (string|null);
/** CatalogSnapshot description. */
public description?: (string|null);
/** CatalogSnapshot _catalogImage. */
public _catalogImage?: "catalogImage";
/** CatalogSnapshot _title. */
public _title?: "title";
/** CatalogSnapshot _description. */
public _description?: "description";
/**
* Creates a new CatalogSnapshot instance using the specified properties.
* @param [properties] Properties to set
* @returns CatalogSnapshot instance
*/
public static create(properties?: E2E.Message.ProductMessage.ICatalogSnapshot): E2E.Message.ProductMessage.CatalogSnapshot;
/**
* Encodes the specified CatalogSnapshot message. Does not implicitly {@link E2E.Message.ProductMessage.CatalogSnapshot.verify|verify} messages.
* @param message CatalogSnapshot message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ProductMessage.ICatalogSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CatalogSnapshot message, length delimited. Does not implicitly {@link E2E.Message.ProductMessage.CatalogSnapshot.verify|verify} messages.
* @param message CatalogSnapshot message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ProductMessage.ICatalogSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CatalogSnapshot message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CatalogSnapshot
* @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.Message.ProductMessage.CatalogSnapshot;
/**
* Decodes a CatalogSnapshot message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CatalogSnapshot
* @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.Message.ProductMessage.CatalogSnapshot;
/**
* Verifies a CatalogSnapshot 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 CatalogSnapshot message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CatalogSnapshot
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ProductMessage.CatalogSnapshot;
/**
* Creates a plain object from a CatalogSnapshot message. Also converts values to other types if specified.
* @param message CatalogSnapshot
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ProductMessage.CatalogSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CatalogSnapshot to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CatalogSnapshot
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ProductSnapshot. */
interface IProductSnapshot {
/** ProductSnapshot productImage */
productImage?: (E2E.Message.IImageMessage|null);
/** ProductSnapshot productId */
productId?: (string|null);
/** ProductSnapshot title */
title?: (string|null);
/** ProductSnapshot description */
description?: (string|null);
/** ProductSnapshot currencyCode */
currencyCode?: (string|null);
/** ProductSnapshot priceAmount1000 */
priceAmount1000?: (number|Long|null);
/** ProductSnapshot retailerId */
retailerId?: (string|null);
/** ProductSnapshot url */
url?: (string|null);
/** ProductSnapshot productImageCount */
productImageCount?: (number|null);
/** ProductSnapshot firstImageId */
firstImageId?: (string|null);
/** ProductSnapshot salePriceAmount1000 */
salePriceAmount1000?: (number|Long|null);
/** ProductSnapshot signedUrl */
signedUrl?: (string|null);
}
/** Represents a ProductSnapshot. */
class ProductSnapshot implements IProductSnapshot {
/**
* Constructs a new ProductSnapshot.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ProductMessage.IProductSnapshot);
/** ProductSnapshot productImage. */
public productImage?: (E2E.Message.IImageMessage|null);
/** ProductSnapshot productId. */
public productId?: (string|null);
/** ProductSnapshot title. */
public title?: (string|null);
/** ProductSnapshot description. */
public description?: (string|null);
/** ProductSnapshot currencyCode. */
public currencyCode?: (string|null);
/** ProductSnapshot priceAmount1000. */
public priceAmount1000?: (number|Long|null);
/** ProductSnapshot retailerId. */
public retailerId?: (string|null);
/** ProductSnapshot url. */
public url?: (string|null);
/** ProductSnapshot productImageCount. */
public productImageCount?: (number|null);
/** ProductSnapshot firstImageId. */
public firstImageId?: (string|null);
/** ProductSnapshot salePriceAmount1000. */
public salePriceAmount1000?: (number|Long|null);
/** ProductSnapshot signedUrl. */
public signedUrl?: (string|null);
/** ProductSnapshot _productImage. */
public _productImage?: "productImage";
/** ProductSnapshot _productId. */
public _productId?: "productId";
/** ProductSnapshot _title. */
public _title?: "title";
/** ProductSnapshot _description. */
public _description?: "description";
/** ProductSnapshot _currencyCode. */
public _currencyCode?: "currencyCode";
/** ProductSnapshot _priceAmount1000. */
public _priceAmount1000?: "priceAmount1000";
/** ProductSnapshot _retailerId. */
public _retailerId?: "retailerId";
/** ProductSnapshot _url. */
public _url?: "url";
/** ProductSnapshot _productImageCount. */
public _productImageCount?: "productImageCount";
/** ProductSnapshot _firstImageId. */
public _firstImageId?: "firstImageId";
/** ProductSnapshot _salePriceAmount1000. */
public _salePriceAmount1000?: "salePriceAmount1000";
/** ProductSnapshot _signedUrl. */
public _signedUrl?: "signedUrl";
/**
* Creates a new ProductSnapshot instance using the specified properties.
* @param [properties] Properties to set
* @returns ProductSnapshot instance
*/
public static create(properties?: E2E.Message.ProductMessage.IProductSnapshot): E2E.Message.ProductMessage.ProductSnapshot;
/**
* Encodes the specified ProductSnapshot message. Does not implicitly {@link E2E.Message.ProductMessage.ProductSnapshot.verify|verify} messages.
* @param message ProductSnapshot message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ProductMessage.IProductSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProductSnapshot message, length delimited. Does not implicitly {@link E2E.Message.ProductMessage.ProductSnapshot.verify|verify} messages.
* @param message ProductSnapshot message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ProductMessage.IProductSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProductSnapshot message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProductSnapshot
* @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.Message.ProductMessage.ProductSnapshot;
/**
* Decodes a ProductSnapshot message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProductSnapshot
* @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.Message.ProductMessage.ProductSnapshot;
/**
* Verifies a ProductSnapshot 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 ProductSnapshot message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProductSnapshot
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ProductMessage.ProductSnapshot;
/**
* Creates a plain object from a ProductSnapshot message. Also converts values to other types if specified.
* @param message ProductSnapshot
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ProductMessage.ProductSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProductSnapshot to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProductSnapshot
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a ProtocolMessage. */
interface IProtocolMessage {
/** ProtocolMessage key */
key?: (Protocol.IMessageKey|null);
/** ProtocolMessage type */
type?: (E2E.Message.ProtocolMessage.Type|null);
/** ProtocolMessage ephemeralExpiration */
ephemeralExpiration?: (number|null);
/** ProtocolMessage ephemeralSettingTimestamp */
ephemeralSettingTimestamp?: (number|Long|null);
/** ProtocolMessage historySyncNotification */
historySyncNotification?: (E2E.Message.IHistorySyncNotification|null);
/** ProtocolMessage appStateSyncKeyShare */
appStateSyncKeyShare?: (E2E.Message.IAppStateSyncKeyShare|null);
/** ProtocolMessage appStateSyncKeyRequest */
appStateSyncKeyRequest?: (E2E.Message.IAppStateSyncKeyRequest|null);
/** ProtocolMessage initialSecurityNotificationSettingSync */
initialSecurityNotificationSettingSync?: (E2E.Message.IInitialSecurityNotificationSettingSync|null);
/** ProtocolMessage appStateFatalExceptionNotification */
appStateFatalExceptionNotification?: (E2E.Message.IAppStateFatalExceptionNotification|null);
/** ProtocolMessage disappearingMode */
disappearingMode?: (E2E.IDisappearingMode|null);
/** ProtocolMessage editedMessage */
editedMessage?: (E2E.IMessage|null);
/** ProtocolMessage timestampMs */
timestampMs?: (number|Long|null);
/** ProtocolMessage peerDataOperationRequestMessage */
peerDataOperationRequestMessage?: (E2E.Message.IPeerDataOperationRequestMessage|null);
/** ProtocolMessage peerDataOperationRequestResponseMessage */
peerDataOperationRequestResponseMessage?: (E2E.Message.IPeerDataOperationRequestResponseMessage|null);
/** ProtocolMessage botFeedbackMessage */
botFeedbackMessage?: (E2E.Message.IBotFeedbackMessage|null);
/** ProtocolMessage invokerJid */
invokerJid?: (string|null);
/** ProtocolMessage requestWelcomeMessageMetadata */
requestWelcomeMessageMetadata?: (E2E.Message.IRequestWelcomeMessageMetadata|null);
/** ProtocolMessage mediaNotifyMessage */
mediaNotifyMessage?: (E2E.IMediaNotifyMessage|null);
/** ProtocolMessage cloudApiThreadControlNotification */
cloudApiThreadControlNotification?: (E2E.Message.ICloudAPIThreadControlNotification|null);
/** ProtocolMessage lidMigrationMappingSyncMessage */
lidMigrationMappingSyncMessage?: (E2E.ILIDMigrationMappingSyncMessage|null);
/** ProtocolMessage limitSharing */
limitSharing?: (Protocol.ILimitSharing|null);
/** ProtocolMessage aiPsiMetadata */
aiPsiMetadata?: (Uint8Array|null);
/** ProtocolMessage aiQueryFanout */
aiQueryFanout?: (E2E.IAIQueryFanout|null);
/** ProtocolMessage memberLabel */
memberLabel?: (E2E.IMemberLabel|null);
}
/** Represents a ProtocolMessage. */
class ProtocolMessage implements IProtocolMessage {
/**
* Constructs a new ProtocolMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IProtocolMessage);
/** ProtocolMessage key. */
public key?: (Protocol.IMessageKey|null);
/** ProtocolMessage type. */
public type?: (E2E.Message.ProtocolMessage.Type|null);
/** ProtocolMessage ephemeralExpiration. */
public ephemeralExpiration?: (number|null);
/** ProtocolMessage ephemeralSettingTimestamp. */
public ephemeralSettingTimestamp?: (number|Long|null);
/** ProtocolMessage historySyncNotification. */
public historySyncNotification?: (E2E.Message.IHistorySyncNotification|null);
/** ProtocolMessage appStateSyncKeyShare. */
public appStateSyncKeyShare?: (E2E.Message.IAppStateSyncKeyShare|null);
/** ProtocolMessage appStateSyncKeyRequest. */
public appStateSyncKeyRequest?: (E2E.Message.IAppStateSyncKeyRequest|null);
/** ProtocolMessage initialSecurityNotificationSettingSync. */
public initialSecurityNotificationSettingSync?: (E2E.Message.IInitialSecurityNotificationSettingSync|null);
/** ProtocolMessage appStateFatalExceptionNotification. */
public appStateFatalExceptionNotification?: (E2E.Message.IAppStateFatalExceptionNotification|null);
/** ProtocolMessage disappearingMode. */
public disappearingMode?: (E2E.IDisappearingMode|null);
/** ProtocolMessage editedMessage. */
public editedMessage?: (E2E.IMessage|null);
/** ProtocolMessage timestampMs. */
public timestampMs?: (number|Long|null);
/** ProtocolMessage peerDataOperationRequestMessage. */
public peerDataOperationRequestMessage?: (E2E.Message.IPeerDataOperationRequestMessage|null);
/** ProtocolMessage peerDataOperationRequestResponseMessage. */
public peerDataOperationRequestResponseMessage?: (E2E.Message.IPeerDataOperationRequestResponseMessage|null);
/** ProtocolMessage botFeedbackMessage. */
public botFeedbackMessage?: (E2E.Message.IBotFeedbackMessage|null);
/** ProtocolMessage invokerJid. */
public invokerJid?: (string|null);
/** ProtocolMessage requestWelcomeMessageMetadata. */
public requestWelcomeMessageMetadata?: (E2E.Message.IRequestWelcomeMessageMetadata|null);
/** ProtocolMessage mediaNotifyMessage. */
public mediaNotifyMessage?: (E2E.IMediaNotifyMessage|null);
/** ProtocolMessage cloudApiThreadControlNotification. */
public cloudApiThreadControlNotification?: (E2E.Message.ICloudAPIThreadControlNotification|null);
/** ProtocolMessage lidMigrationMappingSyncMessage. */
public lidMigrationMappingSyncMessage?: (E2E.ILIDMigrationMappingSyncMessage|null);
/** ProtocolMessage limitSharing. */
public limitSharing?: (Protocol.ILimitSharing|null);
/** ProtocolMessage aiPsiMetadata. */
public aiPsiMetadata?: (Uint8Array|null);
/** ProtocolMessage aiQueryFanout. */
public aiQueryFanout?: (E2E.IAIQueryFanout|null);
/** ProtocolMessage memberLabel. */
public memberLabel?: (E2E.IMemberLabel|null);
/** ProtocolMessage _key. */
public _key?: "key";
/** ProtocolMessage _type. */
public _type?: "type";
/** ProtocolMessage _ephemeralExpiration. */
public _ephemeralExpiration?: "ephemeralExpiration";
/** ProtocolMessage _ephemeralSettingTimestamp. */
public _ephemeralSettingTimestamp?: "ephemeralSettingTimestamp";
/** ProtocolMessage _historySyncNotification. */
public _historySyncNotification?: "historySyncNotification";
/** ProtocolMessage _appStateSyncKeyShare. */
public _appStateSyncKeyShare?: "appStateSyncKeyShare";
/** ProtocolMessage _appStateSyncKeyRequest. */
public _appStateSyncKeyRequest?: "appStateSyncKeyRequest";
/** ProtocolMessage _initialSecurityNotificationSettingSync. */
public _initialSecurityNotificationSettingSync?: "initialSecurityNotificationSettingSync";
/** ProtocolMessage _appStateFatalExceptionNotification. */
public _appStateFatalExceptionNotification?: "appStateFatalExceptionNotification";
/** ProtocolMessage _disappearingMode. */
public _disappearingMode?: "disappearingMode";
/** ProtocolMessage _editedMessage. */
public _editedMessage?: "editedMessage";
/** ProtocolMessage _timestampMs. */
public _timestampMs?: "timestampMs";
/** ProtocolMessage _peerDataOperationRequestMessage. */
public _peerDataOperationRequestMessage?: "peerDataOperationRequestMessage";
/** ProtocolMessage _peerDataOperationRequestResponseMessage. */
public _peerDataOperationRequestResponseMessage?: "peerDataOperationRequestResponseMessage";
/** ProtocolMessage _botFeedbackMessage. */
public _botFeedbackMessage?: "botFeedbackMessage";
/** ProtocolMessage _invokerJid. */
public _invokerJid?: "invokerJid";
/** ProtocolMessage _requestWelcomeMessageMetadata. */
public _requestWelcomeMessageMetadata?: "requestWelcomeMessageMetadata";
/** ProtocolMessage _mediaNotifyMessage. */
public _mediaNotifyMessage?: "mediaNotifyMessage";
/** ProtocolMessage _cloudApiThreadControlNotification. */
public _cloudApiThreadControlNotification?: "cloudApiThreadControlNotification";
/** ProtocolMessage _lidMigrationMappingSyncMessage. */
public _lidMigrationMappingSyncMessage?: "lidMigrationMappingSyncMessage";
/** ProtocolMessage _limitSharing. */
public _limitSharing?: "limitSharing";
/** ProtocolMessage _aiPsiMetadata. */
public _aiPsiMetadata?: "aiPsiMetadata";
/** ProtocolMessage _aiQueryFanout. */
public _aiQueryFanout?: "aiQueryFanout";
/** ProtocolMessage _memberLabel. */
public _memberLabel?: "memberLabel";
/**
* Creates a new ProtocolMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ProtocolMessage instance
*/
public static create(properties?: E2E.Message.IProtocolMessage): E2E.Message.ProtocolMessage;
/**
* Encodes the specified ProtocolMessage message. Does not implicitly {@link E2E.Message.ProtocolMessage.verify|verify} messages.
* @param message ProtocolMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IProtocolMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProtocolMessage message, length delimited. Does not implicitly {@link E2E.Message.ProtocolMessage.verify|verify} messages.
* @param message ProtocolMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IProtocolMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProtocolMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProtocolMessage
* @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.Message.ProtocolMessage;
/**
* Decodes a ProtocolMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProtocolMessage
* @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.Message.ProtocolMessage;
/**
* Verifies a ProtocolMessage 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 ProtocolMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProtocolMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ProtocolMessage;
/**
* Creates a plain object from a ProtocolMessage message. Also converts values to other types if specified.
* @param message ProtocolMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ProtocolMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProtocolMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProtocolMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ProtocolMessage {
/** Type enum. */
enum Type {
REVOKE = 0,
EPHEMERAL_SETTING = 3,
EPHEMERAL_SYNC_RESPONSE = 4,
HISTORY_SYNC_NOTIFICATION = 5,
APP_STATE_SYNC_KEY_SHARE = 6,
APP_STATE_SYNC_KEY_REQUEST = 7,
MSG_FANOUT_BACKFILL_REQUEST = 8,
INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9,
APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10,
SHARE_PHONE_NUMBER = 11,
MESSAGE_EDIT = 14,
PEER_DATA_OPERATION_REQUEST_MESSAGE = 16,
PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17,
REQUEST_WELCOME_MESSAGE = 18,
BOT_FEEDBACK_MESSAGE = 19,
MEDIA_NOTIFY_MESSAGE = 20,
CLOUD_API_THREAD_CONTROL_NOTIFICATION = 21,
LID_MIGRATION_MAPPING_SYNC = 22,
REMINDER_MESSAGE = 23,
BOT_MEMU_ONBOARDING_MESSAGE = 24,
STATUS_MENTION_MESSAGE = 25,
STOP_GENERATION_MESSAGE = 26,
LIMIT_SHARING = 27,
AI_PSI_METADATA = 28,
AI_QUERY_FANOUT = 29,
GROUP_MEMBER_LABEL_CHANGE = 30
}
}
/** Properties of a ReactionMessage. */
interface IReactionMessage {
/** ReactionMessage key */
key?: (Protocol.IMessageKey|null);
/** ReactionMessage text */
text?: (string|null);
/** ReactionMessage groupingKey */
groupingKey?: (string|null);
/** ReactionMessage senderTimestampMs */
senderTimestampMs?: (number|Long|null);
}
/** Represents a ReactionMessage. */
class ReactionMessage implements IReactionMessage {
/**
* Constructs a new ReactionMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IReactionMessage);
/** ReactionMessage key. */
public key?: (Protocol.IMessageKey|null);
/** ReactionMessage text. */
public text?: (string|null);
/** ReactionMessage groupingKey. */
public groupingKey?: (string|null);
/** ReactionMessage senderTimestampMs. */
public senderTimestampMs?: (number|Long|null);
/** ReactionMessage _key. */
public _key?: "key";
/** ReactionMessage _text. */
public _text?: "text";
/** ReactionMessage _groupingKey. */
public _groupingKey?: "groupingKey";
/** ReactionMessage _senderTimestampMs. */
public _senderTimestampMs?: "senderTimestampMs";
/**
* Creates a new ReactionMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ReactionMessage instance
*/
public static create(properties?: E2E.Message.IReactionMessage): E2E.Message.ReactionMessage;
/**
* Encodes the specified ReactionMessage message. Does not implicitly {@link E2E.Message.ReactionMessage.verify|verify} messages.
* @param message ReactionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ReactionMessage message, length delimited. Does not implicitly {@link E2E.Message.ReactionMessage.verify|verify} messages.
* @param message ReactionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ReactionMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ReactionMessage
* @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.Message.ReactionMessage;
/**
* Decodes a ReactionMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ReactionMessage
* @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.Message.ReactionMessage;
/**
* Verifies a ReactionMessage 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 ReactionMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ReactionMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ReactionMessage;
/**
* Creates a plain object from a ReactionMessage message. Also converts values to other types if specified.
* @param message ReactionMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ReactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ReactionMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ReactionMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a RequestPaymentMessage. */
interface IRequestPaymentMessage {
/** RequestPaymentMessage noteMessage */
noteMessage?: (E2E.IMessage|null);
/** RequestPaymentMessage currencyCodeIso4217 */
currencyCodeIso4217?: (string|null);
/** RequestPaymentMessage amount1000 */
amount1000?: (number|Long|null);
/** RequestPaymentMessage requestFrom */
requestFrom?: (string|null);
/** RequestPaymentMessage expiryTimestamp */
expiryTimestamp?: (number|Long|null);
/** RequestPaymentMessage amount */
amount?: (E2E.IMoney|null);
/** RequestPaymentMessage background */
background?: (E2E.IPaymentBackground|null);
}
/** Represents a RequestPaymentMessage. */
class RequestPaymentMessage implements IRequestPaymentMessage {
/**
* Constructs a new RequestPaymentMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IRequestPaymentMessage);
/** RequestPaymentMessage noteMessage. */
public noteMessage?: (E2E.IMessage|null);
/** RequestPaymentMessage currencyCodeIso4217. */
public currencyCodeIso4217?: (string|null);
/** RequestPaymentMessage amount1000. */
public amount1000?: (number|Long|null);
/** RequestPaymentMessage requestFrom. */
public requestFrom?: (string|null);
/** RequestPaymentMessage expiryTimestamp. */
public expiryTimestamp?: (number|Long|null);
/** RequestPaymentMessage amount. */
public amount?: (E2E.IMoney|null);
/** RequestPaymentMessage background. */
public background?: (E2E.IPaymentBackground|null);
/** RequestPaymentMessage _noteMessage. */
public _noteMessage?: "noteMessage";
/** RequestPaymentMessage _currencyCodeIso4217. */
public _currencyCodeIso4217?: "currencyCodeIso4217";
/** RequestPaymentMessage _amount1000. */
public _amount1000?: "amount1000";
/** RequestPaymentMessage _requestFrom. */
public _requestFrom?: "requestFrom";
/** RequestPaymentMessage _expiryTimestamp. */
public _expiryTimestamp?: "expiryTimestamp";
/** RequestPaymentMessage _amount. */
public _amount?: "amount";
/** RequestPaymentMessage _background. */
public _background?: "background";
/**
* Creates a new RequestPaymentMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns RequestPaymentMessage instance
*/
public static create(properties?: E2E.Message.IRequestPaymentMessage): E2E.Message.RequestPaymentMessage;
/**
* Encodes the specified RequestPaymentMessage message. Does not implicitly {@link E2E.Message.RequestPaymentMessage.verify|verify} messages.
* @param message RequestPaymentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IRequestPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified RequestPaymentMessage message, length delimited. Does not implicitly {@link E2E.Message.RequestPaymentMessage.verify|verify} messages.
* @param message RequestPaymentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IRequestPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a RequestPaymentMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns RequestPaymentMessage
* @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.Message.RequestPaymentMessage;
/**
* Decodes a RequestPaymentMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns RequestPaymentMessage
* @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.Message.RequestPaymentMessage;
/**
* Verifies a RequestPaymentMessage 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 RequestPaymentMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns RequestPaymentMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.RequestPaymentMessage;
/**
* Creates a plain object from a RequestPaymentMessage message. Also converts values to other types if specified.
* @param message RequestPaymentMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.RequestPaymentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this RequestPaymentMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for RequestPaymentMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a RequestPhoneNumberMessage. */
interface IRequestPhoneNumberMessage {
/** RequestPhoneNumberMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
}
/** Represents a RequestPhoneNumberMessage. */
class RequestPhoneNumberMessage implements IRequestPhoneNumberMessage {
/**
* Constructs a new RequestPhoneNumberMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IRequestPhoneNumberMessage);
/** RequestPhoneNumberMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** RequestPhoneNumberMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/**
* Creates a new RequestPhoneNumberMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns RequestPhoneNumberMessage instance
*/
public static create(properties?: E2E.Message.IRequestPhoneNumberMessage): E2E.Message.RequestPhoneNumberMessage;
/**
* Encodes the specified RequestPhoneNumberMessage message. Does not implicitly {@link E2E.Message.RequestPhoneNumberMessage.verify|verify} messages.
* @param message RequestPhoneNumberMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IRequestPhoneNumberMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified RequestPhoneNumberMessage message, length delimited. Does not implicitly {@link E2E.Message.RequestPhoneNumberMessage.verify|verify} messages.
* @param message RequestPhoneNumberMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IRequestPhoneNumberMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a RequestPhoneNumberMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns RequestPhoneNumberMessage
* @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.Message.RequestPhoneNumberMessage;
/**
* Decodes a RequestPhoneNumberMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns RequestPhoneNumberMessage
* @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.Message.RequestPhoneNumberMessage;
/**
* Verifies a RequestPhoneNumberMessage 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 RequestPhoneNumberMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns RequestPhoneNumberMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.RequestPhoneNumberMessage;
/**
* Creates a plain object from a RequestPhoneNumberMessage message. Also converts values to other types if specified.
* @param message RequestPhoneNumberMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.RequestPhoneNumberMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this RequestPhoneNumberMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for RequestPhoneNumberMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a RequestWelcomeMessageMetadata. */
interface IRequestWelcomeMessageMetadata {
/** RequestWelcomeMessageMetadata localChatState */
localChatState?: (E2E.Message.RequestWelcomeMessageMetadata.LocalChatState|null);
}
/** Represents a RequestWelcomeMessageMetadata. */
class RequestWelcomeMessageMetadata implements IRequestWelcomeMessageMetadata {
/**
* Constructs a new RequestWelcomeMessageMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IRequestWelcomeMessageMetadata);
/** RequestWelcomeMessageMetadata localChatState. */
public localChatState?: (E2E.Message.RequestWelcomeMessageMetadata.LocalChatState|null);
/** RequestWelcomeMessageMetadata _localChatState. */
public _localChatState?: "localChatState";
/**
* Creates a new RequestWelcomeMessageMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns RequestWelcomeMessageMetadata instance
*/
public static create(properties?: E2E.Message.IRequestWelcomeMessageMetadata): E2E.Message.RequestWelcomeMessageMetadata;
/**
* Encodes the specified RequestWelcomeMessageMetadata message. Does not implicitly {@link E2E.Message.RequestWelcomeMessageMetadata.verify|verify} messages.
* @param message RequestWelcomeMessageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IRequestWelcomeMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified RequestWelcomeMessageMetadata message, length delimited. Does not implicitly {@link E2E.Message.RequestWelcomeMessageMetadata.verify|verify} messages.
* @param message RequestWelcomeMessageMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IRequestWelcomeMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a RequestWelcomeMessageMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns RequestWelcomeMessageMetadata
* @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.Message.RequestWelcomeMessageMetadata;
/**
* Decodes a RequestWelcomeMessageMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns RequestWelcomeMessageMetadata
* @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.Message.RequestWelcomeMessageMetadata;
/**
* Verifies a RequestWelcomeMessageMetadata 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 RequestWelcomeMessageMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns RequestWelcomeMessageMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.RequestWelcomeMessageMetadata;
/**
* Creates a plain object from a RequestWelcomeMessageMetadata message. Also converts values to other types if specified.
* @param message RequestWelcomeMessageMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.RequestWelcomeMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this RequestWelcomeMessageMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for RequestWelcomeMessageMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace RequestWelcomeMessageMetadata {
/** LocalChatState enum. */
enum LocalChatState {
EMPTY = 0,
NON_EMPTY = 1
}
}
/** Properties of a ScheduledCallCreationMessage. */
interface IScheduledCallCreationMessage {
/** ScheduledCallCreationMessage scheduledTimestampMs */
scheduledTimestampMs?: (number|Long|null);
/** ScheduledCallCreationMessage callType */
callType?: (E2E.Message.ScheduledCallCreationMessage.CallType|null);
/** ScheduledCallCreationMessage title */
title?: (string|null);
}
/** Represents a ScheduledCallCreationMessage. */
class ScheduledCallCreationMessage implements IScheduledCallCreationMessage {
/**
* Constructs a new ScheduledCallCreationMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IScheduledCallCreationMessage);
/** ScheduledCallCreationMessage scheduledTimestampMs. */
public scheduledTimestampMs?: (number|Long|null);
/** ScheduledCallCreationMessage callType. */
public callType?: (E2E.Message.ScheduledCallCreationMessage.CallType|null);
/** ScheduledCallCreationMessage title. */
public title?: (string|null);
/** ScheduledCallCreationMessage _scheduledTimestampMs. */
public _scheduledTimestampMs?: "scheduledTimestampMs";
/** ScheduledCallCreationMessage _callType. */
public _callType?: "callType";
/** ScheduledCallCreationMessage _title. */
public _title?: "title";
/**
* Creates a new ScheduledCallCreationMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ScheduledCallCreationMessage instance
*/
public static create(properties?: E2E.Message.IScheduledCallCreationMessage): E2E.Message.ScheduledCallCreationMessage;
/**
* Encodes the specified ScheduledCallCreationMessage message. Does not implicitly {@link E2E.Message.ScheduledCallCreationMessage.verify|verify} messages.
* @param message ScheduledCallCreationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IScheduledCallCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ScheduledCallCreationMessage message, length delimited. Does not implicitly {@link E2E.Message.ScheduledCallCreationMessage.verify|verify} messages.
* @param message ScheduledCallCreationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IScheduledCallCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ScheduledCallCreationMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ScheduledCallCreationMessage
* @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.Message.ScheduledCallCreationMessage;
/**
* Decodes a ScheduledCallCreationMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ScheduledCallCreationMessage
* @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.Message.ScheduledCallCreationMessage;
/**
* Verifies a ScheduledCallCreationMessage 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 ScheduledCallCreationMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ScheduledCallCreationMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ScheduledCallCreationMessage;
/**
* Creates a plain object from a ScheduledCallCreationMessage message. Also converts values to other types if specified.
* @param message ScheduledCallCreationMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ScheduledCallCreationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ScheduledCallCreationMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ScheduledCallCreationMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ScheduledCallCreationMessage {
/** CallType enum. */
enum CallType {
UNKNOWN = 0,
VOICE = 1,
VIDEO = 2
}
}
/** Properties of a ScheduledCallEditMessage. */
interface IScheduledCallEditMessage {
/** ScheduledCallEditMessage key */
key?: (Protocol.IMessageKey|null);
/** ScheduledCallEditMessage editType */
editType?: (E2E.Message.ScheduledCallEditMessage.EditType|null);
}
/** Represents a ScheduledCallEditMessage. */
class ScheduledCallEditMessage implements IScheduledCallEditMessage {
/**
* Constructs a new ScheduledCallEditMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IScheduledCallEditMessage);
/** ScheduledCallEditMessage key. */
public key?: (Protocol.IMessageKey|null);
/** ScheduledCallEditMessage editType. */
public editType?: (E2E.Message.ScheduledCallEditMessage.EditType|null);
/** ScheduledCallEditMessage _key. */
public _key?: "key";
/** ScheduledCallEditMessage _editType. */
public _editType?: "editType";
/**
* Creates a new ScheduledCallEditMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns ScheduledCallEditMessage instance
*/
public static create(properties?: E2E.Message.IScheduledCallEditMessage): E2E.Message.ScheduledCallEditMessage;
/**
* Encodes the specified ScheduledCallEditMessage message. Does not implicitly {@link E2E.Message.ScheduledCallEditMessage.verify|verify} messages.
* @param message ScheduledCallEditMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IScheduledCallEditMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ScheduledCallEditMessage message, length delimited. Does not implicitly {@link E2E.Message.ScheduledCallEditMessage.verify|verify} messages.
* @param message ScheduledCallEditMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IScheduledCallEditMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ScheduledCallEditMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ScheduledCallEditMessage
* @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.Message.ScheduledCallEditMessage;
/**
* Decodes a ScheduledCallEditMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ScheduledCallEditMessage
* @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.Message.ScheduledCallEditMessage;
/**
* Verifies a ScheduledCallEditMessage 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 ScheduledCallEditMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ScheduledCallEditMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.ScheduledCallEditMessage;
/**
* Creates a plain object from a ScheduledCallEditMessage message. Also converts values to other types if specified.
* @param message ScheduledCallEditMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.ScheduledCallEditMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ScheduledCallEditMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ScheduledCallEditMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ScheduledCallEditMessage {
/** EditType enum. */
enum EditType {
UNKNOWN = 0,
CANCEL = 1
}
}
/** Properties of a SecretEncryptedMessage. */
interface ISecretEncryptedMessage {
/** SecretEncryptedMessage targetMessageKey */
targetMessageKey?: (Protocol.IMessageKey|null);
/** SecretEncryptedMessage encPayload */
encPayload?: (Uint8Array|null);
/** SecretEncryptedMessage encIv */
encIv?: (Uint8Array|null);
/** SecretEncryptedMessage secretEncType */
secretEncType?: (E2E.Message.SecretEncryptedMessage.SecretEncType|null);
}
/** Represents a SecretEncryptedMessage. */
class SecretEncryptedMessage implements ISecretEncryptedMessage {
/**
* Constructs a new SecretEncryptedMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ISecretEncryptedMessage);
/** SecretEncryptedMessage targetMessageKey. */
public targetMessageKey?: (Protocol.IMessageKey|null);
/** SecretEncryptedMessage encPayload. */
public encPayload?: (Uint8Array|null);
/** SecretEncryptedMessage encIv. */
public encIv?: (Uint8Array|null);
/** SecretEncryptedMessage secretEncType. */
public secretEncType?: (E2E.Message.SecretEncryptedMessage.SecretEncType|null);
/** SecretEncryptedMessage _targetMessageKey. */
public _targetMessageKey?: "targetMessageKey";
/** SecretEncryptedMessage _encPayload. */
public _encPayload?: "encPayload";
/** SecretEncryptedMessage _encIv. */
public _encIv?: "encIv";
/** SecretEncryptedMessage _secretEncType. */
public _secretEncType?: "secretEncType";
/**
* Creates a new SecretEncryptedMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns SecretEncryptedMessage instance
*/
public static create(properties?: E2E.Message.ISecretEncryptedMessage): E2E.Message.SecretEncryptedMessage;
/**
* Encodes the specified SecretEncryptedMessage message. Does not implicitly {@link E2E.Message.SecretEncryptedMessage.verify|verify} messages.
* @param message SecretEncryptedMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ISecretEncryptedMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified SecretEncryptedMessage message, length delimited. Does not implicitly {@link E2E.Message.SecretEncryptedMessage.verify|verify} messages.
* @param message SecretEncryptedMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ISecretEncryptedMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a SecretEncryptedMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns SecretEncryptedMessage
* @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.Message.SecretEncryptedMessage;
/**
* Decodes a SecretEncryptedMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns SecretEncryptedMessage
* @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.Message.SecretEncryptedMessage;
/**
* Verifies a SecretEncryptedMessage 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 SecretEncryptedMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns SecretEncryptedMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.SecretEncryptedMessage;
/**
* Creates a plain object from a SecretEncryptedMessage message. Also converts values to other types if specified.
* @param message SecretEncryptedMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.SecretEncryptedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this SecretEncryptedMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for SecretEncryptedMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace SecretEncryptedMessage {
/** SecretEncType enum. */
enum SecretEncType {
UNKNOWN = 0,
EVENT_EDIT = 1,
MESSAGE_EDIT = 2
}
}
/** Properties of a SendPaymentMessage. */
interface ISendPaymentMessage {
/** SendPaymentMessage noteMessage */
noteMessage?: (E2E.IMessage|null);
/** SendPaymentMessage requestMessageKey */
requestMessageKey?: (Protocol.IMessageKey|null);
/** SendPaymentMessage background */
background?: (E2E.IPaymentBackground|null);
}
/** Represents a SendPaymentMessage. */
class SendPaymentMessage implements ISendPaymentMessage {
/**
* Constructs a new SendPaymentMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ISendPaymentMessage);
/** SendPaymentMessage noteMessage. */
public noteMessage?: (E2E.IMessage|null);
/** SendPaymentMessage requestMessageKey. */
public requestMessageKey?: (Protocol.IMessageKey|null);
/** SendPaymentMessage background. */
public background?: (E2E.IPaymentBackground|null);
/** SendPaymentMessage _noteMessage. */
public _noteMessage?: "noteMessage";
/** SendPaymentMessage _requestMessageKey. */
public _requestMessageKey?: "requestMessageKey";
/** SendPaymentMessage _background. */
public _background?: "background";
/**
* Creates a new SendPaymentMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns SendPaymentMessage instance
*/
public static create(properties?: E2E.Message.ISendPaymentMessage): E2E.Message.SendPaymentMessage;
/**
* Encodes the specified SendPaymentMessage message. Does not implicitly {@link E2E.Message.SendPaymentMessage.verify|verify} messages.
* @param message SendPaymentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ISendPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified SendPaymentMessage message, length delimited. Does not implicitly {@link E2E.Message.SendPaymentMessage.verify|verify} messages.
* @param message SendPaymentMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ISendPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a SendPaymentMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns SendPaymentMessage
* @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.Message.SendPaymentMessage;
/**
* Decodes a SendPaymentMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns SendPaymentMessage
* @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.Message.SendPaymentMessage;
/**
* Verifies a SendPaymentMessage 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 SendPaymentMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns SendPaymentMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.SendPaymentMessage;
/**
* Creates a plain object from a SendPaymentMessage message. Also converts values to other types if specified.
* @param message SendPaymentMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.SendPaymentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this SendPaymentMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for SendPaymentMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a SenderKeyDistributionMessage. */
interface ISenderKeyDistributionMessage {
/** SenderKeyDistributionMessage groupId */
groupId?: (string|null);
/** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage */
axolotlSenderKeyDistributionMessage?: (Uint8Array|null);
}
/** Represents a SenderKeyDistributionMessage. */
class SenderKeyDistributionMessage implements ISenderKeyDistributionMessage {
/**
* Constructs a new SenderKeyDistributionMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ISenderKeyDistributionMessage);
/** SenderKeyDistributionMessage groupId. */
public groupId?: (string|null);
/** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage. */
public axolotlSenderKeyDistributionMessage?: (Uint8Array|null);
/** SenderKeyDistributionMessage _groupId. */
public _groupId?: "groupId";
/** SenderKeyDistributionMessage _axolotlSenderKeyDistributionMessage. */
public _axolotlSenderKeyDistributionMessage?: "axolotlSenderKeyDistributionMessage";
/**
* Creates a new SenderKeyDistributionMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns SenderKeyDistributionMessage instance
*/
public static create(properties?: E2E.Message.ISenderKeyDistributionMessage): E2E.Message.SenderKeyDistributionMessage;
/**
* Encodes the specified SenderKeyDistributionMessage message. Does not implicitly {@link E2E.Message.SenderKeyDistributionMessage.verify|verify} messages.
* @param message SenderKeyDistributionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified SenderKeyDistributionMessage message, length delimited. Does not implicitly {@link E2E.Message.SenderKeyDistributionMessage.verify|verify} messages.
* @param message SenderKeyDistributionMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a SenderKeyDistributionMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns SenderKeyDistributionMessage
* @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.Message.SenderKeyDistributionMessage;
/**
* Decodes a SenderKeyDistributionMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns SenderKeyDistributionMessage
* @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.Message.SenderKeyDistributionMessage;
/**
* Verifies a SenderKeyDistributionMessage 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 SenderKeyDistributionMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns SenderKeyDistributionMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.SenderKeyDistributionMessage;
/**
* Creates a plain object from a SenderKeyDistributionMessage message. Also converts values to other types if specified.
* @param message SenderKeyDistributionMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.SenderKeyDistributionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this SenderKeyDistributionMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for SenderKeyDistributionMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a StatusNotificationMessage. */
interface IStatusNotificationMessage {
/** StatusNotificationMessage responseMessageKey */
responseMessageKey?: (Protocol.IMessageKey|null);
/** StatusNotificationMessage originalMessageKey */
originalMessageKey?: (Protocol.IMessageKey|null);
/** StatusNotificationMessage type */
type?: (E2E.Message.StatusNotificationMessage.StatusNotificationType|null);
}
/** Represents a StatusNotificationMessage. */
class StatusNotificationMessage implements IStatusNotificationMessage {
/**
* Constructs a new StatusNotificationMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IStatusNotificationMessage);
/** StatusNotificationMessage responseMessageKey. */
public responseMessageKey?: (Protocol.IMessageKey|null);
/** StatusNotificationMessage originalMessageKey. */
public originalMessageKey?: (Protocol.IMessageKey|null);
/** StatusNotificationMessage type. */
public type?: (E2E.Message.StatusNotificationMessage.StatusNotificationType|null);
/** StatusNotificationMessage _responseMessageKey. */
public _responseMessageKey?: "responseMessageKey";
/** StatusNotificationMessage _originalMessageKey. */
public _originalMessageKey?: "originalMessageKey";
/** StatusNotificationMessage _type. */
public _type?: "type";
/**
* Creates a new StatusNotificationMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns StatusNotificationMessage instance
*/
public static create(properties?: E2E.Message.IStatusNotificationMessage): E2E.Message.StatusNotificationMessage;
/**
* Encodes the specified StatusNotificationMessage message. Does not implicitly {@link E2E.Message.StatusNotificationMessage.verify|verify} messages.
* @param message StatusNotificationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IStatusNotificationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StatusNotificationMessage message, length delimited. Does not implicitly {@link E2E.Message.StatusNotificationMessage.verify|verify} messages.
* @param message StatusNotificationMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IStatusNotificationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StatusNotificationMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StatusNotificationMessage
* @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.Message.StatusNotificationMessage;
/**
* Decodes a StatusNotificationMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StatusNotificationMessage
* @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.Message.StatusNotificationMessage;
/**
* Verifies a StatusNotificationMessage 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 StatusNotificationMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StatusNotificationMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.StatusNotificationMessage;
/**
* Creates a plain object from a StatusNotificationMessage message. Also converts values to other types if specified.
* @param message StatusNotificationMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.StatusNotificationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StatusNotificationMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for StatusNotificationMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace StatusNotificationMessage {
/** StatusNotificationType enum. */
enum StatusNotificationType {
UNKNOWN = 0,
STATUS_ADD_YOURS = 1,
STATUS_RESHARE = 2
}
}
/** Properties of a StickerMessage. */
interface IStickerMessage {
/** StickerMessage url */
url?: (string|null);
/** StickerMessage fileSha256 */
fileSha256?: (Uint8Array|null);
/** StickerMessage fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** StickerMessage mediaKey */
mediaKey?: (Uint8Array|null);
/** StickerMessage mimetype */
mimetype?: (string|null);
/** StickerMessage height */
height?: (number|null);
/** StickerMessage width */
width?: (number|null);
/** StickerMessage directPath */
directPath?: (string|null);
/** StickerMessage fileLength */
fileLength?: (number|Long|null);
/** StickerMessage mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** StickerMessage firstFrameLength */
firstFrameLength?: (number|null);
/** StickerMessage firstFrameSidecar */
firstFrameSidecar?: (Uint8Array|null);
/** StickerMessage isAnimated */
isAnimated?: (boolean|null);
/** StickerMessage pngThumbnail */
pngThumbnail?: (Uint8Array|null);
/** StickerMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** StickerMessage stickerSentTs */
stickerSentTs?: (number|Long|null);
/** StickerMessage isAvatar */
isAvatar?: (boolean|null);
/** StickerMessage isAiSticker */
isAiSticker?: (boolean|null);
/** StickerMessage isLottie */
isLottie?: (boolean|null);
/** StickerMessage accessibilityLabel */
accessibilityLabel?: (string|null);
}
/** Represents a StickerMessage. */
class StickerMessage implements IStickerMessage {
/**
* Constructs a new StickerMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IStickerMessage);
/** StickerMessage url. */
public url?: (string|null);
/** StickerMessage fileSha256. */
public fileSha256?: (Uint8Array|null);
/** StickerMessage fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** StickerMessage mediaKey. */
public mediaKey?: (Uint8Array|null);
/** StickerMessage mimetype. */
public mimetype?: (string|null);
/** StickerMessage height. */
public height?: (number|null);
/** StickerMessage width. */
public width?: (number|null);
/** StickerMessage directPath. */
public directPath?: (string|null);
/** StickerMessage fileLength. */
public fileLength?: (number|Long|null);
/** StickerMessage mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** StickerMessage firstFrameLength. */
public firstFrameLength?: (number|null);
/** StickerMessage firstFrameSidecar. */
public firstFrameSidecar?: (Uint8Array|null);
/** StickerMessage isAnimated. */
public isAnimated?: (boolean|null);
/** StickerMessage pngThumbnail. */
public pngThumbnail?: (Uint8Array|null);
/** StickerMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** StickerMessage stickerSentTs. */
public stickerSentTs?: (number|Long|null);
/** StickerMessage isAvatar. */
public isAvatar?: (boolean|null);
/** StickerMessage isAiSticker. */
public isAiSticker?: (boolean|null);
/** StickerMessage isLottie. */
public isLottie?: (boolean|null);
/** StickerMessage accessibilityLabel. */
public accessibilityLabel?: (string|null);
/** StickerMessage _url. */
public _url?: "url";
/** StickerMessage _fileSha256. */
public _fileSha256?: "fileSha256";
/** StickerMessage _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** StickerMessage _mediaKey. */
public _mediaKey?: "mediaKey";
/** StickerMessage _mimetype. */
public _mimetype?: "mimetype";
/** StickerMessage _height. */
public _height?: "height";
/** StickerMessage _width. */
public _width?: "width";
/** StickerMessage _directPath. */
public _directPath?: "directPath";
/** StickerMessage _fileLength. */
public _fileLength?: "fileLength";
/** StickerMessage _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** StickerMessage _firstFrameLength. */
public _firstFrameLength?: "firstFrameLength";
/** StickerMessage _firstFrameSidecar. */
public _firstFrameSidecar?: "firstFrameSidecar";
/** StickerMessage _isAnimated. */
public _isAnimated?: "isAnimated";
/** StickerMessage _pngThumbnail. */
public _pngThumbnail?: "pngThumbnail";
/** StickerMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** StickerMessage _stickerSentTs. */
public _stickerSentTs?: "stickerSentTs";
/** StickerMessage _isAvatar. */
public _isAvatar?: "isAvatar";
/** StickerMessage _isAiSticker. */
public _isAiSticker?: "isAiSticker";
/** StickerMessage _isLottie. */
public _isLottie?: "isLottie";
/** StickerMessage _accessibilityLabel. */
public _accessibilityLabel?: "accessibilityLabel";
/**
* Creates a new StickerMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns StickerMessage instance
*/
public static create(properties?: E2E.Message.IStickerMessage): E2E.Message.StickerMessage;
/**
* Encodes the specified StickerMessage message. Does not implicitly {@link E2E.Message.StickerMessage.verify|verify} messages.
* @param message StickerMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StickerMessage message, length delimited. Does not implicitly {@link E2E.Message.StickerMessage.verify|verify} messages.
* @param message StickerMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StickerMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StickerMessage
* @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.Message.StickerMessage;
/**
* Decodes a StickerMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StickerMessage
* @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.Message.StickerMessage;
/**
* Verifies a StickerMessage 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 StickerMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StickerMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.StickerMessage;
/**
* Creates a plain object from a StickerMessage message. Also converts values to other types if specified.
* @param message StickerMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.StickerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StickerMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for StickerMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a StickerPackMessage. */
interface IStickerPackMessage {
/** StickerPackMessage stickerPackId */
stickerPackId?: (string|null);
/** StickerPackMessage name */
name?: (string|null);
/** StickerPackMessage publisher */
publisher?: (string|null);
/** StickerPackMessage stickers */
stickers?: (E2E.Message.StickerPackMessage.ISticker[]|null);
/** StickerPackMessage fileLength */
fileLength?: (number|Long|null);
/** StickerPackMessage fileSha256 */
fileSha256?: (Uint8Array|null);
/** StickerPackMessage fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** StickerPackMessage mediaKey */
mediaKey?: (Uint8Array|null);
/** StickerPackMessage directPath */
directPath?: (string|null);
/** StickerPackMessage caption */
caption?: (string|null);
/** StickerPackMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** StickerPackMessage packDescription */
packDescription?: (string|null);
/** StickerPackMessage mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** StickerPackMessage trayIconFileName */
trayIconFileName?: (string|null);
/** StickerPackMessage thumbnailDirectPath */
thumbnailDirectPath?: (string|null);
/** StickerPackMessage thumbnailSha256 */
thumbnailSha256?: (Uint8Array|null);
/** StickerPackMessage thumbnailEncSha256 */
thumbnailEncSha256?: (Uint8Array|null);
/** StickerPackMessage thumbnailHeight */
thumbnailHeight?: (number|null);
/** StickerPackMessage thumbnailWidth */
thumbnailWidth?: (number|null);
/** StickerPackMessage imageDataHash */
imageDataHash?: (string|null);
/** StickerPackMessage stickerPackSize */
stickerPackSize?: (number|Long|null);
/** StickerPackMessage stickerPackOrigin */
stickerPackOrigin?: (E2E.Message.StickerPackMessage.StickerPackOrigin|null);
}
/** Represents a StickerPackMessage. */
class StickerPackMessage implements IStickerPackMessage {
/**
* Constructs a new StickerPackMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IStickerPackMessage);
/** StickerPackMessage stickerPackId. */
public stickerPackId?: (string|null);
/** StickerPackMessage name. */
public name?: (string|null);
/** StickerPackMessage publisher. */
public publisher?: (string|null);
/** StickerPackMessage stickers. */
public stickers: E2E.Message.StickerPackMessage.ISticker[];
/** StickerPackMessage fileLength. */
public fileLength?: (number|Long|null);
/** StickerPackMessage fileSha256. */
public fileSha256?: (Uint8Array|null);
/** StickerPackMessage fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** StickerPackMessage mediaKey. */
public mediaKey?: (Uint8Array|null);
/** StickerPackMessage directPath. */
public directPath?: (string|null);
/** StickerPackMessage caption. */
public caption?: (string|null);
/** StickerPackMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** StickerPackMessage packDescription. */
public packDescription?: (string|null);
/** StickerPackMessage mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** StickerPackMessage trayIconFileName. */
public trayIconFileName?: (string|null);
/** StickerPackMessage thumbnailDirectPath. */
public thumbnailDirectPath?: (string|null);
/** StickerPackMessage thumbnailSha256. */
public thumbnailSha256?: (Uint8Array|null);
/** StickerPackMessage thumbnailEncSha256. */
public thumbnailEncSha256?: (Uint8Array|null);
/** StickerPackMessage thumbnailHeight. */
public thumbnailHeight?: (number|null);
/** StickerPackMessage thumbnailWidth. */
public thumbnailWidth?: (number|null);
/** StickerPackMessage imageDataHash. */
public imageDataHash?: (string|null);
/** StickerPackMessage stickerPackSize. */
public stickerPackSize?: (number|Long|null);
/** StickerPackMessage stickerPackOrigin. */
public stickerPackOrigin?: (E2E.Message.StickerPackMessage.StickerPackOrigin|null);
/** StickerPackMessage _stickerPackId. */
public _stickerPackId?: "stickerPackId";
/** StickerPackMessage _name. */
public _name?: "name";
/** StickerPackMessage _publisher. */
public _publisher?: "publisher";
/** StickerPackMessage _fileLength. */
public _fileLength?: "fileLength";
/** StickerPackMessage _fileSha256. */
public _fileSha256?: "fileSha256";
/** StickerPackMessage _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** StickerPackMessage _mediaKey. */
public _mediaKey?: "mediaKey";
/** StickerPackMessage _directPath. */
public _directPath?: "directPath";
/** StickerPackMessage _caption. */
public _caption?: "caption";
/** StickerPackMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** StickerPackMessage _packDescription. */
public _packDescription?: "packDescription";
/** StickerPackMessage _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** StickerPackMessage _trayIconFileName. */
public _trayIconFileName?: "trayIconFileName";
/** StickerPackMessage _thumbnailDirectPath. */
public _thumbnailDirectPath?: "thumbnailDirectPath";
/** StickerPackMessage _thumbnailSha256. */
public _thumbnailSha256?: "thumbnailSha256";
/** StickerPackMessage _thumbnailEncSha256. */
public _thumbnailEncSha256?: "thumbnailEncSha256";
/** StickerPackMessage _thumbnailHeight. */
public _thumbnailHeight?: "thumbnailHeight";
/** StickerPackMessage _thumbnailWidth. */
public _thumbnailWidth?: "thumbnailWidth";
/** StickerPackMessage _imageDataHash. */
public _imageDataHash?: "imageDataHash";
/** StickerPackMessage _stickerPackSize. */
public _stickerPackSize?: "stickerPackSize";
/** StickerPackMessage _stickerPackOrigin. */
public _stickerPackOrigin?: "stickerPackOrigin";
/**
* Creates a new StickerPackMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns StickerPackMessage instance
*/
public static create(properties?: E2E.Message.IStickerPackMessage): E2E.Message.StickerPackMessage;
/**
* Encodes the specified StickerPackMessage message. Does not implicitly {@link E2E.Message.StickerPackMessage.verify|verify} messages.
* @param message StickerPackMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IStickerPackMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StickerPackMessage message, length delimited. Does not implicitly {@link E2E.Message.StickerPackMessage.verify|verify} messages.
* @param message StickerPackMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IStickerPackMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StickerPackMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StickerPackMessage
* @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.Message.StickerPackMessage;
/**
* Decodes a StickerPackMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StickerPackMessage
* @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.Message.StickerPackMessage;
/**
* Verifies a StickerPackMessage 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 StickerPackMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StickerPackMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.StickerPackMessage;
/**
* Creates a plain object from a StickerPackMessage message. Also converts values to other types if specified.
* @param message StickerPackMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.StickerPackMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StickerPackMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for StickerPackMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace StickerPackMessage {
/** Properties of a Sticker. */
interface ISticker {
/** Sticker fileName */
fileName?: (string|null);
/** Sticker isAnimated */
isAnimated?: (boolean|null);
/** Sticker emojis */
emojis?: (string[]|null);
/** Sticker accessibilityLabel */
accessibilityLabel?: (string|null);
/** Sticker isLottie */
isLottie?: (boolean|null);
/** Sticker mimetype */
mimetype?: (string|null);
}
/** Represents a Sticker. */
class Sticker implements ISticker {
/**
* Constructs a new Sticker.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.StickerPackMessage.ISticker);
/** Sticker fileName. */
public fileName?: (string|null);
/** Sticker isAnimated. */
public isAnimated?: (boolean|null);
/** Sticker emojis. */
public emojis: string[];
/** Sticker accessibilityLabel. */
public accessibilityLabel?: (string|null);
/** Sticker isLottie. */
public isLottie?: (boolean|null);
/** Sticker mimetype. */
public mimetype?: (string|null);
/** Sticker _fileName. */
public _fileName?: "fileName";
/** Sticker _isAnimated. */
public _isAnimated?: "isAnimated";
/** Sticker _accessibilityLabel. */
public _accessibilityLabel?: "accessibilityLabel";
/** Sticker _isLottie. */
public _isLottie?: "isLottie";
/** Sticker _mimetype. */
public _mimetype?: "mimetype";
/**
* Creates a new Sticker instance using the specified properties.
* @param [properties] Properties to set
* @returns Sticker instance
*/
public static create(properties?: E2E.Message.StickerPackMessage.ISticker): E2E.Message.StickerPackMessage.Sticker;
/**
* Encodes the specified Sticker message. Does not implicitly {@link E2E.Message.StickerPackMessage.Sticker.verify|verify} messages.
* @param message Sticker message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.StickerPackMessage.ISticker, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Sticker message, length delimited. Does not implicitly {@link E2E.Message.StickerPackMessage.Sticker.verify|verify} messages.
* @param message Sticker message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.StickerPackMessage.ISticker, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Sticker message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Sticker
* @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.Message.StickerPackMessage.Sticker;
/**
* Decodes a Sticker message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Sticker
* @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.Message.StickerPackMessage.Sticker;
/**
* Verifies a Sticker 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 Sticker message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Sticker
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.StickerPackMessage.Sticker;
/**
* Creates a plain object from a Sticker message. Also converts values to other types if specified.
* @param message Sticker
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.StickerPackMessage.Sticker, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Sticker to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Sticker
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** StickerPackOrigin enum. */
enum StickerPackOrigin {
FIRST_PARTY = 0,
THIRD_PARTY = 1,
USER_CREATED = 2
}
}
/** Properties of a StickerSyncRMRMessage. */
interface IStickerSyncRMRMessage {
/** StickerSyncRMRMessage filehash */
filehash?: (string[]|null);
/** StickerSyncRMRMessage rmrSource */
rmrSource?: (string|null);
/** StickerSyncRMRMessage requestTimestamp */
requestTimestamp?: (number|Long|null);
}
/** Represents a StickerSyncRMRMessage. */
class StickerSyncRMRMessage implements IStickerSyncRMRMessage {
/**
* Constructs a new StickerSyncRMRMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IStickerSyncRMRMessage);
/** StickerSyncRMRMessage filehash. */
public filehash: string[];
/** StickerSyncRMRMessage rmrSource. */
public rmrSource?: (string|null);
/** StickerSyncRMRMessage requestTimestamp. */
public requestTimestamp?: (number|Long|null);
/** StickerSyncRMRMessage _rmrSource. */
public _rmrSource?: "rmrSource";
/** StickerSyncRMRMessage _requestTimestamp. */
public _requestTimestamp?: "requestTimestamp";
/**
* Creates a new StickerSyncRMRMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns StickerSyncRMRMessage instance
*/
public static create(properties?: E2E.Message.IStickerSyncRMRMessage): E2E.Message.StickerSyncRMRMessage;
/**
* Encodes the specified StickerSyncRMRMessage message. Does not implicitly {@link E2E.Message.StickerSyncRMRMessage.verify|verify} messages.
* @param message StickerSyncRMRMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IStickerSyncRMRMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StickerSyncRMRMessage message, length delimited. Does not implicitly {@link E2E.Message.StickerSyncRMRMessage.verify|verify} messages.
* @param message StickerSyncRMRMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IStickerSyncRMRMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StickerSyncRMRMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StickerSyncRMRMessage
* @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.Message.StickerSyncRMRMessage;
/**
* Decodes a StickerSyncRMRMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StickerSyncRMRMessage
* @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.Message.StickerSyncRMRMessage;
/**
* Verifies a StickerSyncRMRMessage 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 StickerSyncRMRMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StickerSyncRMRMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.StickerSyncRMRMessage;
/**
* Creates a plain object from a StickerSyncRMRMessage message. Also converts values to other types if specified.
* @param message StickerSyncRMRMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.StickerSyncRMRMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StickerSyncRMRMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for StickerSyncRMRMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a TemplateButtonReplyMessage. */
interface ITemplateButtonReplyMessage {
/** TemplateButtonReplyMessage selectedId */
selectedId?: (string|null);
/** TemplateButtonReplyMessage selectedDisplayText */
selectedDisplayText?: (string|null);
/** TemplateButtonReplyMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** TemplateButtonReplyMessage selectedIndex */
selectedIndex?: (number|null);
/** TemplateButtonReplyMessage selectedCarouselCardIndex */
selectedCarouselCardIndex?: (number|null);
}
/** Represents a TemplateButtonReplyMessage. */
class TemplateButtonReplyMessage implements ITemplateButtonReplyMessage {
/**
* Constructs a new TemplateButtonReplyMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ITemplateButtonReplyMessage);
/** TemplateButtonReplyMessage selectedId. */
public selectedId?: (string|null);
/** TemplateButtonReplyMessage selectedDisplayText. */
public selectedDisplayText?: (string|null);
/** TemplateButtonReplyMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** TemplateButtonReplyMessage selectedIndex. */
public selectedIndex?: (number|null);
/** TemplateButtonReplyMessage selectedCarouselCardIndex. */
public selectedCarouselCardIndex?: (number|null);
/** TemplateButtonReplyMessage _selectedId. */
public _selectedId?: "selectedId";
/** TemplateButtonReplyMessage _selectedDisplayText. */
public _selectedDisplayText?: "selectedDisplayText";
/** TemplateButtonReplyMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** TemplateButtonReplyMessage _selectedIndex. */
public _selectedIndex?: "selectedIndex";
/** TemplateButtonReplyMessage _selectedCarouselCardIndex. */
public _selectedCarouselCardIndex?: "selectedCarouselCardIndex";
/**
* Creates a new TemplateButtonReplyMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns TemplateButtonReplyMessage instance
*/
public static create(properties?: E2E.Message.ITemplateButtonReplyMessage): E2E.Message.TemplateButtonReplyMessage;
/**
* Encodes the specified TemplateButtonReplyMessage message. Does not implicitly {@link E2E.Message.TemplateButtonReplyMessage.verify|verify} messages.
* @param message TemplateButtonReplyMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ITemplateButtonReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TemplateButtonReplyMessage message, length delimited. Does not implicitly {@link E2E.Message.TemplateButtonReplyMessage.verify|verify} messages.
* @param message TemplateButtonReplyMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ITemplateButtonReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TemplateButtonReplyMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TemplateButtonReplyMessage
* @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.Message.TemplateButtonReplyMessage;
/**
* Decodes a TemplateButtonReplyMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TemplateButtonReplyMessage
* @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.Message.TemplateButtonReplyMessage;
/**
* Verifies a TemplateButtonReplyMessage 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 TemplateButtonReplyMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TemplateButtonReplyMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.TemplateButtonReplyMessage;
/**
* Creates a plain object from a TemplateButtonReplyMessage message. Also converts values to other types if specified.
* @param message TemplateButtonReplyMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.TemplateButtonReplyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TemplateButtonReplyMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for TemplateButtonReplyMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a TemplateMessage. */
interface ITemplateMessage {
/** TemplateMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** TemplateMessage hydratedTemplate */
hydratedTemplate?: (E2E.Message.TemplateMessage.IHydratedFourRowTemplate|null);
/** TemplateMessage templateId */
templateId?: (string|null);
/** TemplateMessage fourRowTemplate */
fourRowTemplate?: (E2E.Message.TemplateMessage.IFourRowTemplate|null);
/** TemplateMessage hydratedFourRowTemplate */
hydratedFourRowTemplate?: (E2E.Message.TemplateMessage.IHydratedFourRowTemplate|null);
/** TemplateMessage interactiveMessageTemplate */
interactiveMessageTemplate?: (E2E.Message.IInteractiveMessage|null);
}
/** Represents a TemplateMessage. */
class TemplateMessage implements ITemplateMessage {
/**
* Constructs a new TemplateMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.ITemplateMessage);
/** TemplateMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** TemplateMessage hydratedTemplate. */
public hydratedTemplate?: (E2E.Message.TemplateMessage.IHydratedFourRowTemplate|null);
/** TemplateMessage templateId. */
public templateId?: (string|null);
/** TemplateMessage fourRowTemplate. */
public fourRowTemplate?: (E2E.Message.TemplateMessage.IFourRowTemplate|null);
/** TemplateMessage hydratedFourRowTemplate. */
public hydratedFourRowTemplate?: (E2E.Message.TemplateMessage.IHydratedFourRowTemplate|null);
/** TemplateMessage interactiveMessageTemplate. */
public interactiveMessageTemplate?: (E2E.Message.IInteractiveMessage|null);
/** TemplateMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** TemplateMessage _hydratedTemplate. */
public _hydratedTemplate?: "hydratedTemplate";
/** TemplateMessage _templateId. */
public _templateId?: "templateId";
/** TemplateMessage format. */
public format?: ("fourRowTemplate"|"hydratedFourRowTemplate"|"interactiveMessageTemplate");
/**
* Creates a new TemplateMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns TemplateMessage instance
*/
public static create(properties?: E2E.Message.ITemplateMessage): E2E.Message.TemplateMessage;
/**
* Encodes the specified TemplateMessage message. Does not implicitly {@link E2E.Message.TemplateMessage.verify|verify} messages.
* @param message TemplateMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.ITemplateMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TemplateMessage message, length delimited. Does not implicitly {@link E2E.Message.TemplateMessage.verify|verify} messages.
* @param message TemplateMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.ITemplateMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TemplateMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TemplateMessage
* @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.Message.TemplateMessage;
/**
* Decodes a TemplateMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TemplateMessage
* @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.Message.TemplateMessage;
/**
* Verifies a TemplateMessage 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 TemplateMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TemplateMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.TemplateMessage;
/**
* Creates a plain object from a TemplateMessage message. Also converts values to other types if specified.
* @param message TemplateMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.TemplateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TemplateMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for TemplateMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace TemplateMessage {
/** Properties of a FourRowTemplate. */
interface IFourRowTemplate {
/** FourRowTemplate content */
content?: (E2E.Message.IHighlyStructuredMessage|null);
/** FourRowTemplate footer */
footer?: (E2E.Message.IHighlyStructuredMessage|null);
/** FourRowTemplate buttons */
buttons?: (E2E.ITemplateButton[]|null);
/** FourRowTemplate documentMessage */
documentMessage?: (E2E.Message.IDocumentMessage|null);
/** FourRowTemplate highlyStructuredMessage */
highlyStructuredMessage?: (E2E.Message.IHighlyStructuredMessage|null);
/** FourRowTemplate imageMessage */
imageMessage?: (E2E.Message.IImageMessage|null);
/** FourRowTemplate videoMessage */
videoMessage?: (E2E.Message.IVideoMessage|null);
/** FourRowTemplate locationMessage */
locationMessage?: (E2E.Message.ILocationMessage|null);
}
/** Represents a FourRowTemplate. */
class FourRowTemplate implements IFourRowTemplate {
/**
* Constructs a new FourRowTemplate.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.TemplateMessage.IFourRowTemplate);
/** FourRowTemplate content. */
public content?: (E2E.Message.IHighlyStructuredMessage|null);
/** FourRowTemplate footer. */
public footer?: (E2E.Message.IHighlyStructuredMessage|null);
/** FourRowTemplate buttons. */
public buttons: E2E.ITemplateButton[];
/** FourRowTemplate documentMessage. */
public documentMessage?: (E2E.Message.IDocumentMessage|null);
/** FourRowTemplate highlyStructuredMessage. */
public highlyStructuredMessage?: (E2E.Message.IHighlyStructuredMessage|null);
/** FourRowTemplate imageMessage. */
public imageMessage?: (E2E.Message.IImageMessage|null);
/** FourRowTemplate videoMessage. */
public videoMessage?: (E2E.Message.IVideoMessage|null);
/** FourRowTemplate locationMessage. */
public locationMessage?: (E2E.Message.ILocationMessage|null);
/** FourRowTemplate _content. */
public _content?: "content";
/** FourRowTemplate _footer. */
public _footer?: "footer";
/** FourRowTemplate title. */
public title?: ("documentMessage"|"highlyStructuredMessage"|"imageMessage"|"videoMessage"|"locationMessage");
/**
* Creates a new FourRowTemplate instance using the specified properties.
* @param [properties] Properties to set
* @returns FourRowTemplate instance
*/
public static create(properties?: E2E.Message.TemplateMessage.IFourRowTemplate): E2E.Message.TemplateMessage.FourRowTemplate;
/**
* Encodes the specified FourRowTemplate message. Does not implicitly {@link E2E.Message.TemplateMessage.FourRowTemplate.verify|verify} messages.
* @param message FourRowTemplate message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.TemplateMessage.IFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FourRowTemplate message, length delimited. Does not implicitly {@link E2E.Message.TemplateMessage.FourRowTemplate.verify|verify} messages.
* @param message FourRowTemplate message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.TemplateMessage.IFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FourRowTemplate message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FourRowTemplate
* @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.Message.TemplateMessage.FourRowTemplate;
/**
* Decodes a FourRowTemplate message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FourRowTemplate
* @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.Message.TemplateMessage.FourRowTemplate;
/**
* Verifies a FourRowTemplate 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 FourRowTemplate message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FourRowTemplate
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.TemplateMessage.FourRowTemplate;
/**
* Creates a plain object from a FourRowTemplate message. Also converts values to other types if specified.
* @param message FourRowTemplate
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.TemplateMessage.FourRowTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FourRowTemplate to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for FourRowTemplate
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HydratedFourRowTemplate. */
interface IHydratedFourRowTemplate {
/** HydratedFourRowTemplate hydratedContentText */
hydratedContentText?: (string|null);
/** HydratedFourRowTemplate hydratedFooterText */
hydratedFooterText?: (string|null);
/** HydratedFourRowTemplate hydratedButtons */
hydratedButtons?: (E2E.IHydratedTemplateButton[]|null);
/** HydratedFourRowTemplate templateId */
templateId?: (string|null);
/** HydratedFourRowTemplate maskLinkedDevices */
maskLinkedDevices?: (boolean|null);
/** HydratedFourRowTemplate documentMessage */
documentMessage?: (E2E.Message.IDocumentMessage|null);
/** HydratedFourRowTemplate hydratedTitleText */
hydratedTitleText?: (string|null);
/** HydratedFourRowTemplate imageMessage */
imageMessage?: (E2E.Message.IImageMessage|null);
/** HydratedFourRowTemplate videoMessage */
videoMessage?: (E2E.Message.IVideoMessage|null);
/** HydratedFourRowTemplate locationMessage */
locationMessage?: (E2E.Message.ILocationMessage|null);
}
/** Represents a HydratedFourRowTemplate. */
class HydratedFourRowTemplate implements IHydratedFourRowTemplate {
/**
* Constructs a new HydratedFourRowTemplate.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.TemplateMessage.IHydratedFourRowTemplate);
/** HydratedFourRowTemplate hydratedContentText. */
public hydratedContentText?: (string|null);
/** HydratedFourRowTemplate hydratedFooterText. */
public hydratedFooterText?: (string|null);
/** HydratedFourRowTemplate hydratedButtons. */
public hydratedButtons: E2E.IHydratedTemplateButton[];
/** HydratedFourRowTemplate templateId. */
public templateId?: (string|null);
/** HydratedFourRowTemplate maskLinkedDevices. */
public maskLinkedDevices?: (boolean|null);
/** HydratedFourRowTemplate documentMessage. */
public documentMessage?: (E2E.Message.IDocumentMessage|null);
/** HydratedFourRowTemplate hydratedTitleText. */
public hydratedTitleText?: (string|null);
/** HydratedFourRowTemplate imageMessage. */
public imageMessage?: (E2E.Message.IImageMessage|null);
/** HydratedFourRowTemplate videoMessage. */
public videoMessage?: (E2E.Message.IVideoMessage|null);
/** HydratedFourRowTemplate locationMessage. */
public locationMessage?: (E2E.Message.ILocationMessage|null);
/** HydratedFourRowTemplate _hydratedContentText. */
public _hydratedContentText?: "hydratedContentText";
/** HydratedFourRowTemplate _hydratedFooterText. */
public _hydratedFooterText?: "hydratedFooterText";
/** HydratedFourRowTemplate _templateId. */
public _templateId?: "templateId";
/** HydratedFourRowTemplate _maskLinkedDevices. */
public _maskLinkedDevices?: "maskLinkedDevices";
/** HydratedFourRowTemplate title. */
public title?: ("documentMessage"|"hydratedTitleText"|"imageMessage"|"videoMessage"|"locationMessage");
/**
* Creates a new HydratedFourRowTemplate instance using the specified properties.
* @param [properties] Properties to set
* @returns HydratedFourRowTemplate instance
*/
public static create(properties?: E2E.Message.TemplateMessage.IHydratedFourRowTemplate): E2E.Message.TemplateMessage.HydratedFourRowTemplate;
/**
* Encodes the specified HydratedFourRowTemplate message. Does not implicitly {@link E2E.Message.TemplateMessage.HydratedFourRowTemplate.verify|verify} messages.
* @param message HydratedFourRowTemplate message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.TemplateMessage.IHydratedFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HydratedFourRowTemplate message, length delimited. Does not implicitly {@link E2E.Message.TemplateMessage.HydratedFourRowTemplate.verify|verify} messages.
* @param message HydratedFourRowTemplate message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.TemplateMessage.IHydratedFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HydratedFourRowTemplate message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HydratedFourRowTemplate
* @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.Message.TemplateMessage.HydratedFourRowTemplate;
/**
* Decodes a HydratedFourRowTemplate message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HydratedFourRowTemplate
* @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.Message.TemplateMessage.HydratedFourRowTemplate;
/**
* Verifies a HydratedFourRowTemplate 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 HydratedFourRowTemplate message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HydratedFourRowTemplate
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.TemplateMessage.HydratedFourRowTemplate;
/**
* Creates a plain object from a HydratedFourRowTemplate message. Also converts values to other types if specified.
* @param message HydratedFourRowTemplate
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.TemplateMessage.HydratedFourRowTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HydratedFourRowTemplate to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HydratedFourRowTemplate
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Properties of a URLMetadata. */
interface IURLMetadata {
/** URLMetadata fbExperimentId */
fbExperimentId?: (number|null);
}
/** Represents a URLMetadata. */
class URLMetadata implements IURLMetadata {
/**
* Constructs a new URLMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IURLMetadata);
/** URLMetadata fbExperimentId. */
public fbExperimentId?: (number|null);
/** URLMetadata _fbExperimentId. */
public _fbExperimentId?: "fbExperimentId";
/**
* Creates a new URLMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns URLMetadata instance
*/
public static create(properties?: E2E.Message.IURLMetadata): E2E.Message.URLMetadata;
/**
* Encodes the specified URLMetadata message. Does not implicitly {@link E2E.Message.URLMetadata.verify|verify} messages.
* @param message URLMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IURLMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified URLMetadata message, length delimited. Does not implicitly {@link E2E.Message.URLMetadata.verify|verify} messages.
* @param message URLMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IURLMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a URLMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns URLMetadata
* @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.Message.URLMetadata;
/**
* Decodes a URLMetadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns URLMetadata
* @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.Message.URLMetadata;
/**
* Verifies a URLMetadata 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 URLMetadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns URLMetadata
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.URLMetadata;
/**
* Creates a plain object from a URLMetadata message. Also converts values to other types if specified.
* @param message URLMetadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.URLMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this URLMetadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for URLMetadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a VideoMessage. */
interface IVideoMessage {
/** VideoMessage url */
url?: (string|null);
/** VideoMessage mimetype */
mimetype?: (string|null);
/** VideoMessage fileSha256 */
fileSha256?: (Uint8Array|null);
/** VideoMessage fileLength */
fileLength?: (number|Long|null);
/** VideoMessage seconds */
seconds?: (number|null);
/** VideoMessage mediaKey */
mediaKey?: (Uint8Array|null);
/** VideoMessage caption */
caption?: (string|null);
/** VideoMessage gifPlayback */
gifPlayback?: (boolean|null);
/** VideoMessage height */
height?: (number|null);
/** VideoMessage width */
width?: (number|null);
/** VideoMessage fileEncSha256 */
fileEncSha256?: (Uint8Array|null);
/** VideoMessage interactiveAnnotations */
interactiveAnnotations?: (E2E.IInteractiveAnnotation[]|null);
/** VideoMessage directPath */
directPath?: (string|null);
/** VideoMessage mediaKeyTimestamp */
mediaKeyTimestamp?: (number|Long|null);
/** VideoMessage jpegThumbnail */
jpegThumbnail?: (Uint8Array|null);
/** VideoMessage contextInfo */
contextInfo?: (E2E.IContextInfo|null);
/** VideoMessage streamingSidecar */
streamingSidecar?: (Uint8Array|null);
/** VideoMessage gifAttribution */
gifAttribution?: (E2E.Message.VideoMessage.Attribution|null);
/** VideoMessage viewOnce */
viewOnce?: (boolean|null);
/** VideoMessage thumbnailDirectPath */
thumbnailDirectPath?: (string|null);
/** VideoMessage thumbnailSha256 */
thumbnailSha256?: (Uint8Array|null);
/** VideoMessage thumbnailEncSha256 */
thumbnailEncSha256?: (Uint8Array|null);
/** VideoMessage staticUrl */
staticUrl?: (string|null);
/** VideoMessage annotations */
annotations?: (E2E.IInteractiveAnnotation[]|null);
/** VideoMessage accessibilityLabel */
accessibilityLabel?: (string|null);
/** VideoMessage processedVideos */
processedVideos?: (E2E.IProcessedVideo[]|null);
/** VideoMessage externalShareFullVideoDurationInSeconds */
externalShareFullVideoDurationInSeconds?: (number|null);
/** VideoMessage motionPhotoPresentationOffsetMs */
motionPhotoPresentationOffsetMs?: (number|Long|null);
/** VideoMessage metadataUrl */
metadataUrl?: (string|null);
/** VideoMessage videoSourceType */
videoSourceType?: (E2E.Message.VideoMessage.VideoSourceType|null);
}
/** Represents a VideoMessage. */
class VideoMessage implements IVideoMessage {
/**
* Constructs a new VideoMessage.
* @param [properties] Properties to set
*/
constructor(properties?: E2E.Message.IVideoMessage);
/** VideoMessage url. */
public url?: (string|null);
/** VideoMessage mimetype. */
public mimetype?: (string|null);
/** VideoMessage fileSha256. */
public fileSha256?: (Uint8Array|null);
/** VideoMessage fileLength. */
public fileLength?: (number|Long|null);
/** VideoMessage seconds. */
public seconds?: (number|null);
/** VideoMessage mediaKey. */
public mediaKey?: (Uint8Array|null);
/** VideoMessage caption. */
public caption?: (string|null);
/** VideoMessage gifPlayback. */
public gifPlayback?: (boolean|null);
/** VideoMessage height. */
public height?: (number|null);
/** VideoMessage width. */
public width?: (number|null);
/** VideoMessage fileEncSha256. */
public fileEncSha256?: (Uint8Array|null);
/** VideoMessage interactiveAnnotations. */
public interactiveAnnotations: E2E.IInteractiveAnnotation[];
/** VideoMessage directPath. */
public directPath?: (string|null);
/** VideoMessage mediaKeyTimestamp. */
public mediaKeyTimestamp?: (number|Long|null);
/** VideoMessage jpegThumbnail. */
public jpegThumbnail?: (Uint8Array|null);
/** VideoMessage contextInfo. */
public contextInfo?: (E2E.IContextInfo|null);
/** VideoMessage streamingSidecar. */
public streamingSidecar?: (Uint8Array|null);
/** VideoMessage gifAttribution. */
public gifAttribution?: (E2E.Message.VideoMessage.Attribution|null);
/** VideoMessage viewOnce. */
public viewOnce?: (boolean|null);
/** VideoMessage thumbnailDirectPath. */
public thumbnailDirectPath?: (string|null);
/** VideoMessage thumbnailSha256. */
public thumbnailSha256?: (Uint8Array|null);
/** VideoMessage thumbnailEncSha256. */
public thumbnailEncSha256?: (Uint8Array|null);
/** VideoMessage staticUrl. */
public staticUrl?: (string|null);
/** VideoMessage annotations. */
public annotations: E2E.IInteractiveAnnotation[];
/** VideoMessage accessibilityLabel. */
public accessibilityLabel?: (string|null);
/** VideoMessage processedVideos. */
public processedVideos: E2E.IProcessedVideo[];
/** VideoMessage externalShareFullVideoDurationInSeconds. */
public externalShareFullVideoDurationInSeconds?: (number|null);
/** VideoMessage motionPhotoPresentationOffsetMs. */
public motionPhotoPresentationOffsetMs?: (number|Long|null);
/** VideoMessage metadataUrl. */
public metadataUrl?: (string|null);
/** VideoMessage videoSourceType. */
public videoSourceType?: (E2E.Message.VideoMessage.VideoSourceType|null);
/** VideoMessage _url. */
public _url?: "url";
/** VideoMessage _mimetype. */
public _mimetype?: "mimetype";
/** VideoMessage _fileSha256. */
public _fileSha256?: "fileSha256";
/** VideoMessage _fileLength. */
public _fileLength?: "fileLength";
/** VideoMessage _seconds. */
public _seconds?: "seconds";
/** VideoMessage _mediaKey. */
public _mediaKey?: "mediaKey";
/** VideoMessage _caption. */
public _caption?: "caption";
/** VideoMessage _gifPlayback. */
public _gifPlayback?: "gifPlayback";
/** VideoMessage _height. */
public _height?: "height";
/** VideoMessage _width. */
public _width?: "width";
/** VideoMessage _fileEncSha256. */
public _fileEncSha256?: "fileEncSha256";
/** VideoMessage _directPath. */
public _directPath?: "directPath";
/** VideoMessage _mediaKeyTimestamp. */
public _mediaKeyTimestamp?: "mediaKeyTimestamp";
/** VideoMessage _jpegThumbnail. */
public _jpegThumbnail?: "jpegThumbnail";
/** VideoMessage _contextInfo. */
public _contextInfo?: "contextInfo";
/** VideoMessage _streamingSidecar. */
public _streamingSidecar?: "streamingSidecar";
/** VideoMessage _gifAttribution. */
public _gifAttribution?: "gifAttribution";
/** VideoMessage _viewOnce. */
public _viewOnce?: "viewOnce";
/** VideoMessage _thumbnailDirectPath. */
public _thumbnailDirectPath?: "thumbnailDirectPath";
/** VideoMessage _thumbnailSha256. */
public _thumbnailSha256?: "thumbnailSha256";
/** VideoMessage _thumbnailEncSha256. */
public _thumbnailEncSha256?: "thumbnailEncSha256";
/** VideoMessage _staticUrl. */
public _staticUrl?: "staticUrl";
/** VideoMessage _accessibilityLabel. */
public _accessibilityLabel?: "accessibilityLabel";
/** VideoMessage _externalShareFullVideoDurationInSeconds. */
public _externalShareFullVideoDurationInSeconds?: "externalShareFullVideoDurationInSeconds";
/** VideoMessage _motionPhotoPresentationOffsetMs. */
public _motionPhotoPresentationOffsetMs?: "motionPhotoPresentationOffsetMs";
/** VideoMessage _metadataUrl. */
public _metadataUrl?: "metadataUrl";
/** VideoMessage _videoSourceType. */
public _videoSourceType?: "videoSourceType";
/**
* Creates a new VideoMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns VideoMessage instance
*/
public static create(properties?: E2E.Message.IVideoMessage): E2E.Message.VideoMessage;
/**
* Encodes the specified VideoMessage message. Does not implicitly {@link E2E.Message.VideoMessage.verify|verify} messages.
* @param message VideoMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: E2E.Message.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified VideoMessage message, length delimited. Does not implicitly {@link E2E.Message.VideoMessage.verify|verify} messages.
* @param message VideoMessage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: E2E.Message.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a VideoMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns VideoMessage
* @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.Message.VideoMessage;
/**
* Decodes a VideoMessage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns VideoMessage
* @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.Message.VideoMessage;
/**
* Verifies a VideoMessage 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 VideoMessage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns VideoMessage
*/
public static fromObject(object: { [k: string]: any }): E2E.Message.VideoMessage;
/**
* Creates a plain object from a VideoMessage message. Also converts values to other types if specified.
* @param message VideoMessage
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: E2E.Message.VideoMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this VideoMessage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for VideoMessage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace VideoMessage {
/** Attribution enum. */
enum Attribution {
NONE = 0,
GIPHY = 1,
TENOR = 2
}
/** VideoSourceType enum. */
enum VideoSourceType {
USER_VIDEO = 0,
AI_GENERATED = 1
}
}
}
/** KeepType enum. */
enum KeepType {
UNKNOWN = 0,
KEEP_FOR_ALL = 1,
UNDO_KEEP_FOR_ALL = 2
}
/** BotSessionSource enum. */
enum BotSessionSource {
NONE = 0,
NULL_STATE = 1,
TYPEAHEAD = 2,
USER_INPUT = 3,
EMU_FLASH = 4,
EMU_FLASH_FOLLOWUP = 5,
VOICE = 6
}
/** BotMetricsThreadEntryPoint enum. */
enum BotMetricsThreadEntryPoint {
AI_TAB_THREAD = 1,
AI_HOME_THREAD = 2,
AI_DEEPLINK_IMMERSIVE_THREAD = 3,
AI_DEEPLINK_THREAD = 4
}
/** BotMetricsEntryPoint enum. */
enum BotMetricsEntryPoint {
FAVICON = 1,
CHATLIST = 2,
AISEARCH_NULL_STATE_PAPER_PLANE = 3,
AISEARCH_NULL_STATE_SUGGESTION = 4,
AISEARCH_TYPE_AHEAD_SUGGESTION = 5,
AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6,
AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7,
AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8,
AIVOICE_SEARCH_BAR = 9,
AIVOICE_FAVICON = 10,
AISTUDIO = 11,
DEEPLINK = 12,
NOTIFICATION = 13,
PROFILE_MESSAGE_BUTTON = 14,
FORWARD = 15,
APP_SHORTCUT = 16,
FF_FAMILY = 17,
AI_TAB = 18,
AI_HOME = 19,
AI_DEEPLINK_IMMERSIVE = 20,
AI_DEEPLINK = 21,
META_AI_CHAT_SHORTCUT_AI_STUDIO = 22,
UGC_CHAT_SHORTCUT_AI_STUDIO = 23,
NEW_CHAT_AI_STUDIO = 24,
AIVOICE_FAVICON_CALL_HISTORY = 25
}
}
/** Namespace Protocol. */
export namespace Protocol {
/** Properties of a LimitSharing. */
interface ILimitSharing {
/** LimitSharing sharingLimited */
sharingLimited?: (boolean|null);
/** LimitSharing trigger */
trigger?: (Protocol.LimitSharing.TriggerType|null);
/** LimitSharing limitSharingSettingTimestamp */
limitSharingSettingTimestamp?: (number|Long|null);
/** LimitSharing initiatedByMe */
initiatedByMe?: (boolean|null);
}
/** Represents a LimitSharing. */
class LimitSharing implements ILimitSharing {
/**
* Constructs a new LimitSharing.
* @param [properties] Properties to set
*/
constructor(properties?: Protocol.ILimitSharing);
/** LimitSharing sharingLimited. */
public sharingLimited?: (boolean|null);
/** LimitSharing trigger. */
public trigger?: (Protocol.LimitSharing.TriggerType|null);
/** LimitSharing limitSharingSettingTimestamp. */
public limitSharingSettingTimestamp?: (number|Long|null);
/** LimitSharing initiatedByMe. */
public initiatedByMe?: (boolean|null);
/** LimitSharing _sharingLimited. */
public _sharingLimited?: "sharingLimited";
/** LimitSharing _trigger. */
public _trigger?: "trigger";
/** LimitSharing _limitSharingSettingTimestamp. */
public _limitSharingSettingTimestamp?: "limitSharingSettingTimestamp";
/** LimitSharing _initiatedByMe. */
public _initiatedByMe?: "initiatedByMe";
/**
* Creates a new LimitSharing instance using the specified properties.
* @param [properties] Properties to set
* @returns LimitSharing instance
*/
public static create(properties?: Protocol.ILimitSharing): Protocol.LimitSharing;
/**
* Encodes the specified LimitSharing message. Does not implicitly {@link Protocol.LimitSharing.verify|verify} messages.
* @param message LimitSharing message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: Protocol.ILimitSharing, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LimitSharing message, length delimited. Does not implicitly {@link Protocol.LimitSharing.verify|verify} messages.
* @param message LimitSharing message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: Protocol.ILimitSharing, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LimitSharing message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LimitSharing
* @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): Protocol.LimitSharing;
/**
* Decodes a LimitSharing message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LimitSharing
* @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)): Protocol.LimitSharing;
/**
* Verifies a LimitSharing 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 LimitSharing message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LimitSharing
*/
public static fromObject(object: { [k: string]: any }): Protocol.LimitSharing;
/**
* Creates a plain object from a LimitSharing message. Also converts values to other types if specified.
* @param message LimitSharing
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: Protocol.LimitSharing, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LimitSharing to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for LimitSharing
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace LimitSharing {
/** TriggerType enum. */
enum TriggerType {
UNKNOWN = 0,
CHAT_SETTING = 1,
BIZ_SUPPORTS_FB_HOSTING = 2,
UNKNOWN_GROUP = 3
}
}
/** Properties of a MessageKey. */
interface IMessageKey {
/** MessageKey remoteJid */
remoteJid?: (string|null);
/** MessageKey fromMe */
fromMe?: (boolean|null);
/** MessageKey id */
id?: (string|null);
/** MessageKey participant */
participant?: (string|null);
}
/** Represents a MessageKey. */
class MessageKey implements IMessageKey {
/**
* Constructs a new MessageKey.
* @param [properties] Properties to set
*/
constructor(properties?: Protocol.IMessageKey);
/** MessageKey remoteJid. */
public remoteJid?: (string|null);
/** MessageKey fromMe. */
public fromMe?: (boolean|null);
/** MessageKey id. */
public id?: (string|null);
/** MessageKey participant. */
public participant?: (string|null);
/** MessageKey _remoteJid. */
public _remoteJid?: "remoteJid";
/** MessageKey _fromMe. */
public _fromMe?: "fromMe";
/** MessageKey _id. */
public _id?: "id";
/** MessageKey _participant. */
public _participant?: "participant";
/**
* Creates a new MessageKey instance using the specified properties.
* @param [properties] Properties to set
* @returns MessageKey instance
*/
public static create(properties?: Protocol.IMessageKey): Protocol.MessageKey;
/**
* Encodes the specified MessageKey message. Does not implicitly {@link Protocol.MessageKey.verify|verify} messages.
* @param message MessageKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: Protocol.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MessageKey message, length delimited. Does not implicitly {@link Protocol.MessageKey.verify|verify} messages.
* @param message MessageKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: Protocol.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MessageKey message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MessageKey
* @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): Protocol.MessageKey;
/**
* Decodes a MessageKey message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MessageKey
* @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)): Protocol.MessageKey;
/**
* Verifies a MessageKey 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 MessageKey message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MessageKey
*/
public static fromObject(object: { [k: string]: any }): Protocol.MessageKey;
/**
* Creates a plain object from a MessageKey message. Also converts values to other types if specified.
* @param message MessageKey
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: Protocol.MessageKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MessageKey to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MessageKey
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
/** Namespace Adv. */
export namespace Adv {
/** Properties of a ADVSignedDeviceIdentityHMAC. */
interface IADVSignedDeviceIdentityHMAC {
/** ADVSignedDeviceIdentityHMAC details */
details?: (Uint8Array|null);
/** ADVSignedDeviceIdentityHMAC hmac */
hmac?: (Uint8Array|null);
/** ADVSignedDeviceIdentityHMAC accountType */
accountType?: (Adv.ADVEncryptionType|null);
}
/** Represents a ADVSignedDeviceIdentityHMAC. */
class ADVSignedDeviceIdentityHMAC implements IADVSignedDeviceIdentityHMAC {
/**
* Constructs a new ADVSignedDeviceIdentityHMAC.
* @param [properties] Properties to set
*/
constructor(properties?: Adv.IADVSignedDeviceIdentityHMAC);
/** ADVSignedDeviceIdentityHMAC details. */
public details?: (Uint8Array|null);
/** ADVSignedDeviceIdentityHMAC hmac. */
public hmac?: (Uint8Array|null);
/** ADVSignedDeviceIdentityHMAC accountType. */
public accountType?: (Adv.ADVEncryptionType|null);
/** ADVSignedDeviceIdentityHMAC _details. */
public _details?: "details";
/** ADVSignedDeviceIdentityHMAC _hmac. */
public _hmac?: "hmac";
/** ADVSignedDeviceIdentityHMAC _accountType. */
public _accountType?: "accountType";
/**
* Creates a new ADVSignedDeviceIdentityHMAC instance using the specified properties.
* @param [properties] Properties to set
* @returns ADVSignedDeviceIdentityHMAC instance
*/
public static create(properties?: Adv.IADVSignedDeviceIdentityHMAC): Adv.ADVSignedDeviceIdentityHMAC;
/**
* Encodes the specified ADVSignedDeviceIdentityHMAC message. Does not implicitly {@link Adv.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: Adv.IADVSignedDeviceIdentityHMAC, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ADVSignedDeviceIdentityHMAC message, length delimited. Does not implicitly {@link Adv.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: Adv.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): Adv.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)): Adv.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 }): Adv.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: Adv.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 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?: Adv.IADVSignedDeviceIdentity);
/** ADVSignedDeviceIdentity details. */
public details?: (Uint8Array|null);
/** ADVSignedDeviceIdentity accountSignatureKey. */
public accountSignatureKey?: (Uint8Array|null);
/** ADVSignedDeviceIdentity accountSignature. */
public accountSignature?: (Uint8Array|null);
/** ADVSignedDeviceIdentity deviceSignature. */
public deviceSignature?: (Uint8Array|null);
/** ADVSignedDeviceIdentity _details. */
public _details?: "details";
/** ADVSignedDeviceIdentity _accountSignatureKey. */
public _accountSignatureKey?: "accountSignatureKey";
/** ADVSignedDeviceIdentity _accountSignature. */
public _accountSignature?: "accountSignature";
/** ADVSignedDeviceIdentity _deviceSignature. */
public _deviceSignature?: "deviceSignature";
/**
* Creates a new ADVSignedDeviceIdentity instance using the specified properties.
* @param [properties] Properties to set
* @returns ADVSignedDeviceIdentity instance
*/
public static create(properties?: Adv.IADVSignedDeviceIdentity): Adv.ADVSignedDeviceIdentity;
/**
* Encodes the specified ADVSignedDeviceIdentity message. Does not implicitly {@link Adv.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: Adv.IADVSignedDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ADVSignedDeviceIdentity message, length delimited. Does not implicitly {@link Adv.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: Adv.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): Adv.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)): Adv.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 }): Adv.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: Adv.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 ADVDeviceIdentity. */
interface IADVDeviceIdentity {
/** ADVDeviceIdentity rawId */
rawId?: (number|null);
/** ADVDeviceIdentity timestamp */
timestamp?: (number|Long|null);
/** ADVDeviceIdentity keyIndex */
keyIndex?: (number|null);
/** ADVDeviceIdentity accountType */
accountType?: (Adv.ADVEncryptionType|null);
/** ADVDeviceIdentity deviceType */
deviceType?: (Adv.ADVEncryptionType|null);
}
/** Represents a ADVDeviceIdentity. */
class ADVDeviceIdentity implements IADVDeviceIdentity {
/**
* Constructs a new ADVDeviceIdentity.
* @param [properties] Properties to set
*/
constructor(properties?: Adv.IADVDeviceIdentity);
/** ADVDeviceIdentity rawId. */
public rawId?: (number|null);
/** ADVDeviceIdentity timestamp. */
public timestamp?: (number|Long|null);
/** ADVDeviceIdentity keyIndex. */
public keyIndex?: (number|null);
/** ADVDeviceIdentity accountType. */
public accountType?: (Adv.ADVEncryptionType|null);
/** ADVDeviceIdentity deviceType. */
public deviceType?: (Adv.ADVEncryptionType|null);
/** ADVDeviceIdentity _rawId. */
public _rawId?: "rawId";
/** ADVDeviceIdentity _timestamp. */
public _timestamp?: "timestamp";
/** ADVDeviceIdentity _keyIndex. */
public _keyIndex?: "keyIndex";
/** ADVDeviceIdentity _accountType. */
public _accountType?: "accountType";
/** ADVDeviceIdentity _deviceType. */
public _deviceType?: "deviceType";
/**
* Creates a new ADVDeviceIdentity instance using the specified properties.
* @param [properties] Properties to set
* @returns ADVDeviceIdentity instance
*/
public static create(properties?: Adv.IADVDeviceIdentity): Adv.ADVDeviceIdentity;
/**
* Encodes the specified ADVDeviceIdentity message. Does not implicitly {@link Adv.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: Adv.IADVDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ADVDeviceIdentity message, length delimited. Does not implicitly {@link Adv.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: Adv.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): Adv.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)): Adv.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 }): Adv.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: Adv.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;
}
/** 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?: Adv.IADVSignedKeyIndexList);
/** ADVSignedKeyIndexList details. */
public details?: (Uint8Array|null);
/** ADVSignedKeyIndexList accountSignature. */
public accountSignature?: (Uint8Array|null);
/** ADVSignedKeyIndexList accountSignatureKey. */
public accountSignatureKey?: (Uint8Array|null);
/** ADVSignedKeyIndexList _details. */
public _details?: "details";
/** ADVSignedKeyIndexList _accountSignature. */
public _accountSignature?: "accountSignature";
/** ADVSignedKeyIndexList _accountSignatureKey. */
public _accountSignatureKey?: "accountSignatureKey";
/**
* Creates a new ADVSignedKeyIndexList instance using the specified properties.
* @param [properties] Properties to set
* @returns ADVSignedKeyIndexList instance
*/
public static create(properties?: Adv.IADVSignedKeyIndexList): Adv.ADVSignedKeyIndexList;
/**
* Encodes the specified ADVSignedKeyIndexList message. Does not implicitly {@link Adv.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: Adv.IADVSignedKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ADVSignedKeyIndexList message, length delimited. Does not implicitly {@link Adv.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: Adv.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): Adv.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)): Adv.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 }): Adv.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: Adv.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 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?: (Adv.ADVEncryptionType|null);
}
/** Represents a ADVKeyIndexList. */
class ADVKeyIndexList implements IADVKeyIndexList {
/**
* Constructs a new ADVKeyIndexList.
* @param [properties] Properties to set
*/
constructor(properties?: Adv.IADVKeyIndexList);
/** ADVKeyIndexList rawId. */
public rawId?: (number|null);
/** ADVKeyIndexList timestamp. */
public timestamp?: (number|Long|null);
/** ADVKeyIndexList currentIndex. */
public currentIndex?: (number|null);
/** ADVKeyIndexList validIndexes. */
public validIndexes: number[];
/** ADVKeyIndexList accountType. */
public accountType?: (Adv.ADVEncryptionType|null);
/** ADVKeyIndexList _rawId. */
public _rawId?: "rawId";
/** ADVKeyIndexList _timestamp. */
public _timestamp?: "timestamp";
/** ADVKeyIndexList _currentIndex. */
public _currentIndex?: "currentIndex";
/** ADVKeyIndexList _accountType. */
public _accountType?: "accountType";
/**
* Creates a new ADVKeyIndexList instance using the specified properties.
* @param [properties] Properties to set
* @returns ADVKeyIndexList instance
*/
public static create(properties?: Adv.IADVKeyIndexList): Adv.ADVKeyIndexList;
/**
* Encodes the specified ADVKeyIndexList message. Does not implicitly {@link Adv.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: Adv.IADVKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ADVKeyIndexList message, length delimited. Does not implicitly {@link Adv.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: Adv.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): Adv.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)): Adv.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 }): Adv.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: Adv.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;
}
/** ADVEncryptionType enum. */
enum ADVEncryptionType {
E2EE = 0,
HOSTED = 1
}
}
/** Namespace StatusAttributions. */
export namespace StatusAttributions {
/** Properties of a StatusAttribution. */
interface IStatusAttribution {
/** StatusAttribution type */
type?: (StatusAttributions.StatusAttribution.Type|null);
/** StatusAttribution actionUrl */
actionUrl?: (string|null);
/** StatusAttribution statusReshare */
statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null);
/** StatusAttribution externalShare */
externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
/** StatusAttribution music */
music?: (StatusAttributions.StatusAttribution.IMusic|null);
/** StatusAttribution groupStatus */
groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
}
/** Represents a StatusAttribution. */
class StatusAttribution implements IStatusAttribution {
/**
* Constructs a new StatusAttribution.
* @param [properties] Properties to set
*/
constructor(properties?: StatusAttributions.IStatusAttribution);
/** StatusAttribution type. */
public type?: (StatusAttributions.StatusAttribution.Type|null);
/** StatusAttribution actionUrl. */
public actionUrl?: (string|null);
/** StatusAttribution statusReshare. */
public statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null);
/** StatusAttribution externalShare. */
public externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
/** StatusAttribution music. */
public music?: (StatusAttributions.StatusAttribution.IMusic|null);
/** StatusAttribution groupStatus. */
public groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
/** StatusAttribution _type. */
public _type?: "type";
/** StatusAttribution _actionUrl. */
public _actionUrl?: "actionUrl";
/** StatusAttribution attributionData. */
public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus");
/**
* Creates a new StatusAttribution instance using the specified properties.
* @param [properties] Properties to set
* @returns StatusAttribution instance
*/
public static create(properties?: StatusAttributions.IStatusAttribution): StatusAttributions.StatusAttribution;
/**
* Encodes the specified StatusAttribution message. Does not implicitly {@link StatusAttributions.StatusAttribution.verify|verify} messages.
* @param message StatusAttribution message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: StatusAttributions.IStatusAttribution, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StatusAttribution message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.verify|verify} messages.
* @param message StatusAttribution message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: StatusAttributions.IStatusAttribution, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StatusAttribution message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StatusAttribution
* @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): StatusAttributions.StatusAttribution;
/**
* Decodes a StatusAttribution message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StatusAttribution
* @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)): StatusAttributions.StatusAttribution;
/**
* Verifies a StatusAttribution 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 StatusAttribution message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StatusAttribution
*/
public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution;
/**
* Creates a plain object from a StatusAttribution message. Also converts values to other types if specified.
* @param message StatusAttribution
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: StatusAttributions.StatusAttribution, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StatusAttribution to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for StatusAttribution
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace StatusAttribution {
/** Properties of an ExternalShare. */
interface IExternalShare {
/** ExternalShare actionUrl */
actionUrl?: (string|null);
/** ExternalShare source */
source?: (StatusAttributions.StatusAttribution.ExternalShare.Source|null);
/** ExternalShare duration */
duration?: (number|null);
/** ExternalShare actionFallbackUrl */
actionFallbackUrl?: (string|null);
}
/** Represents an ExternalShare. */
class ExternalShare implements IExternalShare {
/**
* Constructs a new ExternalShare.
* @param [properties] Properties to set
*/
constructor(properties?: StatusAttributions.StatusAttribution.IExternalShare);
/** ExternalShare actionUrl. */
public actionUrl?: (string|null);
/** ExternalShare source. */
public source?: (StatusAttributions.StatusAttribution.ExternalShare.Source|null);
/** ExternalShare duration. */
public duration?: (number|null);
/** ExternalShare actionFallbackUrl. */
public actionFallbackUrl?: (string|null);
/** ExternalShare _actionUrl. */
public _actionUrl?: "actionUrl";
/** ExternalShare _source. */
public _source?: "source";
/** ExternalShare _duration. */
public _duration?: "duration";
/** ExternalShare _actionFallbackUrl. */
public _actionFallbackUrl?: "actionFallbackUrl";
/**
* Creates a new ExternalShare instance using the specified properties.
* @param [properties] Properties to set
* @returns ExternalShare instance
*/
public static create(properties?: StatusAttributions.StatusAttribution.IExternalShare): StatusAttributions.StatusAttribution.ExternalShare;
/**
* Encodes the specified ExternalShare message. Does not implicitly {@link StatusAttributions.StatusAttribution.ExternalShare.verify|verify} messages.
* @param message ExternalShare message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: StatusAttributions.StatusAttribution.IExternalShare, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ExternalShare message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.ExternalShare.verify|verify} messages.
* @param message ExternalShare message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: StatusAttributions.StatusAttribution.IExternalShare, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an ExternalShare message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ExternalShare
* @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): StatusAttributions.StatusAttribution.ExternalShare;
/**
* Decodes an ExternalShare message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ExternalShare
* @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)): StatusAttributions.StatusAttribution.ExternalShare;
/**
* Verifies an ExternalShare 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 ExternalShare message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ExternalShare
*/
public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.ExternalShare;
/**
* Creates a plain object from an ExternalShare message. Also converts values to other types if specified.
* @param message ExternalShare
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: StatusAttributions.StatusAttribution.ExternalShare, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ExternalShare to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ExternalShare
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace ExternalShare {
/** Source enum. */
enum Source {
UNKNOWN = 0,
INSTAGRAM = 1,
FACEBOOK = 2,
MESSENGER = 3,
SPOTIFY = 4,
YOUTUBE = 5,
PINTEREST = 6
}
}
/** Properties of a GroupStatus. */
interface IGroupStatus {
/** GroupStatus authorJid */
authorJid?: (string|null);
}
/** Represents a GroupStatus. */
class GroupStatus implements IGroupStatus {
/**
* Constructs a new GroupStatus.
* @param [properties] Properties to set
*/
constructor(properties?: StatusAttributions.StatusAttribution.IGroupStatus);
/** GroupStatus authorJid. */
public authorJid?: (string|null);
/** GroupStatus _authorJid. */
public _authorJid?: "authorJid";
/**
* Creates a new GroupStatus instance using the specified properties.
* @param [properties] Properties to set
* @returns GroupStatus instance
*/
public static create(properties?: StatusAttributions.StatusAttribution.IGroupStatus): StatusAttributions.StatusAttribution.GroupStatus;
/**
* Encodes the specified GroupStatus message. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
* @param message GroupStatus message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified GroupStatus message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
* @param message GroupStatus message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a GroupStatus message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns GroupStatus
* @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): StatusAttributions.StatusAttribution.GroupStatus;
/**
* Decodes a GroupStatus message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns GroupStatus
* @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)): StatusAttributions.StatusAttribution.GroupStatus;
/**
* Verifies a GroupStatus 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 GroupStatus message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns GroupStatus
*/
public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.GroupStatus;
/**
* Creates a plain object from a GroupStatus message. Also converts values to other types if specified.
* @param message GroupStatus
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: StatusAttributions.StatusAttribution.GroupStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this GroupStatus to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for GroupStatus
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Music. */
interface IMusic {
/** Music authorName */
authorName?: (string|null);
/** Music songId */
songId?: (string|null);
/** Music title */
title?: (string|null);
/** Music author */
author?: (string|null);
/** Music artistAttribution */
artistAttribution?: (string|null);
/** Music isExplicit */
isExplicit?: (boolean|null);
}
/** Represents a Music. */
class Music implements IMusic {
/**
* Constructs a new Music.
* @param [properties] Properties to set
*/
constructor(properties?: StatusAttributions.StatusAttribution.IMusic);
/** Music authorName. */
public authorName?: (string|null);
/** Music songId. */
public songId?: (string|null);
/** Music title. */
public title?: (string|null);
/** Music author. */
public author?: (string|null);
/** Music artistAttribution. */
public artistAttribution?: (string|null);
/** Music isExplicit. */
public isExplicit?: (boolean|null);
/** Music _authorName. */
public _authorName?: "authorName";
/** Music _songId. */
public _songId?: "songId";
/** Music _title. */
public _title?: "title";
/** Music _author. */
public _author?: "author";
/** Music _artistAttribution. */
public _artistAttribution?: "artistAttribution";
/** Music _isExplicit. */
public _isExplicit?: "isExplicit";
/**
* Creates a new Music instance using the specified properties.
* @param [properties] Properties to set
* @returns Music instance
*/
public static create(properties?: StatusAttributions.StatusAttribution.IMusic): StatusAttributions.StatusAttribution.Music;
/**
* Encodes the specified Music message. Does not implicitly {@link StatusAttributions.StatusAttribution.Music.verify|verify} messages.
* @param message Music message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: StatusAttributions.StatusAttribution.IMusic, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Music message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.Music.verify|verify} messages.
* @param message Music message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: StatusAttributions.StatusAttribution.IMusic, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Music message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Music
* @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): StatusAttributions.StatusAttribution.Music;
/**
* Decodes a Music message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Music
* @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)): StatusAttributions.StatusAttribution.Music;
/**
* Verifies a Music 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 Music message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Music
*/
public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.Music;
/**
* Creates a plain object from a Music message. Also converts values to other types if specified.
* @param message Music
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: StatusAttributions.StatusAttribution.Music, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Music to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Music
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a StatusReshare. */
interface IStatusReshare {
/** StatusReshare source */
source?: (StatusAttributions.StatusAttribution.StatusReshare.Source|null);
/** StatusReshare metadata */
metadata?: (StatusAttributions.StatusAttribution.StatusReshare.IMetadata|null);
}
/** Represents a StatusReshare. */
class StatusReshare implements IStatusReshare {
/**
* Constructs a new StatusReshare.
* @param [properties] Properties to set
*/
constructor(properties?: StatusAttributions.StatusAttribution.IStatusReshare);
/** StatusReshare source. */
public source?: (StatusAttributions.StatusAttribution.StatusReshare.Source|null);
/** StatusReshare metadata. */
public metadata?: (StatusAttributions.StatusAttribution.StatusReshare.IMetadata|null);
/** StatusReshare _source. */
public _source?: "source";
/** StatusReshare _metadata. */
public _metadata?: "metadata";
/**
* Creates a new StatusReshare instance using the specified properties.
* @param [properties] Properties to set
* @returns StatusReshare instance
*/
public static create(properties?: StatusAttributions.StatusAttribution.IStatusReshare): StatusAttributions.StatusAttribution.StatusReshare;
/**
* Encodes the specified StatusReshare message. Does not implicitly {@link StatusAttributions.StatusAttribution.StatusReshare.verify|verify} messages.
* @param message StatusReshare message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: StatusAttributions.StatusAttribution.IStatusReshare, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StatusReshare message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.StatusReshare.verify|verify} messages.
* @param message StatusReshare message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: StatusAttributions.StatusAttribution.IStatusReshare, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StatusReshare message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StatusReshare
* @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): StatusAttributions.StatusAttribution.StatusReshare;
/**
* Decodes a StatusReshare message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StatusReshare
* @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)): StatusAttributions.StatusAttribution.StatusReshare;
/**
* Verifies a StatusReshare 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 StatusReshare message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StatusReshare
*/
public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.StatusReshare;
/**
* Creates a plain object from a StatusReshare message. Also converts values to other types if specified.
* @param message StatusReshare
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: StatusAttributions.StatusAttribution.StatusReshare, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StatusReshare to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for StatusReshare
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace StatusReshare {
/** Properties of a Metadata. */
interface IMetadata {
/** Metadata duration */
duration?: (number|null);
/** Metadata channelJid */
channelJid?: (string|null);
/** Metadata channelMessageId */
channelMessageId?: (number|null);
/** Metadata hasMultipleReshares */
hasMultipleReshares?: (boolean|null);
}
/** Represents a Metadata. */
class Metadata implements IMetadata {
/**
* Constructs a new Metadata.
* @param [properties] Properties to set
*/
constructor(properties?: StatusAttributions.StatusAttribution.StatusReshare.IMetadata);
/** Metadata duration. */
public duration?: (number|null);
/** Metadata channelJid. */
public channelJid?: (string|null);
/** Metadata channelMessageId. */
public channelMessageId?: (number|null);
/** Metadata hasMultipleReshares. */
public hasMultipleReshares?: (boolean|null);
/** Metadata _duration. */
public _duration?: "duration";
/** Metadata _channelJid. */
public _channelJid?: "channelJid";
/** Metadata _channelMessageId. */
public _channelMessageId?: "channelMessageId";
/** Metadata _hasMultipleReshares. */
public _hasMultipleReshares?: "hasMultipleReshares";
/**
* Creates a new Metadata instance using the specified properties.
* @param [properties] Properties to set
* @returns Metadata instance
*/
public static create(properties?: StatusAttributions.StatusAttribution.StatusReshare.IMetadata): StatusAttributions.StatusAttribution.StatusReshare.Metadata;
/**
* Encodes the specified Metadata message. Does not implicitly {@link StatusAttributions.StatusAttribution.StatusReshare.Metadata.verify|verify} messages.
* @param message Metadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: StatusAttributions.StatusAttribution.StatusReshare.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Metadata message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.StatusReshare.Metadata.verify|verify} messages.
* @param message Metadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: StatusAttributions.StatusAttribution.StatusReshare.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Metadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Metadata
* @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): StatusAttributions.StatusAttribution.StatusReshare.Metadata;
/**
* Decodes a Metadata message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Metadata
* @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)): StatusAttributions.StatusAttribution.StatusReshare.Metadata;
/**
* Verifies a Metadata 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 Metadata message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Metadata
*/
public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.StatusReshare.Metadata;
/**
* Creates a plain object from a Metadata message. Also converts values to other types if specified.
* @param message Metadata
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: StatusAttributions.StatusAttribution.StatusReshare.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Metadata to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Metadata
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Source enum. */
enum Source {
UNKNOWN = 0,
INTERNAL_RESHARE = 1,
MENTION_RESHARE = 2,
CHANNEL_RESHARE = 3
}
}
/** Type enum. */
enum Type {
RESHARE = 0,
EXTERNAL_SHARE = 1,
MUSIC = 2,
STATUS_MENTION = 3,
GROUP_STATUS = 4
}
}
}
/** Namespace CompanionReg. */
export namespace CompanionReg {
/** Properties of a ClientPairingProps. */
interface IClientPairingProps {
/** ClientPairingProps isChatDbLidMigrated */
isChatDbLidMigrated?: (boolean|null);
/** ClientPairingProps isSyncdPureLidSession */
isSyncdPureLidSession?: (boolean|null);
/** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
isSyncdSnapshotRecoveryEnabled?: (boolean|null);
}
/** Represents a ClientPairingProps. */
class ClientPairingProps implements IClientPairingProps {
/**
* Constructs a new ClientPairingProps.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.IClientPairingProps);
/** ClientPairingProps isChatDbLidMigrated. */
public isChatDbLidMigrated?: (boolean|null);
/** ClientPairingProps isSyncdPureLidSession. */
public isSyncdPureLidSession?: (boolean|null);
/** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
/** ClientPairingProps _isChatDbLidMigrated. */
public _isChatDbLidMigrated?: "isChatDbLidMigrated";
/** ClientPairingProps _isSyncdPureLidSession. */
public _isSyncdPureLidSession?: "isSyncdPureLidSession";
/** ClientPairingProps _isSyncdSnapshotRecoveryEnabled. */
public _isSyncdSnapshotRecoveryEnabled?: "isSyncdSnapshotRecoveryEnabled";
/**
* Creates a new ClientPairingProps instance using the specified properties.
* @param [properties] Properties to set
* @returns ClientPairingProps instance
*/
public static create(properties?: CompanionReg.IClientPairingProps): CompanionReg.ClientPairingProps;
/**
* Encodes the specified ClientPairingProps message. Does not implicitly {@link CompanionReg.ClientPairingProps.verify|verify} messages.
* @param message ClientPairingProps message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.IClientPairingProps, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ClientPairingProps message, length delimited. Does not implicitly {@link CompanionReg.ClientPairingProps.verify|verify} messages.
* @param message ClientPairingProps message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.IClientPairingProps, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ClientPairingProps message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ClientPairingProps
* @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): CompanionReg.ClientPairingProps;
/**
* Decodes a ClientPairingProps message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ClientPairingProps
* @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)): CompanionReg.ClientPairingProps;
/**
* Verifies a ClientPairingProps 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 ClientPairingProps message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ClientPairingProps
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.ClientPairingProps;
/**
* Creates a plain object from a ClientPairingProps message. Also converts values to other types if specified.
* @param message ClientPairingProps
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.ClientPairingProps, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ClientPairingProps to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ClientPairingProps
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an EncryptedPairingRequest. */
interface IEncryptedPairingRequest {
/** EncryptedPairingRequest encryptedPayload */
encryptedPayload?: (Uint8Array|null);
/** EncryptedPairingRequest iv */
iv?: (Uint8Array|null);
}
/** Represents an EncryptedPairingRequest. */
class EncryptedPairingRequest implements IEncryptedPairingRequest {
/**
* Constructs a new EncryptedPairingRequest.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.IEncryptedPairingRequest);
/** EncryptedPairingRequest encryptedPayload. */
public encryptedPayload?: (Uint8Array|null);
/** EncryptedPairingRequest iv. */
public iv?: (Uint8Array|null);
/** EncryptedPairingRequest _encryptedPayload. */
public _encryptedPayload?: "encryptedPayload";
/** EncryptedPairingRequest _iv. */
public _iv?: "iv";
/**
* Creates a new EncryptedPairingRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns EncryptedPairingRequest instance
*/
public static create(properties?: CompanionReg.IEncryptedPairingRequest): CompanionReg.EncryptedPairingRequest;
/**
* Encodes the specified EncryptedPairingRequest message. Does not implicitly {@link CompanionReg.EncryptedPairingRequest.verify|verify} messages.
* @param message EncryptedPairingRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.IEncryptedPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified EncryptedPairingRequest message, length delimited. Does not implicitly {@link CompanionReg.EncryptedPairingRequest.verify|verify} messages.
* @param message EncryptedPairingRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.IEncryptedPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an EncryptedPairingRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns EncryptedPairingRequest
* @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): CompanionReg.EncryptedPairingRequest;
/**
* Decodes an EncryptedPairingRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns EncryptedPairingRequest
* @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)): CompanionReg.EncryptedPairingRequest;
/**
* Verifies an EncryptedPairingRequest 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 EncryptedPairingRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns EncryptedPairingRequest
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.EncryptedPairingRequest;
/**
* Creates a plain object from an EncryptedPairingRequest message. Also converts values to other types if specified.
* @param message EncryptedPairingRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.EncryptedPairingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this EncryptedPairingRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for EncryptedPairingRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PairingRequest. */
interface IPairingRequest {
/** PairingRequest companionPublicKey */
companionPublicKey?: (Uint8Array|null);
/** PairingRequest companionIdentityKey */
companionIdentityKey?: (Uint8Array|null);
/** PairingRequest advSecret */
advSecret?: (Uint8Array|null);
}
/** Represents a PairingRequest. */
class PairingRequest implements IPairingRequest {
/**
* Constructs a new PairingRequest.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.IPairingRequest);
/** PairingRequest companionPublicKey. */
public companionPublicKey?: (Uint8Array|null);
/** PairingRequest companionIdentityKey. */
public companionIdentityKey?: (Uint8Array|null);
/** PairingRequest advSecret. */
public advSecret?: (Uint8Array|null);
/** PairingRequest _companionPublicKey. */
public _companionPublicKey?: "companionPublicKey";
/** PairingRequest _companionIdentityKey. */
public _companionIdentityKey?: "companionIdentityKey";
/** PairingRequest _advSecret. */
public _advSecret?: "advSecret";
/**
* Creates a new PairingRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns PairingRequest instance
*/
public static create(properties?: CompanionReg.IPairingRequest): CompanionReg.PairingRequest;
/**
* Encodes the specified PairingRequest message. Does not implicitly {@link CompanionReg.PairingRequest.verify|verify} messages.
* @param message PairingRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PairingRequest message, length delimited. Does not implicitly {@link CompanionReg.PairingRequest.verify|verify} messages.
* @param message PairingRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PairingRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PairingRequest
* @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): CompanionReg.PairingRequest;
/**
* Decodes a PairingRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PairingRequest
* @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)): CompanionReg.PairingRequest;
/**
* Verifies a PairingRequest 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 PairingRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PairingRequest
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.PairingRequest;
/**
* Creates a plain object from a PairingRequest message. Also converts values to other types if specified.
* @param message PairingRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.PairingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PairingRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PairingRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a PrimaryEphemeralIdentity. */
interface IPrimaryEphemeralIdentity {
/** PrimaryEphemeralIdentity publicKey */
publicKey?: (Uint8Array|null);
/** PrimaryEphemeralIdentity nonce */
nonce?: (Uint8Array|null);
}
/** Represents a PrimaryEphemeralIdentity. */
class PrimaryEphemeralIdentity implements IPrimaryEphemeralIdentity {
/**
* Constructs a new PrimaryEphemeralIdentity.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.IPrimaryEphemeralIdentity);
/** PrimaryEphemeralIdentity publicKey. */
public publicKey?: (Uint8Array|null);
/** PrimaryEphemeralIdentity nonce. */
public nonce?: (Uint8Array|null);
/** PrimaryEphemeralIdentity _publicKey. */
public _publicKey?: "publicKey";
/** PrimaryEphemeralIdentity _nonce. */
public _nonce?: "nonce";
/**
* Creates a new PrimaryEphemeralIdentity instance using the specified properties.
* @param [properties] Properties to set
* @returns PrimaryEphemeralIdentity instance
*/
public static create(properties?: CompanionReg.IPrimaryEphemeralIdentity): CompanionReg.PrimaryEphemeralIdentity;
/**
* Encodes the specified PrimaryEphemeralIdentity message. Does not implicitly {@link CompanionReg.PrimaryEphemeralIdentity.verify|verify} messages.
* @param message PrimaryEphemeralIdentity message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.IPrimaryEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified PrimaryEphemeralIdentity message, length delimited. Does not implicitly {@link CompanionReg.PrimaryEphemeralIdentity.verify|verify} messages.
* @param message PrimaryEphemeralIdentity message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.IPrimaryEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a PrimaryEphemeralIdentity message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns PrimaryEphemeralIdentity
* @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): CompanionReg.PrimaryEphemeralIdentity;
/**
* Decodes a PrimaryEphemeralIdentity message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns PrimaryEphemeralIdentity
* @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)): CompanionReg.PrimaryEphemeralIdentity;
/**
* Verifies a PrimaryEphemeralIdentity 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 PrimaryEphemeralIdentity message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns PrimaryEphemeralIdentity
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.PrimaryEphemeralIdentity;
/**
* Creates a plain object from a PrimaryEphemeralIdentity message. Also converts values to other types if specified.
* @param message PrimaryEphemeralIdentity
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.PrimaryEphemeralIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this PrimaryEphemeralIdentity to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for PrimaryEphemeralIdentity
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ProloguePayload. */
interface IProloguePayload {
/** ProloguePayload companionEphemeralIdentity */
companionEphemeralIdentity?: (Uint8Array|null);
/** ProloguePayload commitment */
commitment?: (CompanionReg.ICompanionCommitment|null);
}
/** Represents a ProloguePayload. */
class ProloguePayload implements IProloguePayload {
/**
* Constructs a new ProloguePayload.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.IProloguePayload);
/** ProloguePayload companionEphemeralIdentity. */
public companionEphemeralIdentity?: (Uint8Array|null);
/** ProloguePayload commitment. */
public commitment?: (CompanionReg.ICompanionCommitment|null);
/** ProloguePayload _companionEphemeralIdentity. */
public _companionEphemeralIdentity?: "companionEphemeralIdentity";
/** ProloguePayload _commitment. */
public _commitment?: "commitment";
/**
* Creates a new ProloguePayload instance using the specified properties.
* @param [properties] Properties to set
* @returns ProloguePayload instance
*/
public static create(properties?: CompanionReg.IProloguePayload): CompanionReg.ProloguePayload;
/**
* Encodes the specified ProloguePayload message. Does not implicitly {@link CompanionReg.ProloguePayload.verify|verify} messages.
* @param message ProloguePayload message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ProloguePayload message, length delimited. Does not implicitly {@link CompanionReg.ProloguePayload.verify|verify} messages.
* @param message ProloguePayload message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ProloguePayload message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ProloguePayload
* @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): CompanionReg.ProloguePayload;
/**
* Decodes a ProloguePayload message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ProloguePayload
* @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)): CompanionReg.ProloguePayload;
/**
* Verifies a ProloguePayload 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 ProloguePayload message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ProloguePayload
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.ProloguePayload;
/**
* Creates a plain object from a ProloguePayload message. Also converts values to other types if specified.
* @param message ProloguePayload
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.ProloguePayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ProloguePayload to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ProloguePayload
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CompanionCommitment. */
interface ICompanionCommitment {
/** CompanionCommitment hash */
hash?: (Uint8Array|null);
}
/** Represents a CompanionCommitment. */
class CompanionCommitment implements ICompanionCommitment {
/**
* Constructs a new CompanionCommitment.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.ICompanionCommitment);
/** CompanionCommitment hash. */
public hash?: (Uint8Array|null);
/** CompanionCommitment _hash. */
public _hash?: "hash";
/**
* Creates a new CompanionCommitment instance using the specified properties.
* @param [properties] Properties to set
* @returns CompanionCommitment instance
*/
public static create(properties?: CompanionReg.ICompanionCommitment): CompanionReg.CompanionCommitment;
/**
* Encodes the specified CompanionCommitment message. Does not implicitly {@link CompanionReg.CompanionCommitment.verify|verify} messages.
* @param message CompanionCommitment message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CompanionCommitment message, length delimited. Does not implicitly {@link CompanionReg.CompanionCommitment.verify|verify} messages.
* @param message CompanionCommitment message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CompanionCommitment message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CompanionCommitment
* @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): CompanionReg.CompanionCommitment;
/**
* Decodes a CompanionCommitment message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CompanionCommitment
* @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)): CompanionReg.CompanionCommitment;
/**
* Verifies a CompanionCommitment 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 CompanionCommitment message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CompanionCommitment
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.CompanionCommitment;
/**
* Creates a plain object from a CompanionCommitment message. Also converts values to other types if specified.
* @param message CompanionCommitment
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.CompanionCommitment, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CompanionCommitment to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CompanionCommitment
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CompanionEphemeralIdentity. */
interface ICompanionEphemeralIdentity {
/** CompanionEphemeralIdentity publicKey */
publicKey?: (Uint8Array|null);
/** CompanionEphemeralIdentity deviceType */
deviceType?: (CompanionReg.DeviceProps.PlatformType|null);
/** CompanionEphemeralIdentity ref */
ref?: (string|null);
}
/** Represents a CompanionEphemeralIdentity. */
class CompanionEphemeralIdentity implements ICompanionEphemeralIdentity {
/**
* Constructs a new CompanionEphemeralIdentity.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.ICompanionEphemeralIdentity);
/** CompanionEphemeralIdentity publicKey. */
public publicKey?: (Uint8Array|null);
/** CompanionEphemeralIdentity deviceType. */
public deviceType?: (CompanionReg.DeviceProps.PlatformType|null);
/** CompanionEphemeralIdentity ref. */
public ref?: (string|null);
/** CompanionEphemeralIdentity _publicKey. */
public _publicKey?: "publicKey";
/** CompanionEphemeralIdentity _deviceType. */
public _deviceType?: "deviceType";
/** CompanionEphemeralIdentity _ref. */
public _ref?: "ref";
/**
* Creates a new CompanionEphemeralIdentity instance using the specified properties.
* @param [properties] Properties to set
* @returns CompanionEphemeralIdentity instance
*/
public static create(properties?: CompanionReg.ICompanionEphemeralIdentity): CompanionReg.CompanionEphemeralIdentity;
/**
* Encodes the specified CompanionEphemeralIdentity message. Does not implicitly {@link CompanionReg.CompanionEphemeralIdentity.verify|verify} messages.
* @param message CompanionEphemeralIdentity message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.ICompanionEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CompanionEphemeralIdentity message, length delimited. Does not implicitly {@link CompanionReg.CompanionEphemeralIdentity.verify|verify} messages.
* @param message CompanionEphemeralIdentity message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.ICompanionEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CompanionEphemeralIdentity message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CompanionEphemeralIdentity
* @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): CompanionReg.CompanionEphemeralIdentity;
/**
* Decodes a CompanionEphemeralIdentity message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CompanionEphemeralIdentity
* @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)): CompanionReg.CompanionEphemeralIdentity;
/**
* Verifies a CompanionEphemeralIdentity 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 CompanionEphemeralIdentity message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CompanionEphemeralIdentity
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.CompanionEphemeralIdentity;
/**
* Creates a plain object from a CompanionEphemeralIdentity message. Also converts values to other types if specified.
* @param message CompanionEphemeralIdentity
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.CompanionEphemeralIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CompanionEphemeralIdentity to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for CompanionEphemeralIdentity
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a DeviceProps. */
interface IDeviceProps {
/** DeviceProps os */
os?: (string|null);
/** DeviceProps version */
version?: (CompanionReg.DeviceProps.IAppVersion|null);
/** DeviceProps platformType */
platformType?: (CompanionReg.DeviceProps.PlatformType|null);
/** DeviceProps requireFullSync */
requireFullSync?: (boolean|null);
/** DeviceProps historySyncConfig */
historySyncConfig?: (CompanionReg.DeviceProps.IHistorySyncConfig|null);
}
/** Represents a DeviceProps. */
class DeviceProps implements IDeviceProps {
/**
* Constructs a new DeviceProps.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.IDeviceProps);
/** DeviceProps os. */
public os?: (string|null);
/** DeviceProps version. */
public version?: (CompanionReg.DeviceProps.IAppVersion|null);
/** DeviceProps platformType. */
public platformType?: (CompanionReg.DeviceProps.PlatformType|null);
/** DeviceProps requireFullSync. */
public requireFullSync?: (boolean|null);
/** DeviceProps historySyncConfig. */
public historySyncConfig?: (CompanionReg.DeviceProps.IHistorySyncConfig|null);
/** DeviceProps _os. */
public _os?: "os";
/** DeviceProps _version. */
public _version?: "version";
/** DeviceProps _platformType. */
public _platformType?: "platformType";
/** DeviceProps _requireFullSync. */
public _requireFullSync?: "requireFullSync";
/** DeviceProps _historySyncConfig. */
public _historySyncConfig?: "historySyncConfig";
/**
* Creates a new DeviceProps instance using the specified properties.
* @param [properties] Properties to set
* @returns DeviceProps instance
*/
public static create(properties?: CompanionReg.IDeviceProps): CompanionReg.DeviceProps;
/**
* Encodes the specified DeviceProps message. Does not implicitly {@link CompanionReg.DeviceProps.verify|verify} messages.
* @param message DeviceProps message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.IDeviceProps, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified DeviceProps message, length delimited. Does not implicitly {@link CompanionReg.DeviceProps.verify|verify} messages.
* @param message DeviceProps message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.IDeviceProps, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a DeviceProps message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns DeviceProps
* @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): CompanionReg.DeviceProps;
/**
* Decodes a DeviceProps message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns DeviceProps
* @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)): CompanionReg.DeviceProps;
/**
* Verifies a DeviceProps 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 DeviceProps message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns DeviceProps
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.DeviceProps;
/**
* Creates a plain object from a DeviceProps message. Also converts values to other types if specified.
* @param message DeviceProps
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.DeviceProps, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this DeviceProps to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for DeviceProps
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace DeviceProps {
/** Properties of an AppVersion. */
interface IAppVersion {
/** AppVersion primary */
primary?: (number|null);
/** AppVersion secondary */
secondary?: (number|null);
/** AppVersion tertiary */
tertiary?: (number|null);
/** AppVersion quaternary */
quaternary?: (number|null);
/** AppVersion quinary */
quinary?: (number|null);
}
/** Represents an AppVersion. */
class AppVersion implements IAppVersion {
/**
* Constructs a new AppVersion.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.DeviceProps.IAppVersion);
/** AppVersion primary. */
public primary?: (number|null);
/** AppVersion secondary. */
public secondary?: (number|null);
/** AppVersion tertiary. */
public tertiary?: (number|null);
/** AppVersion quaternary. */
public quaternary?: (number|null);
/** AppVersion quinary. */
public quinary?: (number|null);
/** AppVersion _primary. */
public _primary?: "primary";
/** AppVersion _secondary. */
public _secondary?: "secondary";
/** AppVersion _tertiary. */
public _tertiary?: "tertiary";
/** AppVersion _quaternary. */
public _quaternary?: "quaternary";
/** AppVersion _quinary. */
public _quinary?: "quinary";
/**
* Creates a new AppVersion instance using the specified properties.
* @param [properties] Properties to set
* @returns AppVersion instance
*/
public static create(properties?: CompanionReg.DeviceProps.IAppVersion): CompanionReg.DeviceProps.AppVersion;
/**
* Encodes the specified AppVersion message. Does not implicitly {@link CompanionReg.DeviceProps.AppVersion.verify|verify} messages.
* @param message AppVersion message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.DeviceProps.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AppVersion message, length delimited. Does not implicitly {@link CompanionReg.DeviceProps.AppVersion.verify|verify} messages.
* @param message AppVersion message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.DeviceProps.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AppVersion message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AppVersion
* @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): CompanionReg.DeviceProps.AppVersion;
/**
* Decodes an AppVersion message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AppVersion
* @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)): CompanionReg.DeviceProps.AppVersion;
/**
* Verifies an AppVersion 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 AppVersion message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AppVersion
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.DeviceProps.AppVersion;
/**
* Creates a plain object from an AppVersion message. Also converts values to other types if specified.
* @param message AppVersion
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.DeviceProps.AppVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AppVersion to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AppVersion
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a HistorySyncConfig. */
interface IHistorySyncConfig {
/** HistorySyncConfig fullSyncDaysLimit */
fullSyncDaysLimit?: (number|null);
/** HistorySyncConfig fullSyncSizeMbLimit */
fullSyncSizeMbLimit?: (number|null);
/** HistorySyncConfig storageQuotaMb */
storageQuotaMb?: (number|null);
/** HistorySyncConfig inlineInitialPayloadInE2EeMsg */
inlineInitialPayloadInE2EeMsg?: (boolean|null);
/** HistorySyncConfig recentSyncDaysLimit */
recentSyncDaysLimit?: (number|null);
/** HistorySyncConfig supportCallLogHistory */
supportCallLogHistory?: (boolean|null);
/** HistorySyncConfig supportBotUserAgentChatHistory */
supportBotUserAgentChatHistory?: (boolean|null);
/** HistorySyncConfig supportCagReactionsAndPolls */
supportCagReactionsAndPolls?: (boolean|null);
/** HistorySyncConfig supportBizHostedMsg */
supportBizHostedMsg?: (boolean|null);
/** HistorySyncConfig supportRecentSyncChunkMessageCountTuning */
supportRecentSyncChunkMessageCountTuning?: (boolean|null);
/** HistorySyncConfig supportHostedGroupMsg */
supportHostedGroupMsg?: (boolean|null);
/** HistorySyncConfig supportFbidBotChatHistory */
supportFbidBotChatHistory?: (boolean|null);
/** HistorySyncConfig supportAddOnHistorySyncMigration */
supportAddOnHistorySyncMigration?: (boolean|null);
/** HistorySyncConfig supportMessageAssociation */
supportMessageAssociation?: (boolean|null);
}
/** Represents a HistorySyncConfig. */
class HistorySyncConfig implements IHistorySyncConfig {
/**
* Constructs a new HistorySyncConfig.
* @param [properties] Properties to set
*/
constructor(properties?: CompanionReg.DeviceProps.IHistorySyncConfig);
/** HistorySyncConfig fullSyncDaysLimit. */
public fullSyncDaysLimit?: (number|null);
/** HistorySyncConfig fullSyncSizeMbLimit. */
public fullSyncSizeMbLimit?: (number|null);
/** HistorySyncConfig storageQuotaMb. */
public storageQuotaMb?: (number|null);
/** HistorySyncConfig inlineInitialPayloadInE2EeMsg. */
public inlineInitialPayloadInE2EeMsg?: (boolean|null);
/** HistorySyncConfig recentSyncDaysLimit. */
public recentSyncDaysLimit?: (number|null);
/** HistorySyncConfig supportCallLogHistory. */
public supportCallLogHistory?: (boolean|null);
/** HistorySyncConfig supportBotUserAgentChatHistory. */
public supportBotUserAgentChatHistory?: (boolean|null);
/** HistorySyncConfig supportCagReactionsAndPolls. */
public supportCagReactionsAndPolls?: (boolean|null);
/** HistorySyncConfig supportBizHostedMsg. */
public supportBizHostedMsg?: (boolean|null);
/** HistorySyncConfig supportRecentSyncChunkMessageCountTuning. */
public supportRecentSyncChunkMessageCountTuning?: (boolean|null);
/** HistorySyncConfig supportHostedGroupMsg. */
public supportHostedGroupMsg?: (boolean|null);
/** HistorySyncConfig supportFbidBotChatHistory. */
public supportFbidBotChatHistory?: (boolean|null);
/** HistorySyncConfig supportAddOnHistorySyncMigration. */
public supportAddOnHistorySyncMigration?: (boolean|null);
/** HistorySyncConfig supportMessageAssociation. */
public supportMessageAssociation?: (boolean|null);
/** HistorySyncConfig _fullSyncDaysLimit. */
public _fullSyncDaysLimit?: "fullSyncDaysLimit";
/** HistorySyncConfig _fullSyncSizeMbLimit. */
public _fullSyncSizeMbLimit?: "fullSyncSizeMbLimit";
/** HistorySyncConfig _storageQuotaMb. */
public _storageQuotaMb?: "storageQuotaMb";
/** HistorySyncConfig _inlineInitialPayloadInE2EeMsg. */
public _inlineInitialPayloadInE2EeMsg?: "inlineInitialPayloadInE2EeMsg";
/** HistorySyncConfig _recentSyncDaysLimit. */
public _recentSyncDaysLimit?: "recentSyncDaysLimit";
/** HistorySyncConfig _supportCallLogHistory. */
public _supportCallLogHistory?: "supportCallLogHistory";
/** HistorySyncConfig _supportBotUserAgentChatHistory. */
public _supportBotUserAgentChatHistory?: "supportBotUserAgentChatHistory";
/** HistorySyncConfig _supportCagReactionsAndPolls. */
public _supportCagReactionsAndPolls?: "supportCagReactionsAndPolls";
/** HistorySyncConfig _supportBizHostedMsg. */
public _supportBizHostedMsg?: "supportBizHostedMsg";
/** HistorySyncConfig _supportRecentSyncChunkMessageCountTuning. */
public _supportRecentSyncChunkMessageCountTuning?: "supportRecentSyncChunkMessageCountTuning";
/** HistorySyncConfig _supportHostedGroupMsg. */
public _supportHostedGroupMsg?: "supportHostedGroupMsg";
/** HistorySyncConfig _supportFbidBotChatHistory. */
public _supportFbidBotChatHistory?: "supportFbidBotChatHistory";
/** HistorySyncConfig _supportAddOnHistorySyncMigration. */
public _supportAddOnHistorySyncMigration?: "supportAddOnHistorySyncMigration";
/** HistorySyncConfig _supportMessageAssociation. */
public _supportMessageAssociation?: "supportMessageAssociation";
/**
* Creates a new HistorySyncConfig instance using the specified properties.
* @param [properties] Properties to set
* @returns HistorySyncConfig instance
*/
public static create(properties?: CompanionReg.DeviceProps.IHistorySyncConfig): CompanionReg.DeviceProps.HistorySyncConfig;
/**
* Encodes the specified HistorySyncConfig message. Does not implicitly {@link CompanionReg.DeviceProps.HistorySyncConfig.verify|verify} messages.
* @param message HistorySyncConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CompanionReg.DeviceProps.IHistorySyncConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HistorySyncConfig message, length delimited. Does not implicitly {@link CompanionReg.DeviceProps.HistorySyncConfig.verify|verify} messages.
* @param message HistorySyncConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CompanionReg.DeviceProps.IHistorySyncConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HistorySyncConfig message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HistorySyncConfig
* @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): CompanionReg.DeviceProps.HistorySyncConfig;
/**
* Decodes a HistorySyncConfig message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HistorySyncConfig
* @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)): CompanionReg.DeviceProps.HistorySyncConfig;
/**
* Verifies a HistorySyncConfig 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 HistorySyncConfig message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HistorySyncConfig
*/
public static fromObject(object: { [k: string]: any }): CompanionReg.DeviceProps.HistorySyncConfig;
/**
* Creates a plain object from a HistorySyncConfig message. Also converts values to other types if specified.
* @param message HistorySyncConfig
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CompanionReg.DeviceProps.HistorySyncConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HistorySyncConfig to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for HistorySyncConfig
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** PlatformType enum. */
enum PlatformType {
UNKNOWN = 0,
CHROME = 1,
FIREFOX = 2,
IE = 3,
OPERA = 4,
SAFARI = 5,
EDGE = 6,
DESKTOP = 7,
IPAD = 8,
ANDROID_TABLET = 9,
OHANA = 10,
ALOHA = 11,
CATALINA = 12,
TCL_TV = 13,
IOS_PHONE = 14,
IOS_CATALYST = 15,
ANDROID_PHONE = 16,
ANDROID_AMBIGUOUS = 17,
WEAR_OS = 18,
AR_WRIST = 19,
AR_DEVICE = 20,
UWP = 21,
VR = 22,
CLOUD_API = 23,
SMARTGLASSES = 24
}
}
}
/** Namespace MmsRetry. */
export namespace MmsRetry {
/** Properties of a ServerErrorReceipt. */
interface IServerErrorReceipt {
/** ServerErrorReceipt stanzaId */
stanzaId?: (string|null);
}
/** Represents a ServerErrorReceipt. */
class ServerErrorReceipt implements IServerErrorReceipt {
/**
* Constructs a new ServerErrorReceipt.
* @param [properties] Properties to set
*/
constructor(properties?: MmsRetry.IServerErrorReceipt);
/** ServerErrorReceipt stanzaId. */
public stanzaId?: (string|null);
/** ServerErrorReceipt _stanzaId. */
public _stanzaId?: "stanzaId";
/**
* Creates a new ServerErrorReceipt instance using the specified properties.
* @param [properties] Properties to set
* @returns ServerErrorReceipt instance
*/
public static create(properties?: MmsRetry.IServerErrorReceipt): MmsRetry.ServerErrorReceipt;
/**
* Encodes the specified ServerErrorReceipt message. Does not implicitly {@link MmsRetry.ServerErrorReceipt.verify|verify} messages.
* @param message ServerErrorReceipt message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: MmsRetry.IServerErrorReceipt, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ServerErrorReceipt message, length delimited. Does not implicitly {@link MmsRetry.ServerErrorReceipt.verify|verify} messages.
* @param message ServerErrorReceipt message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: MmsRetry.IServerErrorReceipt, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ServerErrorReceipt message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ServerErrorReceipt
* @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): MmsRetry.ServerErrorReceipt;
/**
* Decodes a ServerErrorReceipt message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ServerErrorReceipt
* @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)): MmsRetry.ServerErrorReceipt;
/**
* Verifies a ServerErrorReceipt 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 ServerErrorReceipt message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ServerErrorReceipt
*/
public static fromObject(object: { [k: string]: any }): MmsRetry.ServerErrorReceipt;
/**
* Creates a plain object from a ServerErrorReceipt message. Also converts values to other types if specified.
* @param message ServerErrorReceipt
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: MmsRetry.ServerErrorReceipt, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ServerErrorReceipt to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for ServerErrorReceipt
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a MediaRetryNotification. */
interface IMediaRetryNotification {
/** MediaRetryNotification stanzaId */
stanzaId?: (string|null);
/** MediaRetryNotification directPath */
directPath?: (string|null);
/** MediaRetryNotification result */
result?: (MmsRetry.MediaRetryNotification.ResultType|null);
/** MediaRetryNotification messageSecret */
messageSecret?: (Uint8Array|null);
}
/** Represents a MediaRetryNotification. */
class MediaRetryNotification implements IMediaRetryNotification {
/**
* Constructs a new MediaRetryNotification.
* @param [properties] Properties to set
*/
constructor(properties?: MmsRetry.IMediaRetryNotification);
/** MediaRetryNotification stanzaId. */
public stanzaId?: (string|null);
/** MediaRetryNotification directPath. */
public directPath?: (string|null);
/** MediaRetryNotification result. */
public result?: (MmsRetry.MediaRetryNotification.ResultType|null);
/** MediaRetryNotification messageSecret. */
public messageSecret?: (Uint8Array|null);
/** MediaRetryNotification _stanzaId. */
public _stanzaId?: "stanzaId";
/** MediaRetryNotification _directPath. */
public _directPath?: "directPath";
/** MediaRetryNotification _result. */
public _result?: "result";
/** MediaRetryNotification _messageSecret. */
public _messageSecret?: "messageSecret";
/**
* Creates a new MediaRetryNotification instance using the specified properties.
* @param [properties] Properties to set
* @returns MediaRetryNotification instance
*/
public static create(properties?: MmsRetry.IMediaRetryNotification): MmsRetry.MediaRetryNotification;
/**
* Encodes the specified MediaRetryNotification message. Does not implicitly {@link MmsRetry.MediaRetryNotification.verify|verify} messages.
* @param message MediaRetryNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: MmsRetry.IMediaRetryNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MediaRetryNotification message, length delimited. Does not implicitly {@link MmsRetry.MediaRetryNotification.verify|verify} messages.
* @param message MediaRetryNotification message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: MmsRetry.IMediaRetryNotification, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MediaRetryNotification message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MediaRetryNotification
* @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): MmsRetry.MediaRetryNotification;
/**
* Decodes a MediaRetryNotification message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MediaRetryNotification
* @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)): MmsRetry.MediaRetryNotification;
/**
* Verifies a MediaRetryNotification 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 MediaRetryNotification message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MediaRetryNotification
*/
public static fromObject(object: { [k: string]: any }): MmsRetry.MediaRetryNotification;
/**
* Creates a plain object from a MediaRetryNotification message. Also converts values to other types if specified.
* @param message MediaRetryNotification
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: MmsRetry.MediaRetryNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MediaRetryNotification to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MediaRetryNotification
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace MediaRetryNotification {
/** ResultType enum. */
enum ResultType {
GENERAL_ERROR = 0,
SUCCESS = 1,
NOT_FOUND = 2,
DECRYPTION_ERROR = 3
}
}
}
