diff options
Diffstat (limited to 'clientapi/api/api.go')
-rw-r--r-- | clientapi/api/api.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clientapi/api/api.go b/clientapi/api/api.go index 23974c86..28ff593f 100644 --- a/clientapi/api/api.go +++ b/clientapi/api/api.go @@ -21,3 +21,11 @@ type ExtraPublicRoomsProvider interface { // Rooms returns the extra rooms. This is called on-demand by clients, so cache appropriately. Rooms() []fclient.PublicRoom } + +type RegistrationToken struct { + Token *string `json:"token"` + UsesAllowed *int32 `json:"uses_allowed"` + Pending *int32 `json:"pending"` + Completed *int32 `json:"completed"` + ExpiryTime *int64 `json:"expiry_time"` +} |