File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 105
105
106
106
File* = object of TelegramObject
107
107
fileId* : string
108
- fileSize* : int
109
- filePath* : string
108
+ fileSize* : Option[ int ]
109
+ filePath* : Option[ string ]
110
110
111
111
KeyboardButton* = object
112
112
text* : string
@@ -115,12 +115,12 @@ type
115
115
116
116
InlineKeyboardButton* = object
117
117
text* : string
118
- url* : string
119
- callbackData* : string
120
- switchInlineQuery* : string
121
- switchInlineQueryCurrentChat* : string
122
- callbackGame* : CallbackGame
123
- pay* : bool
118
+ url* : Option[ string ]
119
+ callbackData* : Option[ string ]
120
+ switchInlineQuery* : Option[ string ]
121
+ switchInlineQueryCurrentChat* : Option[ string ]
122
+ callbackGame* : Option[ CallbackGame]
123
+ pay* : Option[ bool ]
124
124
125
125
KeyboardKind* = enum
126
126
kReplyKeyboardMarkup
288
288
invoicePayload* : string
289
289
shippingOptionId* : Option[string ]
290
290
orderInfo* : Option[OrderInfo]
291
-
291
+
292
292
# ------------------
293
293
# Inline Query
294
294
# ------------------
You can’t perform that action at this time.
0 commit comments