]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.h
Add time in LinphoneChatMessage and SalMessage
[linphone] / coreapi / linphonecore.h
index 6eb401638b2849787bb987ea5e525e99a7697f93..f780d2f658b76525af1ae4ed13fab42a6f17a313 100644 (file)
@@ -735,7 +735,14 @@ void linphone_chat_message_set_external_body_url(LinphoneChatMessage* message,co
  * Get text part of this message
  * @return text or NULL if no text.
  */
-const char * linphone_chat_message_get_text(const LinphoneChatMessage* message);       
+const char * linphone_chat_message_get_text(const LinphoneChatMessage* message);
+
+/**
+ * Get the time the message was sent
+ * @return time_t or NULL if no time
+ */
+time_t linphone_chat_message_get_time(const LinphoneChatMessage* message);
+
 /**
  * user pointer get function
  */