Class: TapLinkAction
Defined in: WAProto/index.d.ts:50737
Represents a TapLinkAction.
Implements
Constructors
new TapLinkAction()
new TapLinkAction(
properties
?):TapLinkAction
Defined in: WAProto/index.d.ts:50743
Constructs a new TapLinkAction.
Parameters
properties?
Properties to set
Returns
Properties
tapUrl?
optional
tapUrl:null
|string
Defined in: WAProto/index.d.ts:50749
TapLinkAction tapUrl.
Implementation of
title?
optional
title:null
|string
Defined in: WAProto/index.d.ts:50746
TapLinkAction title.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:50819
Converts this TapLinkAction to JSON.
Returns
object
JSON object
create()
static
create(properties
?):TapLinkAction
Defined in: WAProto/index.d.ts:50756
Creates a new TapLinkAction instance using the specified properties.
Parameters
properties?
Properties to set
Returns
TapLinkAction instance
decode()
static
decode(reader
,length
?):TapLinkAction
Defined in: WAProto/index.d.ts:50782
Decodes a TapLinkAction message from the specified reader or buffer.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
length?
number
Message length if known beforehand
Returns
TapLinkAction
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):TapLinkAction
Defined in: WAProto/index.d.ts:50791
Decodes a TapLinkAction message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
TapLinkAction
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
static
encode(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:50764
Encodes the specified TapLinkAction message. Does not implicitly verify messages.
Parameters
message
TapLinkAction message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
static
encodeDelimited(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:50772
Encodes the specified TapLinkAction message, length delimited. Does not implicitly verify messages.
Parameters
message
TapLinkAction message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):TapLinkAction
Defined in: WAProto/index.d.ts:50805
Creates a TapLinkAction message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
TapLinkAction
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:50826
Gets the default type url for TapLinkAction
Parameters
typeUrlPrefix?
string
your custom typeUrlPrefix(default "type.googleapis.com")
Returns
string
The default type url
toObject()
static
toObject(message
,options
?):object
Defined in: WAProto/index.d.ts:50813
Creates a plain object from a TapLinkAction message. Also converts values to other types if specified.
Parameters
message
TapLinkAction
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:50798
Verifies a TapLinkAction message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not