Skip to content

Input vs output formats for groups #51

@ghost

Description

The object representation of groups appear to be different between the format requires for sending messages, and the format received on the other end. For example, a sent group will be

groups: [
      {
        index: 453,
        delim: 447,
        entries: [
          {
            447: 'D',
            448: 'demo-9',
            452: '3'
          },
          {
            447: 'D',
            448: 'demo-8',
            452: '1'
          }
        ]
      },
...
    ]

But on the received side, it will be

groups: { 
     '453':
      [ { tags: { '447': 'D', '448': 'demo-9', '452': '3' } },
        { tags: { '447': 'D', '448': 'demo-8', '452': '1' } } 
      ] 
}

Are these formats documented somewhere? Is there a library to convert one to the other if I want to compare a sent message to the corresponding received message on the other side?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions