File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525class RsHistory ;
2626class ChatId ;
2727
28+ /* *
29+ * @jsonapi{development}
30+ */
2831extern RsHistory *rsHistory;
2932
3033#include < string>
@@ -112,7 +115,7 @@ class RsHistory
112115 /* !
113116 * @brief clears the message history for a given chat peer
114117 * @jsonapi{development}
115- * @param[in] chatPeerID Id of the chat/peer for which the history needs to be wiped
118+ * @param[in] chatPeerId Id of the chat/peer for which the history needs to be wiped
116119 */
117120 virtual void clear (const ChatId &chatPeerId) = 0;
118121
@@ -128,7 +131,7 @@ class RsHistory
128131 * @brief Set whether chat history is enabled or not
129132 * @jsonapi{development}
130133 * @param[in] chat_type Type of chat (see list of constants above)
131- * @param[in] enabled Desired state of the variable
134+ * @param[in] enable Desired state of the variable
132135 */
133136 virtual void setEnable (uint32_t chat_type, bool enable) = 0;
134137
@@ -152,6 +155,7 @@ class RsHistory
152155
153156 /* !
154157 * @brief Sets the maximum number of messages to save
158+ * @jsonapi{development}
155159 * @param[in] chat_type Type of chat for that number limit
156160 * @param[in] count Max umber of messages, 0 meaning indefinitely
157161 */
You can’t perform that action at this time.
0 commit comments