Constructs a new CtwaContextData.
Optional
properties:
ICtwaContextData
Properties to set
Optional
conversionCtwaContextData conversionData.
Optional
conversionCtwaContextData conversionSource.
Optional
description
CtwaContextData description.
Optional
isCtwaContextData isSuspiciousLink.
Optional
mediaCtwaContextData mediaType.
Optional
mediaCtwaContextData mediaUrl.
Optional
sourceCtwaContextData sourceId.
Optional
sourceCtwaContextData sourceType.
Optional
sourceCtwaContextData sourceUrl.
Optional
thumbnail
CtwaContextData thumbnail.
Optional
thumbnailCtwaContextData thumbnailUrl.
Optional
title
CtwaContextData title.
Static
create
Creates a new CtwaContextData instance using the specified properties.
Optional
properties:
ICtwaContextData
Properties to set
CtwaContextData instance
Static
decode
Decodes a CtwaContextData message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
CtwaContextData
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a CtwaContextData message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
CtwaContextData
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified CtwaContextData message. Does not implicitly verify messages.
CtwaContextData message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified CtwaContextData message, length delimited. Does not implicitly verify messages.
CtwaContextData message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a CtwaContextData message from a plain object. Also converts values to their respective internal types.
Plain object
CtwaContextData
Static
getStatic
toCreates a plain object from a CtwaContextData message. Also converts values to other types if specified.
CtwaContextData
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a CtwaContextData.