Adds a custom field to the message. Note: This key can not already exist or it will throw an error. Note: The key must not contain a period in it, an error will be thrown.
the name of the custom field
the value of this custom field
Gets the resulting message that has been extended at the point of calling it. Note: modifying the returned value will have no effect.
Generated using TypeDoc