types.go 509 B

1234567891011121314151617181920212223242526
  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. }