@radzztnzx/rbail
Version:
Pro Bails based by Whiskeysockets, Modified by RadzzOffc
823 lines (733 loc) • 670 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 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 IAIRichResponseMessage {
messageType?: (proto.AIRichResponseMessage.AIRichResponseMessageType|null);
submessages?: (proto.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
unifiedResponse?: (proto.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
}
class AIRichResponseMessage implements IAIRichResponseMessage {
constructor(p?: proto.IAIRichResponseMessage);
public messageType?: (proto.AIRichResponseMessage.AIRichResponseMessageType|null);
public submessages: proto.AIRichResponseMessage.IAIRichResponseSubMessage[];
public unifiedResponse?: (proto.AIRichResponseMessage.IAIRichResponseUnifiedResponse|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;
}
namespace AIRichResponseMessage {
interface IAIRichResponseCodeMetadata {
codeLanguage?: (string|null);
codeBlocks?: (proto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[]|null);
}
class AIRichResponseCodeMetadata implements IAIRichResponseCodeMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseCodeMetadata);
public codeLanguage?: (string|null);
public codeBlocks: proto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[];
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseCodeMetadata): proto.AIRichResponseMessage.AIRichResponseCodeMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseCodeMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseCodeMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseCodeMetadata;
public static toObject(m: proto.AIRichResponseMessage.AIRichResponseCodeMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseCodeMetadata {
interface IAIRichResponseCodeBlock {
highlightType?: (proto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
codeContent?: (string|null);
}
class AIRichResponseCodeBlock implements IAIRichResponseCodeBlock {
constructor(p?: proto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock);
public highlightType?: (proto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
public codeContent?: (string|null);
public static create(properties?: proto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock): proto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
public static encode(m: proto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[]|null);
contentType?: (proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.ContentType|null);
}
class AIRichResponseContentItemsMetadata implements IAIRichResponseContentItemsMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseContentItemsMetadata);
public itemsMetadata: proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[];
public contentType?: (proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.ContentType|null);
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseContentItemsMetadata): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseContentItemsMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata;
public static toObject(m: proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AIRichResponseContentItemsMetadata {
interface IAIRichResponseContentItemMetadata {
reelItem?: (proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
}
class AIRichResponseContentItemMetadata implements IAIRichResponseContentItemMetadata {
constructor(p?: proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata);
public reelItem?: (proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null);
public aIRichResponseContentItem?: "reelItem";
public static create(properties?: proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
public static encode(m: proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem);
public title?: (string|null);
public profileIconUrl?: (string|null);
public thumbnailUrl?: (string|null);
public videoUrl?: (string|null);
public static create(properties?: proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
public static encode(m: proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
version?: (number|Long|null);
url?: (string|null);
loopCount?: (number|null);
}
class AIRichResponseDynamicMetadata implements IAIRichResponseDynamicMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseDynamicMetadata);
public type?: (proto.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
public version?: (number|Long|null);
public url?: (string|null);
public loopCount?: (number|null);
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseDynamicMetadata): proto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseDynamicMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.IAIRichResponseImageURL|null);
imageUrls?: (proto.AIRichResponseMessage.IAIRichResponseImageURL[]|null);
}
class AIRichResponseGridImageMetadata implements IAIRichResponseGridImageMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseGridImageMetadata);
public gridImageUrl?: (proto.AIRichResponseMessage.IAIRichResponseImageURL|null);
public imageUrls: proto.AIRichResponseMessage.IAIRichResponseImageURL[];
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseGridImageMetadata): proto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseGridImageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.IAIRichResponseImageURL);
public imagePreviewUrl?: (string|null);
public imageHighResUrl?: (string|null);
public sourceUrl?: (string|null);
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseImageURL): proto.AIRichResponseMessage.AIRichResponseImageURL;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseImageURL, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseImageURL;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseImageURL;
public static toObject(m: proto.AIRichResponseMessage.AIRichResponseImageURL, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IAIRichResponseInlineImageMetadata {
imageUrl?: (proto.AIRichResponseMessage.IAIRichResponseImageURL|null);
imageText?: (string|null);
alignment?: (proto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
tapLinkUrl?: (string|null);
}
class AIRichResponseInlineImageMetadata implements IAIRichResponseInlineImageMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata);
public imageUrl?: (proto.AIRichResponseMessage.IAIRichResponseImageURL|null);
public imageText?: (string|null);
public alignment?: (proto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
public tapLinkUrl?: (string|null);
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata): proto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[]|null);
}
class AIRichResponseLatexMetadata implements IAIRichResponseLatexMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseLatexMetadata);
public text?: (string|null);
public expressions: proto.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[];
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseLatexMetadata): proto.AIRichResponseMessage.AIRichResponseLatexMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseLatexMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseLatexMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseLatexMetadata;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression): proto.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
public static encode(m: proto.AIRichResponseMessage.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseLatexMetadata.AIRichResponseLatexExpression;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[]|null);
showInfoList?: (boolean|null);
}
class AIRichResponseMapMetadata implements IAIRichResponseMapMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseMapMetadata);
public centerLatitude?: (number|null);
public centerLongitude?: (number|null);
public latitudeDelta?: (number|null);
public longitudeDelta?: (number|null);
public annotations: proto.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[];
public showInfoList?: (boolean|null);
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseMapMetadata): proto.AIRichResponseMessage.AIRichResponseMapMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseMapMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseMapMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseMapMetadata;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation): proto.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
public static encode(m: proto.AIRichResponseMessage.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation;
public static toObject(m: proto.AIRichResponseMessage.AIRichResponseMapMetadata.AIRichResponseMapAnnotation, 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.AIRichResponseMessage.AIRichResponseSubMessageType|null);
gridImageMetadata?: (proto.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
messageText?: (string|null);
imageMetadata?: (proto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
codeMetadata?: (proto.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
tableMetadata?: (proto.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
dynamicMetadata?: (proto.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
latexMetadata?: (proto.AIRichResponseMessage.IAIRichResponseLatexMetadata|null);
mapMetadata?: (proto.AIRichResponseMessage.IAIRichResponseMapMetadata|null);
contentItemsMetadata?: (proto.AIRichResponseMessage.IAIRichResponseContentItemsMetadata|null);
}
class AIRichResponseSubMessage implements IAIRichResponseSubMessage {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseSubMessage);
public messageType?: (proto.AIRichResponseMessage.AIRichResponseSubMessageType|null);
public gridImageMetadata?: (proto.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
public messageText?: (string|null);
public imageMetadata?: (proto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
public codeMetadata?: (proto.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
public tableMetadata?: (proto.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
public dynamicMetadata?: (proto.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
public latexMetadata?: (proto.AIRichResponseMessage.IAIRichResponseLatexMetadata|null);
public mapMetadata?: (proto.AIRichResponseMessage.IAIRichResponseMapMetadata|null);
public contentItemsMetadata?: (proto.AIRichResponseMessage.IAIRichResponseContentItemsMetadata|null);
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseSubMessage): proto.AIRichResponseMessage.AIRichResponseSubMessage;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseSubMessage, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseSubMessage;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseSubMessage;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
}
class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
constructor(p?: proto.AIRichResponseMessage.IAIRichResponseTableMetadata);
public rows: proto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseTableMetadata): proto.AIRichResponseMessage.AIRichResponseTableMetadata;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseTableMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseTableMetadata;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseTableMetadata;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow);
public items: string[];
public isHeading?: (boolean|null);
public static create(properties?: proto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow): proto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
public static encode(m: proto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
public static toObject(m: proto.AIRichResponseMessage.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.AIRichResponseMessage.IAIRichResponseUnifiedResponse);
public data?: (Uint8Array|null);
public static create(properties?: proto.AIRichResponseMessage.IAIRichResponseUnifiedResponse): proto.AIRichResponseMessage.AIRichResponseUnifiedResponse;
public static encode(m: proto.AIRichResponseMessage.IAIRichResponseUnifiedResponse, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.AIRichResponseMessage.AIRichResponseUnifiedResponse;
public static fromObject(d: { [k: string]: any }): proto.AIRichResponseMessage.AIRichResponseUnifiedResponse;
public static toObject(m: proto.AIRichResponseMessage.AIRichResponseUnifiedResponse, 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);
}
class BotAgeCollectionMetadata implements IBotAgeCollectionMetadata {
constructor(p?: proto.IBotAgeCollectionMetadata);
public ageCollectionEligible?: (boolean|null);
public shouldTriggerAgeCollectionOnClient?: (boolean|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?: number): proto.BotAgeCollectionMetadata;
public static fromObject(d: { [k: string]: any }): proto.BotAgeCollectionMetadata;
public static toObject(m: proto.BotAgeCollectionMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IBotAvatarMetadata {
sentiment?: (number|null);
behaviorGraph?: (string|null);
action?: (number|null);
intensity?: (number|null);
wordCount?: (number|null);
}
class BotAvatarMetadata implements IBotAvatarMetadata {
constructor(p?: proto.IBotAvatarMetadata);
public sentiment?: (number|null);
public behaviorGraph?: (string|null);
public action?: (number|null);
public intensity?: (number|null);
public wordCount?: (number|null);
public static create(properties?: proto.IBotAvatarMetadata): proto.BotAvatarMetadata;
public static encode(m: proto.IBotAvatarMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BotAvatarMetadata;
public static fromObject(d: { [k: string]: any }): proto.BotAvatarMetadata;
public static toObject(m: proto.BotAvatarMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
interface IBotCapabilityMetadata {
capabilities?: (proto.BotCapabilityMetadata.BotCapabilityType[]|null);
}
class BotCapabilityMetadata implements IBotCapabilityMetadata {
constructor(p?: proto.IBotCapabilityMetadata);
public capabilities: proto.BotCapabilityMetadata.BotCapabilityType[];
public static create(properties?: proto.IBotCapabilityMetadata): proto.BotCapabilityMetadata;
public static encode(m: proto.IBotCapabilityMetadata, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BotCapabilityMetadata;
public static fromObject(d: { [k: string]: any }): proto.BotCapabilityMetadata;
public static toObject(m: pro