chenqiyang
2021-09-01 8fb1bc18bad99b2de79783848b41d07da01315a7
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-chat-message.h
old mode 100755 new mode 100644
@@ -357,39 +357,16 @@
/**
 * Gets the forward info if available as a string
 * @param[in] msg #LinphoneChatMessage object.
 * @return the original sender of the message if it has been forwarded, null otherwise
 * @return the #LinphoneContent buffer if available, null otherwise
 */
LINPHONE_PUBLIC const char *linphone_chat_message_get_forward_info (const LinphoneChatMessage *msg);
/**
 * Returns true if the chat message is an ephemeral message.
 * An ephemeral message will automatically disappear from the recipient's screen after the message has been viewed.
 * @param[in] msg #LinphoneChatMessage object.
 * @return true if it is an ephemeral message, false otherwise
 */
LINPHONE_PUBLIC bool_t linphone_chat_message_is_ephemeral(const LinphoneChatMessage *msg);
/**
 * Returns lifetime of an ephemeral message.
 * The lifetime is the duration after which the ephemeral message will disappear once viewed.
 * @param[in] msg #LinphoneChatMessage object.
 * @return the lifetime of an ephemeral message, by default 86400s.
 */
LINPHONE_PUBLIC long linphone_chat_message_get_ephemeral_lifetime (const LinphoneChatMessage *msg);
/**
 * Returns the real time at which an ephemeral message expires and will be deleted.
 * @param[in] msg #LinphoneChatMessage object.
 * @return the time at which an ephemeral message expires. 0 means the message has not been read.
 */
LINPHONE_PUBLIC time_t linphone_chat_message_get_ephemeral_expire_time (const LinphoneChatMessage *msg);
/**
 * Fulfill a chat message char by char. Message linked to a Real Time Text Call send char in realtime following RFC 4103/T.140
 * To commit a message, use #linphone_chat_room_send_message
 * @param[in] msg #LinphoneChatMessage object.
 * @param[in] character T.140 char
 * @return 0 if succeed.
 * @returns 0 if succeed.
 */
LINPHONE_PUBLIC LinphoneStatus linphone_chat_message_put_char (LinphoneChatMessage *msg, uint32_t character);
@@ -483,13 +460,6 @@
   const LinphoneChatMessage *msg,
   LinphoneChatMessageState state
);
/**
 * Gets the callId accociated with the message
 * @param[in] msg #LinphoneChatMessage object.
 * @return the call Id
 */
LINPHONE_PUBLIC const char *linphone_chat_message_get_call_id(const LinphoneChatMessage *msg);
/**
 * @}