48
48
inviteLink* : Option[string ]
49
49
pinnedMessage* : Option[ref Message]
50
50
permissions* : Option[ChatPermissions]
51
+ slowModeDelay* : Option[int ]
51
52
stickerSetName* : Option[string ]
52
53
canSetStickerSet* : Option[bool ]
53
54
54
55
PhotoSize* = object of TelegramObject
55
56
fileId* : string
57
+ fileUniqueId* : string
56
58
width* : int
57
59
height* : int
58
60
fileSize* : Option[int ]
59
61
60
62
Audio* = object of TelegramObject
61
63
fileId* : string
64
+ fileUniqueId* : string
62
65
duration* : int
63
66
performer* : Option[string ]
64
67
title* : Option[string ]
68
71
69
72
Document* = object of TelegramObject
70
73
fileId* : string
74
+ fileUniqueId* : string
71
75
thumb* : Option[PhotoSize]
72
76
fileName* : Option[string ]
73
77
mimeType* : Option[string ]
74
78
fileSize* : Option[int ]
75
79
76
80
Sticker* = object of TelegramObject
77
81
fileId* : string
82
+ fileUniqueId* : string
78
83
width* : int
79
84
height* : int
80
85
isAnimated* : bool
99
104
100
105
Video* = object of TelegramObject
101
106
fileId* : string
107
+ fileUniqueId* : string
102
108
width* : int
103
109
height* : int
104
110
duration* : int
@@ -108,12 +114,14 @@ type
108
114
109
115
Voice* = object of TelegramObject
110
116
fileId* : string
117
+ fileUniqueId* : string
111
118
duration* : int
112
119
mimeType* : Option[string ]
113
120
fileSize* : Option[int ]
114
121
115
122
VideoNote* = object of TelegramObject
116
123
fileId* : string
124
+ fileUniqueId* : string
117
125
length* : int
118
126
duration* : int
119
127
thumb* : Option[PhotoSize]
153
161
154
162
File* = object of TelegramObject
155
163
fileId* : string
164
+ fileUniqueId* : string
156
165
fileSize* : Option[int ]
157
166
filePath* : Option[string ]
158
167
@@ -264,11 +273,14 @@ type
264
273
265
274
ChatPhoto* = object of TelegramObject
266
275
smallFileId* : string
276
+ smallFileUniqueId* : string
267
277
bigFileId* : string
278
+ bigFileUniqueId* : string
268
279
269
280
ChatMember* = object of TelegramObject
270
281
user* : User
271
282
status* : string
283
+ customTitle* : Option[string ]
272
284
untilDate* : Option[int ]
273
285
canBeEdited* : Option[bool ]
274
286
canPostMessages* : Option[bool ]
318
330
# ------------------
319
331
Animation* = object of TelegramObject
320
332
fileId* : string
333
+ fileUniqueId* : string
321
334
thumb* : Option[PhotoSize]
322
335
fileName* : Option[string ]
323
336
mimeType* : Option[string ]
607
620
# ------------------
608
621
PassportFile* = object of TelegramObject
609
622
fileId* : string
623
+ fileUniqueId* : string
610
624
fileSize* : int
611
625
fileDate* : int
612
626
0 commit comments