Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-04-02 14:34:44 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-04-02 14:34:44 +0300
commiteb382cd5b4d55240e4c725260c0d099872c9a7d0 (patch)
treebefec8eacff647975a75efe77210467554cc56c0 /database
parentf02c82677d469a811a287e041ddcf97a70ed542c (diff)
tgbot - fix chatid
Diffstat (limited to 'database')
-rw-r--r--database/model/model.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/model/model.go b/database/model/model.go
index df41237d..06759d9a 100644
--- a/database/model/model.go
+++ b/database/model/model.go
@@ -91,7 +91,7 @@ type Client struct {
TotalGB int64 `json:"totalGB" form:"totalGB"`
ExpiryTime int64 `json:"expiryTime" form:"expiryTime"`
Enable bool `json:"enable" form:"enable"`
- TgID string `json:"tgId" form:"tgId"`
+ TgID int64 `json:"tgId" form:"tgId"`
SubID string `json:"subId" form:"subId"`
Reset int `json:"reset" form:"reset"`
}