From 3cab10466d12b83f70af04eae58addbd7a1e7f2a Mon Sep 17 00:00:00 2001 From: Huy Doan Date: Thu, 9 May 2019 17:27:30 +0700 Subject: [PATCH] EncryptedPassportElement.data is optional --- telebot/types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.nim b/telebot/types.nim index 463ec9a..f413455 100644 --- a/telebot/types.nim +++ b/telebot/types.nim @@ -575,7 +575,7 @@ type EncryptedPassportElement* = object of TelegramObject kind*: string - data*: string + data*: Option[string] phoneNumber*: Option[string] email*: Option[string] files*: Option[seq[PassportFile]]