Telegram: Display username on accounts tab

This commit is contained in:
Harvey Tindall
2021-05-07 17:01:22 +01:00
parent 36edd4ab0d
commit 0f41d1e6cf
4 changed files with 35 additions and 7 deletions
+1
View File
@@ -129,6 +129,7 @@ type respUser struct {
Admin bool `json:"admin" example:"false"` // Whether or not the user is Administrator
Expiry int64 `json:"expiry" example:"1617737207510"` // Expiry time of user as Epoch/Unix time.
Disabled bool `json:"disabled"` // Whether or not the user is disabled.
Telegram string `json:"telegram"` // Telegram username (if known)
}
type getUsersDTO struct {