Skip to content

Commit ff52679

Browse files
committed
fix optional fields for ChosenInlineResult
1 parent fde7043 commit ff52679

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.6"
1+
version = "0.5.6.1"
22
author = "Huy Doan"
33
description = "Async Telegram Bot API Client"
44
license = "MIT"

telebot/types.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,8 @@ type
516516
ChosenInlineResult* = object of TelegramObject
517517
resultId*: string
518518
fromUser*: User
519-
location*: Location
520-
inlineMessageId*: string
519+
location*: Option[Location]
520+
inlineMessageId*: Option[string]
521521
query*: string
522522

523523
#------------------

0 commit comments

Comments
 (0)