diff --git a/docs/html/mrchat_8h_source.html b/docs/html/mrchat_8h_source.html index 074250a0..4634eff3 100644 --- a/docs/html/mrchat_8h_source.html +++ b/docs/html/mrchat_8h_source.html @@ -89,18 +89,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
file written, event may be needed to make the file public to some system services.
data1=file name, data2=mime type
+#define MR_EVENT_INCOMING_MSG 2005 | +
There is a fresh message.
+Typically, the user will show an notification when receiving this message.
data1 | chat_id |
data2 | msg_id |
#define MR_EVENT_MSG_DELIVERED 2010 | +
A single message is send successfully (state changed from MR_STATE_OUT_PENDING to MR_STATE_OUT_DELIVERED, see mrmsg_t::m_state).
+data1 | chat_id |
data2 | msg_id |
#define MR_EVENT_MSG_READ 2015 | +
A single message is read by the receiver (state changed from MR_STATE_OUT_DELIVERED to MR_STATE_OUT_MDN_RCVD, see mrmsg_t::m_state).
+data1 | chat_id |
data2 | msg_id |
one or more messages changed for some reasons in the database - added or removed.
-For added messages: data1=chat_id, data2=msg_id
+One or more messages changed for some reasons in the database.
+Messages may be added or removed.
+data1 | chat_id for single added messages |
data2 | msg_id for single added messages |
Passed to the callback given to mrmailbox_new(). This event should not be reported using a popup or something like that.
data1 | 0 |
data2 | Info string |
data2 | Warning string |
Chat ID under which this object is available in the database.
+Chat ID under which the chat is filed in the database.
+Special IDs:
"Normal" chat IDs are larger than these special IDs (larger than MR_CHAT_ID_LAST_SPECIAL).
@@ -259,7 +265,12 @@ char *Chat type, one of the MR_CHAT_TYPE_* constants.
+Chat type.
+If the chat type is not set, it is MR_CHAT_TYPE_UNDEFINED (0).
diff --git a/docs/html/structmrcontact__t.html b/docs/html/structmrcontact__t.html index a0fd97ad..2799bf17 100644 --- a/docs/html/structmrcontact__t.html +++ b/docs/html/structmrcontact__t.html @@ -118,9 +118,8 @@ voiduint32_t mrcontact_t::m_id | +
The contact ID.
+Special message IDs:
Normal contact IDs are larger than these special ones (larger than MR_CONTACT_ID_LAST_SPECIAL).
+save message in database and send it, the given message object is not unref'd by the function but some fields are set up!
-Sends the event MR_EVENT_MSGS_CHANGED on succcess. However, this does not imply, the message really reached the recipient - sending may be delayed eg. due to network problems. However, from your view, you're done with the message. Sooner or later it will find its way.
+Sends the event MR_EVENT_MSGS_CHANGED on succcess. However, this does not imply, the message really reached the recipient - sending may be delayed eg. due to network problems. However, from your view, you're done with the message. Sooner or later it will find its way.