we are constructing our own, chat app, which uses XMPPFramework, and they can construct any type of message packet, and can even add, top level child in root “<message>” tag like for example "<message media=0 broadcast=0 type=chatstates > " can i do so in Smack? because as of now what i know is, Message class is a final class, that makes it, hard to modify
Not yet. Someone would need to work on Parsing of custom message attributes by Judas · Pull Request #69 · igniterealtime/Smack · GitHub again.
Also note that ‘type’ is special and shouldn’t be used with custom values. That is why I suggest people from not fiddling with the top level stanza attributes and recommend to put their data in custom extension elements instead.