added room state

alpha v1.0.79
alex 2023-03-08 20:08:26 +01:00
parent ddeea128a4
commit 494ae5e1a2
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ const (
maxFcmToken = "164"
maxAccountStatus = "4" // Indicates the maximum compatible account status. Look for reference in the API
maxDescription = "128"
maxRoomState = "2" // Look for reference in the API
accountNameRegex = "^[a-zA-Z0-9_.]+$"
)
@ -46,6 +47,7 @@ var (
"Token": "required,min=" + minFcmToken + ",max=" + maxFcmToken, // fcm token
"AccountStatus": "number,max=" + maxAccountStatus,
"Description": "max=" + maxDescription,
"RoomState": "required,max=" + maxRoomState,
}
)