Skip to main content
Defined in: WAProto/index.d.ts:8105

Implements

Constructors

new LinkPreviewResponse()

new LinkPreviewResponse(p?): LinkPreviewResponse
Defined in: WAProto/index.d.ts:8106

Parameters

p?
ILinkPreviewResponse

Returns

LinkPreviewResponse

Properties

description?

optional description: null | string
Defined in: WAProto/index.d.ts:8109

Implementation of

ILinkPreviewResponse.description

hqThumbnail?

optional hqThumbnail: null | ILinkPreviewHighQualityThumbnail
Defined in: WAProto/index.d.ts:8113

Implementation of

ILinkPreviewResponse.hqThumbnail

matchText?

optional matchText: null | string
Defined in: WAProto/index.d.ts:8111

Implementation of

ILinkPreviewResponse.matchText

previewMetadata?

optional previewMetadata: null | IPaymentLinkPreviewMetadata
Defined in: WAProto/index.d.ts:8114

Implementation of

ILinkPreviewResponse.previewMetadata

previewType?

optional previewType: null | string
Defined in: WAProto/index.d.ts:8112

Implementation of

ILinkPreviewResponse.previewType

thumbData?

optional thumbData: null | Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:8110

Implementation of

ILinkPreviewResponse.thumbData

title?

optional title: null | string
Defined in: WAProto/index.d.ts:8108

Implementation of

ILinkPreviewResponse.title

url?

optional url: null | string
Defined in: WAProto/index.d.ts:8107

Implementation of

ILinkPreviewResponse.url

Methods

create()

static create(properties?): LinkPreviewResponse
Defined in: WAProto/index.d.ts:8115

Parameters

properties?
ILinkPreviewResponse

Returns

LinkPreviewResponse

decode()

static decode(r, l?): LinkPreviewResponse
Defined in: WAProto/index.d.ts:8117

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

LinkPreviewResponse

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:8116

Parameters

m
ILinkPreviewResponse
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): LinkPreviewResponse
Defined in: WAProto/index.d.ts:8118

Parameters

d

Returns

LinkPreviewResponse

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:8121

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:8120

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:8119

Parameters

m
LinkPreviewResponse
o?
IConversionOptions

Returns

object