Mythus commited on
Commit
a9ea1d4
·
1 Parent(s): cd0e6c2

Delete types

Browse files
Files changed (1) hide show
  1. types/main.go +0 -43
types/main.go DELETED
@@ -1,43 +0,0 @@
1
- package types
2
-
3
- import (
4
- "github.com/go-jose/go-jose/v3/jwt"
5
- "github.com/gotd/td/tg"
6
- )
7
-
8
- type AppError struct {
9
- Error error
10
- Code int
11
- }
12
-
13
- type Part struct {
14
- Location *tg.InputDocumentFileLocation
15
- Size int64
16
- Start int64
17
- End int64
18
- }
19
-
20
- type JWTClaims struct {
21
- jwt.Claims
22
- TgSession string `json:"tgSession"`
23
- Name string `json:"name"`
24
- UserName string `json:"userName"`
25
- Bot bool `json:"bot"`
26
- IsPremium bool `json:"isPremium"`
27
- }
28
-
29
- type TgSession struct {
30
- Sesssion string `json:"session"`
31
- UserID int64 `json:"userId"`
32
- Bot bool `json:"bot"`
33
- UserName string `json:"userName"`
34
- Name string `json:"name"`
35
- IsPremium bool `json:"isPremium"`
36
- }
37
-
38
- type Session struct {
39
- Name string `json:"name"`
40
- UserName string `json:"userName"`
41
- IsPremium bool `json:"isPremium"`
42
- Expires string `json:"expires"`
43
- }