Skip to content

Commit aadb0c6

Browse files
committed
Fix: ChatMember.until_date and EncryptedPassportElement.data are optional
1 parent 3cab104 commit aadb0c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

telebot.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.5.7.1"
1+
version = "0.5.7.3"
22
author = "Huy Doan"
33
description = "Async Telegram Bot API Client"
44
license = "MIT"

telebot/types.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ type
243243
ChatMember* = object of TelegramObject
244244
user*: User
245245
status*: string
246-
untilDate*: int
246+
untilDate*: Option[int]
247247
canBeEdited*: Option[bool]
248248
canChangeInfo*: Option[bool]
249249
canPostMessages*: Option[bool]

0 commit comments

Comments
 (0)