types.go 417 B

123456789101112131415161718192021
  1. package custom_types
  2. type Condition struct {
  3. Equal int `json:"equal"`
  4. LabelIdList []uint64 `json:"labelIdList"`
  5. }
  6. type Action struct {
  7. Type int `json:"type"`
  8. Content string `json:"content"`
  9. Meta *Meta `json:"meta,omitempty"`
  10. }
  11. type Meta struct {
  12. Filename string `json:"filename,omitempty"`
  13. }
  14. type ActionForward struct {
  15. Wxid string `json:"wxid"`
  16. Action []Action `json:"action"`
  17. }