Constructs a new HydratedURLButton.
Optional
properties:
IHydratedURLButton
Properties to set
HydratedURLButton displayText.
HydratedURLButton url.
Static
create
Creates a new HydratedURLButton instance using the specified properties.
Optional
properties:
IHydratedURLButton
Properties to set
HydratedURLButton instance
Static
decode
Decodes a HydratedURLButton message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
HydratedURLButton
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a HydratedURLButton message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
HydratedURLButton
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified HydratedURLButton message. Does not implicitly verify messages.
HydratedURLButton message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified HydratedURLButton message, length delimited. Does not implicitly verify messages.
HydratedURLButton message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a HydratedURLButton message from a plain object. Also converts values to their respective internal types.
Plain object
HydratedURLButton
Static
toCreates a plain object from a HydratedURLButton message. Also converts values to other types if specified.
HydratedURLButton
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a HydratedURLButton.