Get desktop application:
View/edit binary Protocol Buffers messages
mail service for private (without auth, keep it in internal network)
send mail(grpc/http)
send mail(private)
platform id (optional, if not set, will be all platforms)
channel id (optional, if not set, will be all channels)
send type (0:none,1:all,2:role)
role id (optional, if not set, will be all roles)
mail content
send mail response
(message has no fields)
mail service for pubic
UpdateMail update mail status
update mail status
<mailId,mailStatus> mailId=0 means update all mails
update mail status response
if update mail status to REWARDED, rewards will be returned
Watch watch mail changes,
watch mail changes request
channel
language
register time
watch mail changes response
mail changes
Used in: ,
mail uid (optional, if not set, will be generated)
mail title (required,key: language, value: title) if template_id is set, title will be ignored
mail content (required key: language, value: content), if template_id is set, content will be ignored
mail send time (optional, if not set, will be now)
mail expire time (optional, if not set, will be now+90 days)
mail sender (required) if template_id is set, sender will be ignored
mail rewards (optional)
mail status (0:unread,1:read,2:rewarded,3:deleted)
mail template id (optional)
mail template args (optional)
mail filters
Used in:
role register time (optional, if not set, will be now, if -1 means all register time)
Used in: ,
reward id
reward num
if expire>0, id must be unique eg.timestamp
reward expire time (0 means no expire)
reward type
Used in: ,
Used in: