whatsapp-rust-bridge
Version:
A high-performance utilities for WhatsApp, powered by Rust and WebAssembly.
1,159 lines (1,028 loc) • 630 kB
TypeScript
// Auto-generated by scripts/gen-protobufjs-dts.ts. Do not edit by hand.
// Source: ts/generated/whatsapp.ts (ts-proto output, regenerated when the
// wacore proto schema changes).
type Long = number;
declare namespace $protobuf {
interface Writer { finish(): Uint8Array; }
type Reader = Uint8Array;
interface IConversionOptions { [key: string]: any; }
}
export namespace proto {
interface IAccount {
lid?: (string|null);
username?: (string|null);
countryCode?: (string|null);
isUsernameDeleted?: (boolean|null);
}
class Account implements IAccount {
constructor(p?: IAccount);
public lid?: (string|null);
public username?: (string|null);
public countryCode?: (string|null);
public isUsernameDeleted?: (boolean|null);
public static create(p?: IAccount): Account;
public static fromObject(d: { [k: string]: any }): Account;
public static toObject(m: Account, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAccount, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): Account;
public toJSON(): { [k: string]: any };
}
interface IActionLink {
url?: (string|null);
buttonTitle?: (string|null);
}
class ActionLink implements IActionLink {
constructor(p?: IActionLink);
public url?: (string|null);
public buttonTitle?: (string|null);
public static create(p?: IActionLink): ActionLink;
public static fromObject(d: { [k: string]: any }): ActionLink;
public static toObject(m: ActionLink, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IActionLink, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ActionLink;
public toJSON(): { [k: string]: any };
}
interface IADVDeviceIdentity {
rawId?: (number|null);
timestamp?: (number|null);
keyIndex?: (number|null);
accountType?: (proto.ADVEncryptionType|null);
deviceType?: (proto.ADVEncryptionType|null);
}
class ADVDeviceIdentity implements IADVDeviceIdentity {
constructor(p?: IADVDeviceIdentity);
public rawId?: (number|null);
public timestamp?: (number|null);
public keyIndex?: (number|null);
public accountType?: (proto.ADVEncryptionType|null);
public deviceType?: (proto.ADVEncryptionType|null);
public static create(p?: IADVDeviceIdentity): ADVDeviceIdentity;
public static fromObject(d: { [k: string]: any }): ADVDeviceIdentity;
public static toObject(m: ADVDeviceIdentity, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IADVDeviceIdentity, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ADVDeviceIdentity;
public toJSON(): { [k: string]: any };
}
enum ADVEncryptionType {
E2EE = 0,
HOSTED = 1,
}
interface IADVKeyIndexList {
rawId?: (number|null);
timestamp?: (number|null);
currentIndex?: (number|null);
validIndexes?: number[];
accountType?: (proto.ADVEncryptionType|null);
}
class ADVKeyIndexList implements IADVKeyIndexList {
constructor(p?: IADVKeyIndexList);
public rawId?: (number|null);
public timestamp?: (number|null);
public currentIndex?: (number|null);
public validIndexes?: number[];
public accountType?: (proto.ADVEncryptionType|null);
public static create(p?: IADVKeyIndexList): ADVKeyIndexList;
public static fromObject(d: { [k: string]: any }): ADVKeyIndexList;
public static toObject(m: ADVKeyIndexList, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IADVKeyIndexList, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ADVKeyIndexList;
public toJSON(): { [k: string]: any };
}
interface IADVSignedDeviceIdentity {
details?: (Uint8Array|null);
accountSignatureKey?: (Uint8Array|null);
accountSignature?: (Uint8Array|null);
deviceSignature?: (Uint8Array|null);
}
class ADVSignedDeviceIdentity implements IADVSignedDeviceIdentity {
constructor(p?: IADVSignedDeviceIdentity);
public details?: (Uint8Array|null);
public accountSignatureKey?: (Uint8Array|null);
public accountSignature?: (Uint8Array|null);
public deviceSignature?: (Uint8Array|null);
public static create(p?: IADVSignedDeviceIdentity): ADVSignedDeviceIdentity;
public static fromObject(d: { [k: string]: any }): ADVSignedDeviceIdentity;
public static toObject(m: ADVSignedDeviceIdentity, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IADVSignedDeviceIdentity, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ADVSignedDeviceIdentity;
public toJSON(): { [k: string]: any };
}
interface IADVSignedDeviceIdentityHMAC {
details?: (Uint8Array|null);
hmac?: (Uint8Array|null);
accountType?: (proto.ADVEncryptionType|null);
}
class ADVSignedDeviceIdentityHMAC implements IADVSignedDeviceIdentityHMAC {
constructor(p?: IADVSignedDeviceIdentityHMAC);
public details?: (Uint8Array|null);
public hmac?: (Uint8Array|null);
public accountType?: (proto.ADVEncryptionType|null);
public static create(p?: IADVSignedDeviceIdentityHMAC): ADVSignedDeviceIdentityHMAC;
public static fromObject(d: { [k: string]: any }): ADVSignedDeviceIdentityHMAC;
public static toObject(m: ADVSignedDeviceIdentityHMAC, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IADVSignedDeviceIdentityHMAC, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ADVSignedDeviceIdentityHMAC;
public toJSON(): { [k: string]: any };
}
interface IADVSignedKeyIndexList {
details?: (Uint8Array|null);
accountSignature?: (Uint8Array|null);
accountSignatureKey?: (Uint8Array|null);
}
class ADVSignedKeyIndexList implements IADVSignedKeyIndexList {
constructor(p?: IADVSignedKeyIndexList);
public details?: (Uint8Array|null);
public accountSignature?: (Uint8Array|null);
public accountSignatureKey?: (Uint8Array|null);
public static create(p?: IADVSignedKeyIndexList): ADVSignedKeyIndexList;
public static fromObject(d: { [k: string]: any }): ADVSignedKeyIndexList;
public static toObject(m: ADVSignedKeyIndexList, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IADVSignedKeyIndexList, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ADVSignedKeyIndexList;
public toJSON(): { [k: string]: any };
}
interface IAIHomeState {
lastFetchTime?: (number|null);
capabilityOptions?: proto.AIHomeState.IAIHomeOption[];
conversationOptions?: proto.AIHomeState.IAIHomeOption[];
}
class AIHomeState implements IAIHomeState {
constructor(p?: IAIHomeState);
public lastFetchTime?: (number|null);
public capabilityOptions?: proto.AIHomeState.IAIHomeOption[];
public conversationOptions?: proto.AIHomeState.IAIHomeOption[];
public static create(p?: IAIHomeState): AIHomeState;
public static fromObject(d: { [k: string]: any }): AIHomeState;
public static toObject(m: AIHomeState, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIHomeState, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIHomeState;
public toJSON(): { [k: string]: any };
}
namespace AIHomeState {
interface IAIHomeOption {
type?: (proto.AIHomeState.AIHomeOption.AIHomeActionType|null);
title?: (string|null);
promptText?: (string|null);
sessionId?: (string|null);
imageWdsIdentifier?: (string|null);
imageTintColor?: (string|null);
imageBackgroundColor?: (string|null);
cardTypeId?: (string|null);
}
class AIHomeOption implements IAIHomeOption {
constructor(p?: IAIHomeOption);
public type?: (proto.AIHomeState.AIHomeOption.AIHomeActionType|null);
public title?: (string|null);
public promptText?: (string|null);
public sessionId?: (string|null);
public imageWdsIdentifier?: (string|null);
public imageTintColor?: (string|null);
public imageBackgroundColor?: (string|null);
public cardTypeId?: (string|null);
public static create(p?: IAIHomeOption): AIHomeOption;
public static fromObject(d: { [k: string]: any }): AIHomeOption;
public static toObject(m: AIHomeOption, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIHomeOption, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIHomeOption;
public toJSON(): { [k: string]: any };
}
namespace AIHomeOption {
enum AIHomeActionType {
PROMPT = 0,
CREATE_IMAGE = 1,
ANIMATE_PHOTO = 2,
ANALYZE_FILE = 3,
COLLABORATE = 4,
}
}
}
interface IAIMediaCollectionMessage {
collectionId?: (string|null);
expectedMediaCount?: (number|null);
hasGlobalCaption?: (boolean|null);
}
class AIMediaCollectionMessage implements IAIMediaCollectionMessage {
constructor(p?: IAIMediaCollectionMessage);
public collectionId?: (string|null);
public expectedMediaCount?: (number|null);
public hasGlobalCaption?: (boolean|null);
public static create(p?: IAIMediaCollectionMessage): AIMediaCollectionMessage;
public static fromObject(d: { [k: string]: any }): AIMediaCollectionMessage;
public static toObject(m: AIMediaCollectionMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIMediaCollectionMessage, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIMediaCollectionMessage;
public toJSON(): { [k: string]: any };
}
interface IAIMediaCollectionMetadata {
collectionId?: (string|null);
uploadOrderIndex?: (number|null);
}
class AIMediaCollectionMetadata implements IAIMediaCollectionMetadata {
constructor(p?: IAIMediaCollectionMetadata);
public collectionId?: (string|null);
public uploadOrderIndex?: (number|null);
public static create(p?: IAIMediaCollectionMetadata): AIMediaCollectionMetadata;
public static fromObject(d: { [k: string]: any }): AIMediaCollectionMetadata;
public static toObject(m: AIMediaCollectionMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIMediaCollectionMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIMediaCollectionMetadata;
public toJSON(): { [k: string]: any };
}
interface IAIQueryFanout {
messageKey?: (proto.IMessageKey|null);
message?: (proto.IMessage|null);
timestamp?: (number|null);
}
class AIQueryFanout implements IAIQueryFanout {
constructor(p?: IAIQueryFanout);
public messageKey?: (proto.IMessageKey|null);
public message?: (proto.IMessage|null);
public timestamp?: (number|null);
public static create(p?: IAIQueryFanout): AIQueryFanout;
public static fromObject(d: { [k: string]: any }): AIQueryFanout;
public static toObject(m: AIQueryFanout, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIQueryFanout, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIQueryFanout;
public toJSON(): { [k: string]: any };
}
interface IAIRegenerateMetadata {
messageKey?: (proto.IMessageKey|null);
responseTimestampMs?: (number|null);
}
class AIRegenerateMetadata implements IAIRegenerateMetadata {
constructor(p?: IAIRegenerateMetadata);
public messageKey?: (proto.IMessageKey|null);
public responseTimestampMs?: (number|null);
public static create(p?: IAIRegenerateMetadata): AIRegenerateMetadata;
public static fromObject(d: { [k: string]: any }): AIRegenerateMetadata;
public static toObject(m: AIRegenerateMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRegenerateMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRegenerateMetadata;
public toJSON(): { [k: string]: any };
}
interface IAIRichResponseCodeMetadata {
codeLanguage?: (string|null);
codeBlocks?: proto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[];
}
class AIRichResponseCodeMetadata implements IAIRichResponseCodeMetadata {
constructor(p?: IAIRichResponseCodeMetadata);
public codeLanguage?: (string|null);
public codeBlocks?: proto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[];
public static create(p?: IAIRichResponseCodeMetadata): AIRichResponseCodeMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseCodeMetadata;
public static toObject(m: AIRichResponseCodeMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseCodeMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseCodeMetadata;
public toJSON(): { [k: string]: any };
}
namespace AIRichResponseCodeMetadata {
interface IAIRichResponseCodeBlock {
highlightType?: (proto.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
codeContent?: (string|null);
}
class AIRichResponseCodeBlock implements IAIRichResponseCodeBlock {
constructor(p?: IAIRichResponseCodeBlock);
public highlightType?: (proto.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
public codeContent?: (string|null);
public static create(p?: IAIRichResponseCodeBlock): AIRichResponseCodeBlock;
public static fromObject(d: { [k: string]: any }): AIRichResponseCodeBlock;
public static toObject(m: AIRichResponseCodeBlock, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseCodeBlock, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseCodeBlock;
public toJSON(): { [k: string]: any };
}
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,
}
}
interface IAIRichResponseContentItemsMetadata {
itemsMetadata?: proto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[];
contentType?: (proto.AIRichResponseContentItemsMetadata.ContentType|null);
}
class AIRichResponseContentItemsMetadata implements IAIRichResponseContentItemsMetadata {
constructor(p?: IAIRichResponseContentItemsMetadata);
public itemsMetadata?: proto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[];
public contentType?: (proto.AIRichResponseContentItemsMetadata.ContentType|null);
public static create(p?: IAIRichResponseContentItemsMetadata): AIRichResponseContentItemsMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseContentItemsMetadata;
public static toObject(m: AIRichResponseContentItemsMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseContentItemsMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseContentItemsMetadata;
public toJSON(): { [k: string]: any };
}
namespace AIRichResponseContentItemsMetadata {
interface IAIRichResponseContentItemMetadata {
reelItem?: (proto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
}
class AIRichResponseContentItemMetadata implements IAIRichResponseContentItemMetadata {
constructor(p?: IAIRichResponseContentItemMetadata);
public reelItem?: (proto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
public static create(p?: IAIRichResponseContentItemMetadata): AIRichResponseContentItemMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseContentItemMetadata;
public static toObject(m: AIRichResponseContentItemMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseContentItemMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseContentItemMetadata;
public toJSON(): { [k: string]: any };
}
interface IAIRichResponseReelItem {
title?: (string|null);
profileIconUrl?: (string|null);
thumbnailUrl?: (string|null);
videoUrl?: (string|null);
}
class AIRichResponseReelItem implements IAIRichResponseReelItem {
constructor(p?: IAIRichResponseReelItem);
public title?: (string|null);
public profileIconUrl?: (string|null);
public thumbnailUrl?: (string|null);
public videoUrl?: (string|null);
public static create(p?: IAIRichResponseReelItem): AIRichResponseReelItem;
public static fromObject(d: { [k: string]: any }): AIRichResponseReelItem;
public static toObject(m: AIRichResponseReelItem, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseReelItem, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseReelItem;
public toJSON(): { [k: string]: any };
}
enum ContentType {
DEFAULT = 0,
CAROUSEL = 1,
}
}
interface IAIRichResponseDynamicMetadata {
type?: (proto.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
version?: (number|null);
url?: (string|null);
loopCount?: (number|null);
}
class AIRichResponseDynamicMetadata implements IAIRichResponseDynamicMetadata {
constructor(p?: IAIRichResponseDynamicMetadata);
public type?: (proto.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
public version?: (number|null);
public url?: (string|null);
public loopCount?: (number|null);
public static create(p?: IAIRichResponseDynamicMetadata): AIRichResponseDynamicMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseDynamicMetadata;
public static toObject(m: AIRichResponseDynamicMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseDynamicMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseDynamicMetadata;
public toJSON(): { [k: string]: any };
}
namespace AIRichResponseDynamicMetadata {
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,
}
}
interface IAIRichResponseGridImageMetadata {
gridImageUrl?: (proto.IAIRichResponseImageURL|null);
imageUrls?: proto.IAIRichResponseImageURL[];
}
class AIRichResponseGridImageMetadata implements IAIRichResponseGridImageMetadata {
constructor(p?: IAIRichResponseGridImageMetadata);
public gridImageUrl?: (proto.IAIRichResponseImageURL|null);
public imageUrls?: proto.IAIRichResponseImageURL[];
public static create(p?: IAIRichResponseGridImageMetadata): AIRichResponseGridImageMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseGridImageMetadata;
public static toObject(m: AIRichResponseGridImageMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseGridImageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseGridImageMetadata;
public toJSON(): { [k: string]: any };
}
interface IAIRichResponseImageURL {
imagePreviewUrl?: (string|null);
imageHighResUrl?: (string|null);
sourceUrl?: (string|null);
}
class AIRichResponseImageURL implements IAIRichResponseImageURL {
constructor(p?: IAIRichResponseImageURL);
public imagePreviewUrl?: (string|null);
public imageHighResUrl?: (string|null);
public sourceUrl?: (string|null);
public static create(p?: IAIRichResponseImageURL): AIRichResponseImageURL;
public static fromObject(d: { [k: string]: any }): AIRichResponseImageURL;
public static toObject(m: AIRichResponseImageURL, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseImageURL, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseImageURL;
public toJSON(): { [k: string]: any };
}
interface IAIRichResponseInlineImageMetadata {
imageUrl?: (proto.IAIRichResponseImageURL|null);
imageText?: (string|null);
alignment?: (proto.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
tapLinkUrl?: (string|null);
}
class AIRichResponseInlineImageMetadata implements IAIRichResponseInlineImageMetadata {
constructor(p?: IAIRichResponseInlineImageMetadata);
public imageUrl?: (proto.IAIRichResponseImageURL|null);
public imageText?: (string|null);
public alignment?: (proto.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
public tapLinkUrl?: (string|null);
public static create(p?: IAIRichResponseInlineImageMetadata): AIRichResponseInlineImageMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseInlineImageMetadata;
public static toObject(m: AIRichResponseInlineImageMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseInlineImageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseInlineImageMetadata;
public toJSON(): { [k: string]: any };
}
namespace AIRichResponseInlineImageMetadata {
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,
}
}
interface IAIRichResponseLatexMetadata {
text?: (string|null);
expressions?: proto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[];
}
class AIRichResponseLatexMetadata implements IAIRichResponseLatexMetadata {
constructor(p?: IAIRichResponseLatexMetadata);
public text?: (string|null);
public expressions?: proto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[];
public static create(p?: IAIRichResponseLatexMetadata): AIRichResponseLatexMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseLatexMetadata;
public static toObject(m: AIRichResponseLatexMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseLatexMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseLatexMetadata;
public toJSON(): { [k: string]: any };
}
namespace AIRichResponseLatexMetadata {
interface IAIRichResponseLatexExpression {
latexExpression?: (string|null);
url?: (string|null);
width?: (number|null);
height?: (number|null);
fontHeight?: (number|null);
imageTopPadding?: (number|null);
imageLeadingPadding?: (number|null);
imageBottomPadding?: (number|null);
imageTrailingPadding?: (number|null);
}
class AIRichResponseLatexExpression implements IAIRichResponseLatexExpression {
constructor(p?: IAIRichResponseLatexExpression);
public latexExpression?: (string|null);
public url?: (string|null);
public width?: (number|null);
public height?: (number|null);
public fontHeight?: (number|null);
public imageTopPadding?: (number|null);
public imageLeadingPadding?: (number|null);
public imageBottomPadding?: (number|null);
public imageTrailingPadding?: (number|null);
public static create(p?: IAIRichResponseLatexExpression): AIRichResponseLatexExpression;
public static fromObject(d: { [k: string]: any }): AIRichResponseLatexExpression;
public static toObject(m: AIRichResponseLatexExpression, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseLatexExpression, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseLatexExpression;
public toJSON(): { [k: string]: any };
}
}
interface IAIRichResponseMapMetadata {
centerLatitude?: (number|null);
centerLongitude?: (number|null);
latitudeDelta?: (number|null);
longitudeDelta?: (number|null);
annotations?: proto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[];
showInfoList?: (boolean|null);
}
class AIRichResponseMapMetadata implements IAIRichResponseMapMetadata {
constructor(p?: IAIRichResponseMapMetadata);
public centerLatitude?: (number|null);
public centerLongitude?: (number|null);
public latitudeDelta?: (number|null);
public longitudeDelta?: (number|null);
public annotations?: proto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[];
public showInfoList?: (boolean|null);
public static create(p?: IAIRichResponseMapMetadata): AIRichResponseMapMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseMapMetadata;
public static toObject(m: AIRichResponseMapMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseMapMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseMapMetadata;
public toJSON(): { [k: string]: any };
}
namespace AIRichResponseMapMetadata {
interface IAIRichResponseMapAnnotation {
annotationNumber?: (number|null);
latitude?: (number|null);
longitude?: (number|null);
title?: (string|null);
body?: (string|null);
}
class AIRichResponseMapAnnotation implements IAIRichResponseMapAnnotation {
constructor(p?: IAIRichResponseMapAnnotation);
public annotationNumber?: (number|null);
public latitude?: (number|null);
public longitude?: (number|null);
public title?: (string|null);
public body?: (string|null);
public static create(p?: IAIRichResponseMapAnnotation): AIRichResponseMapAnnotation;
public static fromObject(d: { [k: string]: any }): AIRichResponseMapAnnotation;
public static toObject(m: AIRichResponseMapAnnotation, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseMapAnnotation, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseMapAnnotation;
public toJSON(): { [k: string]: any };
}
}
interface IAIRichResponseMessage {
messageType?: (proto.AIRichResponseMessageType|null);
submessages?: proto.IAIRichResponseSubMessage[];
unifiedResponse?: (proto.IAIRichResponseUnifiedResponse|null);
contextInfo?: (proto.IContextInfo|null);
}
class AIRichResponseMessage implements IAIRichResponseMessage {
constructor(p?: IAIRichResponseMessage);
public messageType?: (proto.AIRichResponseMessageType|null);
public submessages?: proto.IAIRichResponseSubMessage[];
public unifiedResponse?: (proto.IAIRichResponseUnifiedResponse|null);
public contextInfo?: (proto.IContextInfo|null);
public static create(p?: IAIRichResponseMessage): AIRichResponseMessage;
public static fromObject(d: { [k: string]: any }): AIRichResponseMessage;
public static toObject(m: AIRichResponseMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseMessage, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseMessage;
public toJSON(): { [k: string]: any };
}
enum AIRichResponseMessageType {
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0,
AI_RICH_RESPONSE_TYPE_STANDARD = 1,
}
interface IAIRichResponseSubMessage {
messageType?: (proto.AIRichResponseSubMessageType|null);
gridImageMetadata?: (proto.IAIRichResponseGridImageMetadata|null);
messageText?: (string|null);
imageMetadata?: (proto.IAIRichResponseInlineImageMetadata|null);
codeMetadata?: (proto.IAIRichResponseCodeMetadata|null);
tableMetadata?: (proto.IAIRichResponseTableMetadata|null);
dynamicMetadata?: (proto.IAIRichResponseDynamicMetadata|null);
latexMetadata?: (proto.IAIRichResponseLatexMetadata|null);
mapMetadata?: (proto.IAIRichResponseMapMetadata|null);
contentItemsMetadata?: (proto.IAIRichResponseContentItemsMetadata|null);
}
class AIRichResponseSubMessage implements IAIRichResponseSubMessage {
constructor(p?: IAIRichResponseSubMessage);
public messageType?: (proto.AIRichResponseSubMessageType|null);
public gridImageMetadata?: (proto.IAIRichResponseGridImageMetadata|null);
public messageText?: (string|null);
public imageMetadata?: (proto.IAIRichResponseInlineImageMetadata|null);
public codeMetadata?: (proto.IAIRichResponseCodeMetadata|null);
public tableMetadata?: (proto.IAIRichResponseTableMetadata|null);
public dynamicMetadata?: (proto.IAIRichResponseDynamicMetadata|null);
public latexMetadata?: (proto.IAIRichResponseLatexMetadata|null);
public mapMetadata?: (proto.IAIRichResponseMapMetadata|null);
public contentItemsMetadata?: (proto.IAIRichResponseContentItemsMetadata|null);
public static create(p?: IAIRichResponseSubMessage): AIRichResponseSubMessage;
public static fromObject(d: { [k: string]: any }): AIRichResponseSubMessage;
public static toObject(m: AIRichResponseSubMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseSubMessage, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseSubMessage;
public toJSON(): { [k: string]: any };
}
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,
}
interface IAIRichResponseTableMetadata {
rows?: proto.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
title?: (string|null);
}
class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
constructor(p?: IAIRichResponseTableMetadata);
public rows?: proto.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
public title?: (string|null);
public static create(p?: IAIRichResponseTableMetadata): AIRichResponseTableMetadata;
public static fromObject(d: { [k: string]: any }): AIRichResponseTableMetadata;
public static toObject(m: AIRichResponseTableMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseTableMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseTableMetadata;
public toJSON(): { [k: string]: any };
}
namespace AIRichResponseTableMetadata {
interface IAIRichResponseTableRow {
items?: string[];
isHeading?: (boolean|null);
}
class AIRichResponseTableRow implements IAIRichResponseTableRow {
constructor(p?: IAIRichResponseTableRow);
public items?: string[];
public isHeading?: (boolean|null);
public static create(p?: IAIRichResponseTableRow): AIRichResponseTableRow;
public static fromObject(d: { [k: string]: any }): AIRichResponseTableRow;
public static toObject(m: AIRichResponseTableRow, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseTableRow, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseTableRow;
public toJSON(): { [k: string]: any };
}
}
interface IAIRichResponseUnifiedResponse {
data?: (Uint8Array|null);
}
class AIRichResponseUnifiedResponse implements IAIRichResponseUnifiedResponse {
constructor(p?: IAIRichResponseUnifiedResponse);
public data?: (Uint8Array|null);
public static create(p?: IAIRichResponseUnifiedResponse): AIRichResponseUnifiedResponse;
public static fromObject(d: { [k: string]: any }): AIRichResponseUnifiedResponse;
public static toObject(m: AIRichResponseUnifiedResponse, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIRichResponseUnifiedResponse, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIRichResponseUnifiedResponse;
public toJSON(): { [k: string]: any };
}
interface IAIThreadInfo {
serverInfo?: (proto.AIThreadInfo.IAIThreadServerInfo|null);
clientInfo?: (proto.AIThreadInfo.IAIThreadClientInfo|null);
}
class AIThreadInfo implements IAIThreadInfo {
constructor(p?: IAIThreadInfo);
public serverInfo?: (proto.AIThreadInfo.IAIThreadServerInfo|null);
public clientInfo?: (proto.AIThreadInfo.IAIThreadClientInfo|null);
public static create(p?: IAIThreadInfo): AIThreadInfo;
public static fromObject(d: { [k: string]: any }): AIThreadInfo;
public static toObject(m: AIThreadInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIThreadInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIThreadInfo;
public toJSON(): { [k: string]: any };
}
namespace AIThreadInfo {
interface IAIThreadClientInfo {
type?: (proto.AIThreadInfo.AIThreadClientInfo.AIThreadType|null);
sourceChatJid?: (string|null);
}
class AIThreadClientInfo implements IAIThreadClientInfo {
constructor(p?: IAIThreadClientInfo);
public type?: (proto.AIThreadInfo.AIThreadClientInfo.AIThreadType|null);
public sourceChatJid?: (string|null);
public static create(p?: IAIThreadClientInfo): AIThreadClientInfo;
public static fromObject(d: { [k: string]: any }): AIThreadClientInfo;
public static toObject(m: AIThreadClientInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIThreadClientInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIThreadClientInfo;
public toJSON(): { [k: string]: any };
}
namespace AIThreadClientInfo {
enum AIThreadType {
UNKNOWN = 0,
DEFAULT = 1,
INCOGNITO = 2,
SIDE_CHAT = 3,
}
}
interface IAIThreadServerInfo {
title?: (string|null);
}
class AIThreadServerInfo implements IAIThreadServerInfo {
constructor(p?: IAIThreadServerInfo);
public title?: (string|null);
public static create(p?: IAIThreadServerInfo): AIThreadServerInfo;
public static fromObject(d: { [k: string]: any }): AIThreadServerInfo;
public static toObject(m: AIThreadServerInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAIThreadServerInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIThreadServerInfo;
public toJSON(): { [k: string]: any };
}
}
interface IAutoDownloadSettings {
downloadImages?: (boolean|null);
downloadAudio?: (boolean|null);
downloadVideo?: (boolean|null);
downloadDocuments?: (boolean|null);
}
class AutoDownloadSettings implements IAutoDownloadSettings {
constructor(p?: IAutoDownloadSettings);
public downloadImages?: (boolean|null);
public downloadAudio?: (boolean|null);
public downloadVideo?: (boolean|null);
public downloadDocuments?: (boolean|null);
public static create(p?: IAutoDownloadSettings): AutoDownloadSettings;
public static fromObject(d: { [k: string]: any }): AutoDownloadSettings;
public static toObject(m: AutoDownloadSettings, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAutoDownloadSettings, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AutoDownloadSettings;
public toJSON(): { [k: string]: any };
}
interface IAvatarUserSettings {
fbid?: (string|null);
password?: (string|null);
}
class AvatarUserSettings implements IAvatarUserSettings {
constructor(p?: IAvatarUserSettings);
public fbid?: (string|null);
public password?: (string|null);
public static create(p?: IAvatarUserSettings): AvatarUserSettings;
public static fromObject(d: { [k: string]: any }): AvatarUserSettings;
public static toObject(m: AvatarUserSettings, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IAvatarUserSettings, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AvatarUserSettings;
public toJSON(): { [k: string]: any };
}
interface IBizAccountLinkInfo {
whatsappBizAcctFbid?: (number|null);
whatsappAcctNumber?: (string|null);
issueTime?: (number|null);
hostStorage?: (proto.BizAccountLinkInfo.HostStorageType|null);
accountType?: (proto.BizAccountLinkInfo.AccountType|null);
}
class BizAccountLinkInfo implements IBizAccountLinkInfo {
constructor(p?: IBizAccountLinkInfo);
public whatsappBizAcctFbid?: (number|null);
public whatsappAcctNumber?: (string|null);
public issueTime?: (number|null);
public hostStorage?: (proto.BizAccountLinkInfo.HostStorageType|null);
public accountType?: (proto.BizAccountLinkInfo.AccountType|null);
public static create(p?: IBizAccountLinkInfo): BizAccountLinkInfo;
public static fromObject(d: { [k: string]: any }): BizAccountLinkInfo;
public static toObject(m: BizAccountLinkInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBizAccountLinkInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BizAccountLinkInfo;
public toJSON(): { [k: string]: any };
}
namespace BizAccountLinkInfo {
enum AccountType {
ENTERPRISE = 0,
}
enum HostStorageType {
ON_PREMISE = 0,
FACEBOOK = 1,
}
}
interface IBizAccountPayload {
vnameCert?: (proto.IVerifiedNameCertificate|null);
bizAcctLinkInfo?: (Uint8Array|null);
}
class BizAccountPayload implements IBizAccountPayload {
constructor(p?: IBizAccountPayload);
public vnameCert?: (proto.IVerifiedNameCertificate|null);
public bizAcctLinkInfo?: (Uint8Array|null);
public static create(p?: IBizAccountPayload): BizAccountPayload;
public static fromObject(d: { [k: string]: any }): BizAccountPayload;
public static toObject(m: BizAccountPayload, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBizAccountPayload, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BizAccountPayload;
public toJSON(): { [k: string]: any };
}
interface IBizIdentityInfo {
vlevel?: (proto.BizIdentityInfo.VerifiedLevelValue|null);
vnameCert?: (proto.IVerifiedNameCertificate|null);
signed?: (boolean|null);
revoked?: (boolean|null);
hostStorage?: (proto.BizIdentityInfo.HostStorageType|null);
actualActors?: (proto.BizIdentityInfo.ActualActorsType|null);
privacyModeTs?: (number|null);
featureControls?: (number|null);
}
class BizIdentityInfo implements IBizIdentityInfo {
constructor(p?: IBizIdentityInfo);
public vlevel?: (proto.BizIdentityInfo.VerifiedLevelValue|null);
public vnameCert?: (proto.IVerifiedNameCertificate|null);
public signed?: (boolean|null);
public revoked?: (boolean|null);
public hostStorage?: (proto.BizIdentityInfo.HostStorageType|null);
public actualActors?: (proto.BizIdentityInfo.ActualActorsType|null);
public privacyModeTs?: (number|null);
public featureControls?: (number|null);
public static create(p?: IBizIdentityInfo): BizIdentityInfo;
public static fromObject(d: { [k: string]: any }): BizIdentityInfo;
public static toObject(m: BizIdentityInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBizIdentityInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BizIdentityInfo;
public toJSON(): { [k: string]: any };
}
namespace BizIdentityInfo {
enum ActualActorsType {
SELF = 0,
BSP = 1,
}
enum HostStorageType {
ON_PREMISE = 0,
FACEBOOK = 1,
}
enum VerifiedLevelValue {
UNKNOWN = 0,
LOW = 1,
HIGH = 2,
}
}
interface IBotAgeCollectionMetadata {
ageCollectionEligible?: (boolean|null);
shouldTriggerAgeCollectionOnClient?: (boolean|null);
ageCollectionType?: (proto.BotAgeCollectionMetadata.AgeCollectionType|null);
}
class BotAgeCollectionMetadata implements IBotAgeCollectionMetadata {
constructor(p?: IBotAgeCollectionMetadata);
public ageCollectionEligible?: (boolean|null);
public shouldTriggerAgeCollectionOnClient?: (boolean|null);
public ageCollectionType?: (proto.BotAgeCollectionMetadata.AgeCollectionType|null);
public static create(p?: IBotAgeCollectionMetadata): BotAgeCollectionMetadata;
public static fromObject(d: { [k: string]: any }): BotAgeCollectionMetadata;
public static toObject(m: BotAgeCollectionMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBotAgeCollectionMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotAgeCollectionMetadata;
public toJSON(): { [k: string]: any };
}
namespace BotAgeCollectionMetadata {
enum AgeCollectionType {
O18_BINARY = 0,
WAFFLE = 1,
}
}
interface IBotAgentDeepLinkMetadata {
token?: (string|null);
}
class BotAgentDeepLinkMetadata implements IBotAgentDeepLinkMetadata {
constructor(p?: IBotAgentDeepLinkMetadata);
public token?: (string|null);
public static create(p?: IBotAgentDeepLinkMetadata): BotAgentDeepLinkMetadata;
public static fromObject(d: { [k: string]: any }): BotAgentDeepLinkMetadata;
public static toObject(m: BotAgentDeepLinkMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBotAgentDeepLinkMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotAgentDeepLinkMetadata;
public toJSON(): { [k: string]: any };
}
interface IBotAgentMetadata {
deepLinkMetadata?: (proto.IBotAgentDeepLinkMetadata|null);
}
class BotAgentMetadata implements IBotAgentMetadata {
constructor(p?: IBotAgentMetadata);
public deepLinkMetadata?: (proto.IBotAgentDeepLinkMetadata|null);
public static create(p?: IBotAgentMetadata): BotAgentMetadata;
public static fromObject(d: { [k: string]: any }): BotAgentMetadata;
public static toObject(m: BotAgentMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBotAgentMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotAgentMetadata;
public toJSON(): { [k: string]: any };
}
interface IBotCapabilityMetadata {
capabilities?: proto.BotCapabilityMetadata.BotCapabilityType[];
}
class BotCapabilityMetadata implements IBotCapabilityMetadata {
constructor(p?: IBotCapabilityMetadata);
public capabilities?: proto.BotCapabilityMetadata.BotCapabilityType[];
public static create(p?: IBotCapabilityMetadata): BotCapabilityMetadata;
public static fromObject(d: { [k: string]: any }): BotCapabilityMetadata;
public static toObject(m: BotCapabilityMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBotCapabilityMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotCapabilityMetadata;
public toJSON(): { [k: string]: any };
}
namespace BotCapabilityMetadata {
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,
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37,
RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38,
RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39,
AI_SHARED_MEMORY = 40,
RICH_RESPONSE_UNIFIED_SOURCES = 41,
RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42,
RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43,
RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44,
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45,
RICH_RESPONSE_IN_APP_SURVEY = 46,
AI_RESPONSE_MODEL_BRANDING = 47,
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48,
RICH_RESPONSE_UR_REASONING = 49,
RICH_RESPONSE_UR_ZEITGEIST_CITATIONS = 50,
RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL = 51,
AI_IMAGINE_LOADING_INDICATOR = 52,
RICH_RESPONSE_UR_IMAGINE = 53,
AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR = 54,
RICH_RESPONSE_UR_BLOKS_ENABLED = 55,
RICH_RESPONSE_INLINE_LINKS_ENABLED = 56,
RICH_RESPONSE_UR_IMAGINE_VIDEO = 57,
JSON_PATCH_STREAMING = 58,
AI_TAB_FORCE_CLIPPY = 59,
UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60,
AI_SUBSCRIPTION_ENABLED = 61,
}
}
interface IBotDocumentMessageMetadata {
pluginType?: (proto.BotDocumentMessageMetadata.DocumentPluginType|null);
}
class BotDocumentMessageMetadata implements IBotDocumentMessageMetadata {
constructor(p?: IBotDocumentMessageMetadata);
public pluginType?: (proto.BotDocumentMessageMetadata.DocumentPluginType|null);
public static create(p?: IBotDocumentMessageMetadata): BotDocumentMessageMetadata;
public static fromObject(d: { [k: string]: any }): BotDocumentMessageMetadata;
public static toObject(m: BotDocumentMessageMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBotDocumentMessageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotDocumentMessageMetadata;
public toJSON(): { [k: string]: any };
}
namespace BotDocumentMessageMetadata {
enum DocumentPluginType {
TEXT_EXTRACTION = 0,
OCR_AND_IMAGES = 1,
}
}
interface IBotFeedbackMessage {
messageKey?: (proto.IMessageKey|null);
kind?: (proto.BotFeedbackMessage.BotFeedbackKind|null);
text?: (string|null);
kindNegative?: (number|null);
kindPositive?: (number|null);
kindReport?: (proto.BotFeedbackMessage.ReportKind|null);
sideBySideSurveyMetadata?: (proto.BotFeedbackMessage.ISideBySideSurveyMetadata|null);
}
class BotFeedbackMessage implements IBotFeedbackMessage {
constructor(p?: IBotFeedbackMessage);
public messageKey?: (proto.IMessageKey|null);
public kind?: (proto.BotFeedbackMessage.BotFeedbackKind|null);
public text?: (string|null);
public kindNegative?: (number|null);
public kindPositive?: (number|null);
public kindReport?: (proto.BotFeedbackMessage.ReportKind|null);
public sideBySideSurveyMetadata?: (proto.BotFeedbackMessage.ISideBySideSurveyMetadata|null);
public static create(p?: IBotFeedbackMessage): BotFeedbackMessage;
public static fromObject(d: { [k: string]: any }): BotFeedbackMessage;
public static toObject(m: BotFeedbackMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
public static encode(m: IBotFeedbackMessage, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotFeedbackMessage;
public toJSON(): { [k: string]: any };
}
namespace BotFeedbackMessage {
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,
}
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,
}
enum BotFeedbackKindMultiplePositive {
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1,
}
enum ReportKind {
NONE = 0,
GENERIC = 1,
}
interface ISideBySideSurveyMetadata {
selectedRequestId?: (string|null);
surveyId?: (number|null);
simonSessionFbid?: (string