What's the difference between xmpp.protocol.Message and xmpp.Message? I've used xmpp.Message and it works as expected, but I don't know how to send html messages using it.
I found a solution for sending html messages using xmpp.protocol.Message, but, in my case, it's not sending message at all. It will be greatly helpful if I know how to send html message using xmpp.Message.
thanks!
The source code for xmpp
includes this line:
from protocol import *
This means that there is no difference between xmpp.Message
and xmpp.protocol.Message
- they are the same class. You can verify this by looking at: xmpp.Message is xmpp.protocol.Message
- it will be True.