You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

push.go 837 B

1 month ago
1 month ago
1 month ago
1234567891011121314
  1. package md
  2. type PushParams struct {
  3. Uid string `json:"uid"` //用户id
  4. PushAlia string `json:"push_alia"` //推送别名
  5. Title string `json:"title"` //标题
  6. Content string `json:"content"` //内容
  7. PushType string `json:"push_type"` //推送类型`egg-im`
  8. MessageType string `json:"message_type"` //消息类型`UNKNOWN、TEXT、FACE、VOICE、IMAGE、FILE、LOCATION、COMMAND、CUSTOM`
  9. SendUserNickname string `json:"send_user_nickname"` //消息发送者-会员昵称
  10. SendUserAvatarUrl string `json:"send_user_avatar_url"` //消息发送者-会员头像
  11. Memo string `json:"memo"` //备注
  12. Times string `json:"times"` //时间
  13. }