types.go 618 B

12345678910111213141516171819202122232425262728293031
  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. }
  18. type LabelDist struct {
  19. LabelID uint64 `json:"label_id"`
  20. Count uint64 `json:"count"`
  21. }
  22. type OriginalData struct {
  23. Request interface{} `json:"request"`
  24. Response interface{} `json:"response"`
  25. }