# toXML method

XMLNode toXML()

## Implementation

    XMLNode toXML() {
      return XMLNode.xmlns(
        tag: 'reactions',
        xmlns: messageReactionsXmlns,
        attributes: <String, String>{
          'id': messageId,
        },
        children: emojis.map((emoji) {
          return XMLNode(
            tag: 'reaction',
            text: emoji,
          );
        }).toList(),
      );
    }