Custom letter template

To update custom letter template, use command resource/update_email_template:

svc=core/create_resource&params={"resourceId":<uint>,
				 "subject":<text>,			     
				 "body":<text>,
                                 "flags":<uint>}

Params

Name Description
resourceId resource ID пользователя
subject letter subject
body letter body
flags use default template: 0 – yes,1 – no

Response

{"error":0}		/* if success */