post.go 408 B

1234567891011121314151617181920212223
  1. package model
  2. type PostFormat struct {
  3. Name string
  4. Type string
  5. }
  6. type PostContext struct {
  7. DefaultVisibility string
  8. DefaultFormat string
  9. ReplyContext *ReplyContext
  10. Formats []PostFormat
  11. }
  12. type ReplyContext struct {
  13. InReplyToID string
  14. InReplyToName string
  15. QuickReply bool
  16. ReplySpoiler string
  17. ReplyContent string
  18. ForceVisibility bool
  19. ReplyLanguage string
  20. }