Add a key-value pair to a group.
The group name
The key name
The value as a Buffer
Create a new group in the metadata.
The group name to create
Get all group names in the metadata.
Array of group names
Get all keys within a specific group.
The group name
Array of key names in the group
Get the value for a specific key within a group.
The group name
The key name
The value as a Buffer
Remove an entire group from the metadata.
The group name to remove
Remove a key from a group.
The group name
The key to remove
User-defined metadata that can be attached to messages. Allows storing arbitrary key-value pairs organized by groups.
Example