This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:user:update_user_notification [23/12/2013 16:24] 127.0.0.1 external edit |
en:sidebar:remoteapi:apiref:user:update_user_notification [23/05/2019 13:15] chdi [Response] |
||
---|---|---|---|
Line 8: | Line 8: | ||
"callMode":<text>, | "callMode":<text>, | ||
"h":<text>, | "h":<text>, | ||
- | "d":<text>, | + | "d":"{ |
+ | \"body\":\"<text>\", | ||
+ | \"head\":{ | ||
+ | \"c\":<uint>, | ||
+ | \"fs\":\"<text>\"}, | ||
+ | \"multiple\":<int>}", | ||
"s":<text>, | "s":<text>, | ||
"ttl":<uint>} | "ttl":<uint>} | ||
Line 22: | Line 27: | ||
| **Optional parameters** (required for create and update) ||| | | **Optional parameters** (required for create and update) ||| | ||
| h | subject | | | h | subject | | ||
- | | d | message text | | + | | d | message text settings | |
+ | | body | text | | ||
+ | | с | color, RGB | | ||
+ | | fs | font size | | ||
+ | | multiple | multiple activation: 1 - да, 0 - нет | | ||
| s | sender | | | s | sender | | ||
| ttl | lifetime, when expires the notice will be deleted (UTC) | | | ttl | lifetime, when expires the notice will be deleted (UTC) | | ||
Line 39: | Line 48: | ||
"id":<long>, /* notice ID */ | "id":<long>, /* notice ID */ | ||
"t":<uint>, /* lifetime (UTC) */ | "t":<uint>, /* lifetime (UTC) */ | ||
- | "d":<text>, /* message text */ | + | "d":<text>, /* message text settings*/ |
"h":<text>, /* subject */ | "h":<text>, /* subject */ | ||
"s":<text> /* sender */ | "s":<text> /* sender */ |
|