UserProfile stores per-user DM notification preferences.
| 98 | |
| 99 | // UserProfile stores per-user DM notification preferences. |
| 100 | type UserProfile struct { |
| 101 | ID int64 `json:"id"` |
| 102 | ShownAssets bool `json:"shown_assets"` |
| 103 | Locale string `json:"locale"` |
| 104 | Subscribed bool `json:"subscribed"` |
| 105 | } |
| 106 | |
| 107 | // Snapshot matches the persisted runtime state in the Python implementation. |
| 108 | type Snapshot struct { |
nothing calls this directly
no outgoing calls
no test coverage detected