Skip to content

Commit

Permalink
Bot API 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ba0f3 committed Feb 19, 2024
1 parent 27f6f10 commit 817c92a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions src/telebot/private/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,15 @@ type
pinnedMessage*: Message
permissions*: ChatPermissions
slowModeDelay*: int
unrestrictBoostCount*: int
messageAutoDeleteTime*: int
hasAggressiveAntiSpamEnabled*: bool
hasHiddenMembers*: bool
hasProtectedContent*: bool
hasVisibleHistory*: bool
stickerSetName*: string
canSetStickerSet*: bool
customEmojiStickerSetName*: string
linkedChatId*: int
location*: ChatLocation

Expand Down Expand Up @@ -121,15 +123,8 @@ type
fileSize*: int

Story* = ref object of TelegramObject
fileId*: string
fileUniqueId*: string
width*: int
height*: int
duration*: int
thumbnail*: PhotoSize
fileName*: string
mimeType*: string
fileSize*: int
chat*: Chat
id*: int

Sticker* = ref object of TelegramObject
fileId*: string
Expand Down Expand Up @@ -251,6 +246,9 @@ type
MessageAutoDeleteTimerChanged* = ref object of TelegramObject
messageAutoDeleteTime*: int

ChatBoostAdded* = ref object of TelegramObject
boostCount*: int

ForumTopicCreated* = ref object of TelegramObject
name*: string
iconColor*: int
Expand Down Expand Up @@ -518,6 +516,7 @@ type
messageThreadId*: int
fromUser*: User
senderChat*: Chat
senderBoostCount*: int
date*: int
chat*: Chat
forwardOrigin*: MessageOrigin
Expand All @@ -526,6 +525,7 @@ type
replyToMessage*: Message
externalReply*: ExternalReplyInfo
quote*: TextQuote
replyToStory*: Story
viaBot*: User
editDate*: int
hasProtectedContent*: bool
Expand Down Expand Up @@ -572,6 +572,7 @@ type
writeAccessAllowed*: WriteAccessAllowed
passportData*: PassportData
proximityAlertTriggered*: ProximityAlertTriggered
boostAdded*: ChatBoostAdded
forumTopicCreated*: ForumTopicCreated
forumTopicEdited*: ForumTopicEdited
forumTopicClosed*: ForumTopicClosed
Expand Down
2 changes: 1 addition & 1 deletion telebot.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "2024.01.11"
version = "2024.02.20"
author = "Huy Doan"
description = "Async Telegram Bot API Client"
license = "MIT"
Expand Down

0 comments on commit 817c92a

Please sign in to comment.