mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-09 00:29:57 +08:00
19 lines
445 B
Go
19 lines
445 B
Go
|
package schemas
|
||
|
|
||
|
type TgSession struct {
|
||
|
Sesssion string `json:"session"`
|
||
|
UserID int64 `json:"userId"`
|
||
|
Bot bool `json:"bot"`
|
||
|
UserName string `json:"userName"`
|
||
|
Name string `json:"name"`
|
||
|
IsPremium bool `json:"isPremium"`
|
||
|
}
|
||
|
|
||
|
type Session struct {
|
||
|
Name string `json:"name"`
|
||
|
UserName string `json:"userName"`
|
||
|
IsPremium bool `json:"isPremium"`
|
||
|
Hash string `json:"hash"`
|
||
|
Expires string `json:"expires"`
|
||
|
}
|