Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:sidebar:remoteapi:codesamples:batch [23/05/2019 13:07]
chdi
en:sidebar:remoteapi:codesamples:batch [23/05/2019 13:10]
chdi
Line 51: Line 51:
 </​code>​ </​code>​
  
-As we can see from the response, two users are available and their IDs are 648548 and 656124. Let's send them online messages using one request [[../​apiref/​core/​batch|core/​batch]]. To send an online messages, use the command **user/​update_user_notification**. Its detailed description is given in the chapter [[../​apiref/​user/​update_user_notification]].+As we can see from the response, two users are available and their IDs are 648548 and 656124. Let's send them online messages using one request [[../​apiref/​core/​batch|core/​batch]]. To send an online messages, use the command **user/​update_user_notification**. ​We will use different styles for text - parameter "​d"​. 
 +Its detailed description is given in the chapter [[../​apiref/​user/​update_user_notification]].
  
 <​code>​ <​code>​
Line 71: Line 72:
  "​params":​{  "​params":​{
  "​h":"​Hi there!",​  "​h":"​Hi there!",​
- "​d":";​-)",​+ "​d":"​{\"​body\":​\"<​p style=\\\"​text-align:​ center;\\\"><​b style=\\\"​text-align: center;​\\\"><​i style=\\\"​text-align:​ center; color: rgb(0, 0, 0);​\\\"><​span style=\\\"​color:​rgb(0,​0,​255);​text-align:​ center;​\\\">​Text bold cursive blue color in the centre</​span></​i></​b></​p>​\",​\"​head\":​{\"​c\":​39219,​\"​fs\":​\"​12\"​},​\"​multiple\":​1}",
  "​s":"",​  "​s":"",​
  "​ttl":​1359015606,​  "​ttl":​1359015606,​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam