add new information about MySocials development
[mysocials] / www / api.html
index aaf0b7c..06bc6fc 100644 (file)
@@ -1,5 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html 
+       PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <td bgcolor="#E2E2D2" class="border" height="40"><table width="85%" border="0" cellspacing="0" cellpadding="0">
       <tr align="center">
        <td><a href="index.html" class="toplinks">About</a></td>
+       <td class="toplinks">|</td>
+        <td><a href="screenshots.html" class="toplinks">Screenshots</a></td>
         <td class="toplinks">|</td>
-       <td><a href="api.html" class="toplinks">MySocials API</a></td>
+        <td><a href="api.html" class="toplinks">MySocials API</a></td>
         <td class="toplinks">|</td>
         <td><a href="privacy.html" class="toplinks">Privacy</a></td>
                <td class="toplinks">|</td>
        <p> MySocials driver is provided as a shared library (libmsa&lt;service_name&gt;.so). Structure <b>msa_module *d</b> includes information about the driver (name, identifier, pointers to driver functions). This structure is filled during initialization of the driver.
        </p>
        <h3>Driver interface</h3>
-       <p>Driver interface is described in file interface.h and consists of 4 functions:
+       <p>Driver interface is described in file interface.h and consists of 4 functions:</p>
        <ul>
        <li><b>msa_module_init(struct msa_module* d)</b> — driver initialization;</li>
        <li><b>msa_module_get_info(struct msa_module* d)</b> — getting information about driver;</li>
        <li><b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> — request sending and response receiveing;</li>
        <li><b>msa_module->shutdown(const struct msa_module*)</b> - driver shutdown.</li>
        </ul>
-       
        <h3>Driver initialization and shutting down</h3>
-       Driver initialization is performed by using <b>msa_module_init(struct msa_module* d)</b> function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance. 
-       <br>
+       <p>Driver initialization is performed by using <b>msa_module_init(struct msa_module* d)</b> function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance. 
+       <br />
        Function <b>msa_module->shutdown(const struct msa_module*)</b> is used during program termination. 
-
+       </p>
        <h3>Interaction with driver</h3>
-
-       Fuction <b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> is used to perform requests to the driver. 
+       <p>
+       Function <b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> is used to perform requests to the driver. 
 Parameter <i>request</i> is a request in XML format. Description of structure of sending and receiveing data is described <a>here</a>.
 Parameter <i>response</i> contains driver response in XML format.
 Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get information about driver (driver name and icon).
@@ -87,7 +89,7 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <h2>MySocials driver data structures</h2>
 
        <p>Here you can see description of data structures which are used by MySocials driver. These structures are declared in <b>mysocials_driver.h</b> file which is available for other applications from mysocials-dev package.  
-
+       </p>
        <h3>Enumerations</h3>
        <h4>Error codes</h4>
        <pre class="c" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">enum</span> error_type <span style="color: #009900;">&#123;</span>
@@ -103,7 +105,7 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        </pre>
 
        <h3>Driver interface</h3>
-       <p>MySocials driver interface described in  <b>msa_module</b> structure. Some of the fields of this stucture are filled before initialization by application (marked with **), the rest of it is filled during initialization.</p>
+       <p>MySocials driver interface described in  <b>msa_module</b> structure. Some of the fields of this structure are filled before initialization by application (marked with **), the rest of it is filled during initialization.</p>
 
        <pre class="c" style="font-family:monospace;"><span style="color: #993333;">struct</span> msa_module <span style="color: #009900;">&#123;</span>
        gchar <span style="color: #339933;">*</span>id<span style="color: #339933;">;</span>    <span style="color: #666666; font-style: italic;">// Identifier </span>
@@ -149,7 +151,7 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>noAuthorize</i> - flag which forbids driver to call WebAuth (optional, set to false by default) </li>
        <li><i>class</i> - class which includes called function</li>
        <li><i>function</i> - name of the function</li>
-       <li><i>Params</i> - set of parameters, stricly defined for each function</li>
+       <li><i>Params</i> - set of parameters, strictly defined for each function</li>
        </ul>
 
        <h4>Response format</h4>
@@ -161,12 +163,12 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        </pre>
        
        <ul>
-       <li><i>authorized</i> - flag which indicates authorization during request performing (flag isn't set if error occures during request performing) </li>
+       <li><i>authorized</i> - flag which indicates authorization during request performing (flag isn't set if error occurs during request performing) </li>
        <li><i>upload</i> - number of bytes sent to server</li>
        <li><i>download</i> - number of bytes received from server</li>
        </ul>
 
-       <p>Following classes are supported:
+       <p>Following classes are supported:</p>
        <ul>
        <li><i>settings:</i> class for working with settings</li>
        <li><i>profile:</i> class for receiving data about user's profile</li>
@@ -177,8 +179,7 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>video:</i> class for working with video files</li>
        <li><i>news:</i> class for working with news</li>
        </ul>   
-       </p>
-
+       
        <!-- Settings start -->
        <h3>Settings</h3>
        <h4>getSettings</h4>
@@ -669,7 +670,266 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
+       
+       <h4>getListInboxMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListInboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       <li><i>timeOffset</i> - time offset for requested news (optional)</li>
+       </ul>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListInboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Status&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>                        
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                        ...
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>getListThreads</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListThreads&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       </ul>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListThreads&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;threadList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;thread&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;size&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>getListThreadMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListThreadMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;threadId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       </ul>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListThreadMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">threadId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipientList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipient&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                                   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Status&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>                        
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                        ...
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>time</i> - time of the last message in thread</li>
+       <li><i>senderId and senderName</i> - available only for inbox messages</li>
+       <li><i>recipientList</i> - available only for outbox messages</li>      
+       </ul>
+
+       <h4>getTotalCountInbox</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountInbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountInbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>getTotalCountOutbox</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountOutbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountOutbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>getCountInboxByTime</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountInboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountInboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
 
+       <h4>getCountOutboxByTime</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountOutboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountOutboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>sendMessage</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;sendMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
+
+       <h4>readMessage</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;readMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
+
+       <h4>deleteMessage</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;deleteMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
+
+       <h4>getListWallMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListWallMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListWallMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                        ...
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <p>Content of the <i>attachment</i> tag is the same as in class <i>Messages</i>.</p> 
+
+       <h4>getTotalCountWall</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountWall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountWall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>123<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>sendWallMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;sendWallMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>text of message<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
+
+       <h4>deleteWallMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;deleteWallMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
        <!-- Messages finish -->
 
        <!-- Audio start -->
@@ -695,6 +955,27 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
+
+       <h4>getAudio</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;vk...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audioId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> function = <span style="color: #ff0000;">&quot;getAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;vk...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;vk...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;artist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...url...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
        <!-- Audio finish -->
 
        <!-- Video start -->
@@ -726,6 +1007,51 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
 
        <!-- News start -->
        <h3>News</h3>
+       <h4>getListNews</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;news&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListNews&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;newsType&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>TYPE<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       <li><i>timeOffset</i> - time offset for requested news (optional)</li>
+       </ul>
+       <p>TYPE can have following values:</p>
+       <ul>
+       <li><i>photo:</i> new friends' photos</li>
+       <li><i>message:</i> new wall messages</li>
+       <li><i>comment:</i> new comments to user's photos and comments to friends' photos that were commented by the user</li>
+       <li><i>audio:</i> new friends' audio</li>
+       <li><i>video:</i> new friends' video</li>
+       <li><i>like:</i> new "Like" marks</li>
+       <li><i>tag:</i> new mark on photos</li>
+       <li><i>friend:</i> new friends' friends</li>
+       </ul>   
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;news&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListNews&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;newsList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">newsType</span>=<span style="color: #ff0000;">&quot;TYPE&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;news&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;authorId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;authorName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;image/video/audio/link/note&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> 
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>            
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <i>authorName</i> - news author name (optional).
+       <p>Content of the <i>attachment</i> tag is the same as in class <i>Messages</i>.</p>    
        <!-- News finish -->
 
        <!-- Info messages start -->