@whiskeysockets/baileys
Version:
A WebSockets library for interacting with WhatsApp Web
925 lines (822 loc) • 789 kB
TypeScript
import * as $protobuf from "protobufjs";
import Long = require("long");
export namespace proto {
interface IADVDeviceIdentity {
rawId?: (number|null);
timestamp?: (number|Long|null);
keyIndex?: (number|null);
accountType?: (proto.ADVEncryptionType|null);
deviceType?: (proto.ADVEncryptionType|null);
}
class ADVDeviceIdentity implements IADVDeviceIdentity {
constructor(p?: proto.IADVDeviceIdentity);
public rawId?: (number|null);
public timestamp?: (number|Long|null);
public keyIndex?: (number|null);
public accountType?: (proto.ADVEncryptionType|null);
public deviceType?: (proto.ADVEncryptionType|null);
public static create(properties?: proto.IADVDeviceIdentity): proto.ADVDeviceIdentity;
public static encode(m: proto.IADVDeviceIdentity, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ADVDeviceIdentity;
public static fromObject(d: { [k: string]: any }): proto.ADVDeviceIdentity;
public static toObject(m: proto.ADVDeviceIdentity, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
enum ADVEncryptionType {
E2EE = 0,
HOSTED = 1
}
interface IADVKeyIndexList {
rawId?: (number|null);
timestamp?: (number|Long|null);
currentIndex?: (number|null);
validIndexes?: (number[]|null);
accountType?: (proto.ADVEncryptionType|null);
}
class ADVKeyIndexList implements IADVKeyIndexList {
constructor(p?: proto.IADVKeyIndexList);
public rawId?: (number|null);
public timestamp?: (number|Long|null);
public currentIndex?: (number|null);
public validIndexes: number[];
public accountType?: (proto.ADVEncryptionType|null);
public static create(properties?: proto.IADVKeyIndexList): proto.ADVKeyIndexList;
public static encode(m: proto.IADVKeyIndexList, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ADVKeyIndexList;
public static fromObject(d: { [k: string]: any }): proto.ADVKeyIndexList;
public static toObject(m: proto.ADVKeyIndexList, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IADVSignedDeviceIdentity {
details?: (Uint8Array|null);
accountSignatureKey?: (Uint8Array|null);
accountSignature?: (Uint8Array|null);
deviceSignature?: (Uint8Array|null);
}
class ADVSignedDeviceIdentity implements IADVSignedDeviceIdentity {
constructor(p?: proto.IADVSignedDeviceIdentity);
public details?: (Uint8Array|null);
public accountSignatureKey?: (Uint8Array|null);
public accountSignature?: (Uint8Array|null);
public deviceSignature?: (Uint8Array|null);
public static create(properties?: proto.IADVSignedDeviceIdentity): proto.ADVSignedDeviceIdentity;
public static encode(m: proto.IADVSignedDeviceIdentity, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ADVSignedDeviceIdentity;
public static fromObject(d: { [k: string]: any }): proto.ADVSignedDeviceIdentity;
public static toObject(m: proto.ADVSignedDeviceIdentity, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IADVSignedDeviceIdentityHMAC {
details?: (Uint8Array|null);
hmac?: (Uint8Array|null);
accountType?: (proto.ADVEncryptionType|null);
}
class ADVSignedDeviceIdentityHMAC implements IADVSignedDeviceIdentityHMAC {
constructor(p?: proto.IADVSignedDeviceIdentityHMAC);
public details?: (Uint8Array|null);
public hmac?: (Uint8Array|null);
public accountType?: (proto.ADVEncryptionType|null);
public static create(properties?: proto.IADVSignedDeviceIdentityHMAC): proto.ADVSignedDeviceIdentityHMAC;
public static encode(m: proto.IADVSignedDeviceIdentityHMAC, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ADVSignedDeviceIdentityHMAC;
public static fromObject(d: { [k: string]: any }): proto.ADVSignedDeviceIdentityHMAC;
public static toObject(m: proto.ADVSignedDeviceIdentityHMAC, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IADVSignedKeyIndexList {
details?: (Uint8Array|null);
accountSignature?: (Uint8Array|null);
accountSignatureKey?: (Uint8Array|null);
}
class ADVSignedKeyIndexList implements IADVSignedKeyIndexList {
constructor(p?: proto.IADVSignedKeyIndexList);
public details?: (Uint8Array|null);
public accountSignature?: (Uint8Array|null);
public accountSignatureKey?: (Uint8Array|null);
public static create(properties?: proto.IADVSignedKeyIndexList): proto.ADVSignedKeyIndexList;
public static encode(m: proto.IADVSignedKeyIndexList, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ADVSignedKeyIndexList;
public static fromObject(d: { [k: string]: any }): proto.ADVSignedKeyIndexList;
public static toObject(m: proto.ADVSignedKeyIndexList, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIHomeState {
lastFetchTime?: (number|Long|null);
capabilityOptions?: (proto.AIHomeState.IAIHomeOption[]|null);
conversationOptions?: (proto.AIHomeState.IAIHomeOption[]|null);
}
class AIHomeState implements IAIHomeState {
constructor(p?: proto.IAIHomeState);
public lastFetchTime?: (number|Long|null);
public capabilityOptions: proto.AIHomeState.IAIHomeOption[];
public conversationOptions: proto.AIHomeState.IAIHomeOption[];
public static create(properties?: proto.IAIHomeState): proto.AIHomeState;
public static encode(m: proto.IAIHomeState, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIHomeState;
public static fromObject(d: { [k: string]: any }): proto.AIHomeState;
public static toObject(m: proto.AIHomeState, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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);
}
class AIHomeOption implements IAIHomeOption {
constructor(p?: proto.AIHomeState.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 static create(properties?: proto.AIHomeState.IAIHomeOption): proto.AIHomeState.AIHomeOption;
public static encode(m: proto.AIHomeState.IAIHomeOption, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIHomeState.AIHomeOption;
public static fromObject(d: { [k: string]: any }): proto.AIHomeState.AIHomeOption;
public static toObject(m: proto.AIHomeState.AIHomeOption, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIHomeOption {
enum AIHomeActionType {
PROMPT = 0,
CREATE_IMAGE = 1,
ANIMATE_PHOTO = 2,
ANALYZE_FILE = 3
}
}
}
interface IAIQueryFanout {
messageKey?: (proto.IMessageKey|null);
message?: (proto.IMessage|null);
timestamp?: (number|Long|null);
}
class AIQueryFanout implements IAIQueryFanout {
constructor(p?: proto.IAIQueryFanout);
public messageKey?: (proto.IMessageKey|null);
public message?: (proto.IMessage|null);
public timestamp?: (number|Long|null);
public static create(properties?: proto.IAIQueryFanout): proto.AIQueryFanout;
public static encode(m: proto.IAIQueryFanout, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIQueryFanout;
public static fromObject(d: { [k: string]: any }): proto.AIQueryFanout;
public static toObject(m: proto.AIQueryFanout, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIRegenerateMetadata {
messageKey?: (proto.IMessageKey|null);
responseTimestampMs?: (number|Long|null);
}
class AIRegenerateMetadata implements IAIRegenerateMetadata {
constructor(p?: proto.IAIRegenerateMetadata);
public messageKey?: (proto.IMessageKey|null);
public responseTimestampMs?: (number|Long|null);
public static create(properties?: proto.IAIRegenerateMetadata): proto.AIRegenerateMetadata;
public static encode(m: proto.IAIRegenerateMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRegenerateMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRegenerateMetadata;
public static toObject(m: proto.AIRegenerateMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIRichResponseCodeMetadata {
codeLanguage?: (string|null);
codeBlocks?: (proto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[]|null);
}
class AIRichResponseCodeMetadata implements IAIRichResponseCodeMetadata {
constructor(p?: proto.IAIRichResponseCodeMetadata);
public codeLanguage?: (string|null);
public codeBlocks: proto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[];
public static create(properties?: proto.IAIRichResponseCodeMetadata): proto.AIRichResponseCodeMetadata;
public static encode(m: proto.IAIRichResponseCodeMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseCodeMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseCodeMetadata;
public static toObject(m: proto.AIRichResponseCodeMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseCodeMetadata {
interface IAIRichResponseCodeBlock {
highlightType?: (proto.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
codeContent?: (string|null);
}
class AIRichResponseCodeBlock implements IAIRichResponseCodeBlock {
constructor(p?: proto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock);
public highlightType?: (proto.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
public codeContent?: (string|null);
public static create(properties?: proto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock): proto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
public static encode(m: proto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
public static toObject(m: proto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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[]|null);
contentType?: (proto.AIRichResponseContentItemsMetadata.ContentType|null);
}
class AIRichResponseContentItemsMetadata implements IAIRichResponseContentItemsMetadata {
constructor(p?: proto.IAIRichResponseContentItemsMetadata);
public itemsMetadata: proto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[];
public contentType?: (proto.AIRichResponseContentItemsMetadata.ContentType|null);
public static create(properties?: proto.IAIRichResponseContentItemsMetadata): proto.AIRichResponseContentItemsMetadata;
public static encode(m: proto.IAIRichResponseContentItemsMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseContentItemsMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseContentItemsMetadata;
public static toObject(m: proto.AIRichResponseContentItemsMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseContentItemsMetadata {
interface IAIRichResponseContentItemMetadata {
reelItem?: (proto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
}
class AIRichResponseContentItemMetadata implements IAIRichResponseContentItemMetadata {
constructor(p?: proto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata);
public reelItem?: (proto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
public aIRichResponseContentItem?: "reelItem";
public static create(properties?: proto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata): proto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
public static encode(m: proto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
public static toObject(m: proto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIRichResponseReelItem {
title?: (string|null);
profileIconUrl?: (string|null);
thumbnailUrl?: (string|null);
videoUrl?: (string|null);
}
class AIRichResponseReelItem implements IAIRichResponseReelItem {
constructor(p?: proto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem);
public title?: (string|null);
public profileIconUrl?: (string|null);
public thumbnailUrl?: (string|null);
public videoUrl?: (string|null);
public static create(properties?: proto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem): proto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
public static encode(m: proto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
public static toObject(m: proto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
enum ContentType {
DEFAULT = 0,
CAROUSEL = 1
}
}
interface IAIRichResponseDynamicMetadata {
type?: (proto.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
version?: (number|Long|null);
url?: (string|null);
loopCount?: (number|null);
}
class AIRichResponseDynamicMetadata implements IAIRichResponseDynamicMetadata {
constructor(p?: proto.IAIRichResponseDynamicMetadata);
public type?: (proto.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
public version?: (number|Long|null);
public url?: (string|null);
public loopCount?: (number|null);
public static create(properties?: proto.IAIRichResponseDynamicMetadata): proto.AIRichResponseDynamicMetadata;
public static encode(m: proto.IAIRichResponseDynamicMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseDynamicMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseDynamicMetadata;
public static toObject(m: proto.AIRichResponseDynamicMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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[]|null);
}
class AIRichResponseGridImageMetadata implements IAIRichResponseGridImageMetadata {
constructor(p?: proto.IAIRichResponseGridImageMetadata);
public gridImageUrl?: (proto.IAIRichResponseImageURL|null);
public imageUrls: proto.IAIRichResponseImageURL[];
public static create(properties?: proto.IAIRichResponseGridImageMetadata): proto.AIRichResponseGridImageMetadata;
public static encode(m: proto.IAIRichResponseGridImageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseGridImageMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseGridImageMetadata;
public static toObject(m: proto.AIRichResponseGridImageMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIRichResponseImageURL {
imagePreviewUrl?: (string|null);
imageHighResUrl?: (string|null);
sourceUrl?: (string|null);
}
class AIRichResponseImageURL implements IAIRichResponseImageURL {
constructor(p?: proto.IAIRichResponseImageURL);
public imagePreviewUrl?: (string|null);
public imageHighResUrl?: (string|null);
public sourceUrl?: (string|null);
public static create(properties?: proto.IAIRichResponseImageURL): proto.AIRichResponseImageURL;
public static encode(m: proto.IAIRichResponseImageURL, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseImageURL;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseImageURL;
public static toObject(m: proto.AIRichResponseImageURL, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIRichResponseInlineImageMetadata {
imageUrl?: (proto.IAIRichResponseImageURL|null);
imageText?: (string|null);
alignment?: (proto.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
tapLinkUrl?: (string|null);
}
class AIRichResponseInlineImageMetadata implements IAIRichResponseInlineImageMetadata {
constructor(p?: proto.IAIRichResponseInlineImageMetadata);
public imageUrl?: (proto.IAIRichResponseImageURL|null);
public imageText?: (string|null);
public alignment?: (proto.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
public tapLinkUrl?: (string|null);
public static create(properties?: proto.IAIRichResponseInlineImageMetadata): proto.AIRichResponseInlineImageMetadata;
public static encode(m: proto.IAIRichResponseInlineImageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseInlineImageMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseInlineImageMetadata;
public static toObject(m: proto.AIRichResponseInlineImageMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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[]|null);
}
class AIRichResponseLatexMetadata implements IAIRichResponseLatexMetadata {
constructor(p?: proto.IAIRichResponseLatexMetadata);
public text?: (string|null);
public expressions: proto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[];
public static create(properties?: proto.IAIRichResponseLatexMetadata): proto.AIRichResponseLatexMetadata;
public static encode(m: proto.IAIRichResponseLatexMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseLatexMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseLatexMetadata;
public static toObject(m: proto.AIRichResponseLatexMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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?: proto.AIRichResponseLatexMetadata.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(properties?: proto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression): proto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
public static encode(m: proto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
public static toObject(m: proto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
interface IAIRichResponseMapMetadata {
centerLatitude?: (number|null);
centerLongitude?: (number|null);
latitudeDelta?: (number|null);
longitudeDelta?: (number|null);
annotations?: (proto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[]|null);
showInfoList?: (boolean|null);
}
class AIRichResponseMapMetadata implements IAIRichResponseMapMetadata {
constructor(p?: proto.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(properties?: proto.IAIRichResponseMapMetadata): proto.AIRichResponseMapMetadata;
public static encode(m: proto.IAIRichResponseMapMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMapMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMapMetadata;
public static toObject(m: proto.AIRichResponseMapMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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?: proto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation);
public annotationNumber?: (number|null);
public latitude?: (number|null);
public longitude?: (number|null);
public title?: (string|null);
public body?: (string|null);
public static create(properties?: proto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation): proto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
public static encode(m: proto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
public static toObject(m: proto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
interface IAIRichResponseMessage {
messageType?: (proto.AIRichResponseMessageType|null);
submessages?: (proto.IAIRichResponseSubMessage[]|null);
unifiedResponse?: (proto.IAIRichResponseUnifiedResponse|null);
contextInfo?: (proto.IContextInfo|null);
}
class AIRichResponseMessage implements IAIRichResponseMessage {
constructor(p?: proto.IAIRichResponseMessage);
public messageType?: (proto.AIRichResponseMessageType|null);
public submessages: proto.IAIRichResponseSubMessage[];
public unifiedResponse?: (proto.IAIRichResponseUnifiedResponse|null);
public contextInfo?: (proto.IContextInfo|null);
public static create(properties?: proto.IAIRichResponseMessage): proto.AIRichResponseMessage;
public static encode(m: proto.IAIRichResponseMessage, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage;
public static toObject(m: proto.AIRichResponseMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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?: proto.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(properties?: proto.IAIRichResponseSubMessage): proto.AIRichResponseSubMessage;
public static encode(m: proto.IAIRichResponseSubMessage, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseSubMessage;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseSubMessage;
public static toObject(m: proto.AIRichResponseSubMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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[]|null);
title?: (string|null);
}
class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
constructor(p?: proto.IAIRichResponseTableMetadata);
public rows: proto.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
public title?: (string|null);
public static create(properties?: proto.IAIRichResponseTableMetadata): proto.AIRichResponseTableMetadata;
public static encode(m: proto.IAIRichResponseTableMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseTableMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseTableMetadata;
public static toObject(m: proto.AIRichResponseTableMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseTableMetadata {
interface IAIRichResponseTableRow {
items?: (string[]|null);
isHeading?: (boolean|null);
}
class AIRichResponseTableRow implements IAIRichResponseTableRow {
constructor(p?: proto.AIRichResponseTableMetadata.IAIRichResponseTableRow);
public items: string[];
public isHeading?: (boolean|null);
public static create(properties?: proto.AIRichResponseTableMetadata.IAIRichResponseTableRow): proto.AIRichResponseTableMetadata.AIRichResponseTableRow;
public static encode(m: proto.AIRichResponseTableMetadata.IAIRichResponseTableRow, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseTableMetadata.AIRichResponseTableRow;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseTableMetadata.AIRichResponseTableRow;
public static toObject(m: proto.AIRichResponseTableMetadata.AIRichResponseTableRow, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
interface IAIRichResponseUnifiedResponse {
data?: (Uint8Array|null);
}
class AIRichResponseUnifiedResponse implements IAIRichResponseUnifiedResponse {
constructor(p?: proto.IAIRichResponseUnifiedResponse);
public data?: (Uint8Array|null);
public static create(properties?: proto.IAIRichResponseUnifiedResponse): proto.AIRichResponseUnifiedResponse;
public static encode(m: proto.IAIRichResponseUnifiedResponse, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseUnifiedResponse;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseUnifiedResponse;
public static toObject(m: proto.AIRichResponseUnifiedResponse, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIThreadInfo {
serverInfo?: (proto.AIThreadInfo.IAIThreadServerInfo|null);
clientInfo?: (proto.AIThreadInfo.IAIThreadClientInfo|null);
}
class AIThreadInfo implements IAIThreadInfo {
constructor(p?: proto.IAIThreadInfo);
public serverInfo?: (proto.AIThreadInfo.IAIThreadServerInfo|null);
public clientInfo?: (proto.AIThreadInfo.IAIThreadClientInfo|null);
public static create(properties?: proto.IAIThreadInfo): proto.AIThreadInfo;
public static encode(m: proto.IAIThreadInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIThreadInfo;
public static fromObject(d: { [k: string]: any }): proto.AIThreadInfo;
public static toObject(m: proto.AIThreadInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIThreadInfo {
interface IAIThreadClientInfo {
type?: (proto.AIThreadInfo.AIThreadClientInfo.AIThreadType|null);
}
class AIThreadClientInfo implements IAIThreadClientInfo {
constructor(p?: proto.AIThreadInfo.IAIThreadClientInfo);
public type?: (proto.AIThreadInfo.AIThreadClientInfo.AIThreadType|null);
public static create(properties?: proto.AIThreadInfo.IAIThreadClientInfo): proto.AIThreadInfo.AIThreadClientInfo;
public static encode(m: proto.AIThreadInfo.IAIThreadClientInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIThreadInfo.AIThreadClientInfo;
public static fromObject(d: { [k: string]: any }): proto.AIThreadInfo.AIThreadClientInfo;
public static toObject(m: proto.AIThreadInfo.AIThreadClientInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIThreadClientInfo {
enum AIThreadType {
UNKNOWN = 0,
DEFAULT = 1,
INCOGNITO = 2
}
}
interface IAIThreadServerInfo {
title?: (string|null);
}
class AIThreadServerInfo implements IAIThreadServerInfo {
constructor(p?: proto.AIThreadInfo.IAIThreadServerInfo);
public title?: (string|null);
public static create(properties?: proto.AIThreadInfo.IAIThreadServerInfo): proto.AIThreadInfo.AIThreadServerInfo;
public static encode(m: proto.AIThreadInfo.IAIThreadServerInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIThreadInfo.AIThreadServerInfo;
public static fromObject(d: { [k: string]: any }): proto.AIThreadInfo.AIThreadServerInfo;
public static toObject(m: proto.AIThreadInfo.AIThreadServerInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
interface IAccount {
lid?: (string|null);
username?: (string|null);
countryCode?: (string|null);
isUsernameDeleted?: (boolean|null);
}
class Account implements IAccount {
constructor(p?: proto.IAccount);
public lid?: (string|null);
public username?: (string|null);
public countryCode?: (string|null);
public isUsernameDeleted?: (boolean|null);
public static create(properties?: proto.IAccount): proto.Account;
public static encode(m: proto.IAccount, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Account;
public static fromObject(d: { [k: string]: any }): proto.Account;
public static toObject(m: proto.Account, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IActionLink {
url?: (string|null);
buttonTitle?: (string|null);
}
class ActionLink implements IActionLink {
constructor(p?: proto.IActionLink);
public url?: (string|null);
public buttonTitle?: (string|null);
public static create(properties?: proto.IActionLink): proto.ActionLink;
public static encode(m: proto.IActionLink, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ActionLink;
public static fromObject(d: { [k: string]: any }): proto.ActionLink;
public static toObject(m: proto.ActionLink, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAutoDownloadSettings {
downloadImages?: (boolean|null);
downloadAudio?: (boolean|null);
downloadVideo?: (boolean|null);
downloadDocuments?: (boolean|null);
}
class AutoDownloadSettings implements IAutoDownloadSettings {
constructor(p?: proto.IAutoDownloadSettings);
public downloadImages?: (boolean|null);
public downloadAudio?: (boolean|null);
public downloadVideo?: (boolean|null);
public downloadDocuments?: (boolean|null);
public static create(properties?: proto.IAutoDownloadSettings): proto.AutoDownloadSettings;
public static encode(m: proto.IAutoDownloadSettings, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AutoDownloadSettings;
public static fromObject(d: { [k: string]: any }): proto.AutoDownloadSettings;
public static toObject(m: proto.AutoDownloadSettings, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAvatarUserSettings {
fbid?: (string|null);
password?: (string|null);
}
class AvatarUserSettings implements IAvatarUserSettings {
constructor(p?: proto.IAvatarUserSettings);
public fbid?: (string|null);
public password?: (string|null);
public static create(properties?: proto.IAvatarUserSettings): proto.AvatarUserSettings;
public static encode(m: proto.IAvatarUserSettings, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AvatarUserSettings;
public static fromObject(d: { [k: string]: any }): proto.AvatarUserSettings;
public static toObject(m: proto.AvatarUserSettings, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IBizAccountLinkInfo {
whatsappBizAcctFbid?: (number|Long|null);
whatsappAcctNumber?: (string|null);
issueTime?: (number|Long|null);
hostStorage?: (proto.BizAccountLinkInfo.HostStorageType|null);
accountType?: (proto.BizAccountLinkInfo.AccountType|null);
}
class BizAccountLinkInfo implements IBizAccountLinkInfo {
constructor(p?: proto.IBizAccountLinkInfo);
public whatsappBizAcctFbid?: (number|Long|null);
public whatsappAcctNumber?: (string|null);
public issueTime?: (number|Long|null);
public hostStorage?: (proto.BizAccountLinkInfo.HostStorageType|null);
public accountType?: (proto.BizAccountLinkInfo.AccountType|null);
public static create(properties?: proto.IBizAccountLinkInfo): proto.BizAccountLinkInfo;
public static encode(m: proto.IBizAccountLinkInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BizAccountLinkInfo;
public static fromObject(d: { [k: string]: any }): proto.BizAccountLinkInfo;
public static toObject(m: proto.BizAccountLinkInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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?: proto.IBizAccountPayload);
public vnameCert?: (proto.IVerifiedNameCertificate|null);
public bizAcctLinkInfo?: (Uint8Array|null);
public static create(properties?: proto.IBizAccountPayload): proto.BizAccountPayload;
public static encode(m: proto.IBizAccountPayload, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BizAccountPayload;
public static fromObject(d: { [k: string]: any }): proto.BizAccountPayload;
public static toObject(m: proto.BizAccountPayload, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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|Long|null);
featureControls?: (number|Long|null);
}
class BizIdentityInfo implements IBizIdentityInfo {
constructor(p?: proto.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|Long|null);
public featureControls?: (number|Long|null);
public static create(properties?: proto.IBizIdentityInfo): proto.BizIdentityInfo;
public static encode(m: proto.IBizIdentityInfo, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BizIdentityInfo;
public static fromObject(d: { [k: string]: any }): proto.BizIdentityInfo;
public static toObject(m: proto.BizIdentityInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
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?: proto.IBotAgeCollectionMetadata);
public ageCollectionEligible?: (boolean|null);
public shouldTriggerAgeCollectionOnClient?: (boolean|null);
public ageCollectionType?: (proto.BotAgeCollectionMetadata.AgeCollectionType|null);
public static create(properties?: proto.IBotAgeCollectionMetadata): proto.BotAgeCollectionMetadata;
public static encode(m: proto.IBotAgeCollectionMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: numbe