Skip to content

Commit 817c92a

Browse files
committed
Bot API 7.1
1 parent 27f6f10 commit 817c92a

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

src/telebot/private/types.nim

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@ type
8484
pinnedMessage*: Message
8585
permissions*: ChatPermissions
8686
slowModeDelay*: int
87+
unrestrictBoostCount*: int
8788
messageAutoDeleteTime*: int
8889
hasAggressiveAntiSpamEnabled*: bool
8990
hasHiddenMembers*: bool
9091
hasProtectedContent*: bool
9192
hasVisibleHistory*: bool
9293
stickerSetName*: string
9394
canSetStickerSet*: bool
95+
customEmojiStickerSetName*: string
9496
linkedChatId*: int
9597
location*: ChatLocation
9698

@@ -121,15 +123,8 @@ type
121123
fileSize*: int
122124

123125
Story* = ref object of TelegramObject
124-
fileId*: string
125-
fileUniqueId*: string
126-
width*: int
127-
height*: int
128-
duration*: int
129-
thumbnail*: PhotoSize
130-
fileName*: string
131-
mimeType*: string
132-
fileSize*: int
126+
chat*: Chat
127+
id*: int
133128

134129
Sticker* = ref object of TelegramObject
135130
fileId*: string
@@ -251,6 +246,9 @@ type
251246
MessageAutoDeleteTimerChanged* = ref object of TelegramObject
252247
messageAutoDeleteTime*: int
253248

249+
ChatBoostAdded* = ref object of TelegramObject
250+
boostCount*: int
251+
254252
ForumTopicCreated* = ref object of TelegramObject
255253
name*: string
256254
iconColor*: int
@@ -518,6 +516,7 @@ type
518516
messageThreadId*: int
519517
fromUser*: User
520518
senderChat*: Chat
519+
senderBoostCount*: int
521520
date*: int
522521
chat*: Chat
523522
forwardOrigin*: MessageOrigin
@@ -526,6 +525,7 @@ type
526525
replyToMessage*: Message
527526
externalReply*: ExternalReplyInfo
528527
quote*: TextQuote
528+
replyToStory*: Story
529529
viaBot*: User
530530
editDate*: int
531531
hasProtectedContent*: bool
@@ -572,6 +572,7 @@ type
572572
writeAccessAllowed*: WriteAccessAllowed
573573
passportData*: PassportData
574574
proximityAlertTriggered*: ProximityAlertTriggered
575+
boostAdded*: ChatBoostAdded
575576
forumTopicCreated*: ForumTopicCreated
576577
forumTopicEdited*: ForumTopicEdited
577578
forumTopicClosed*: ForumTopicClosed

telebot.nimble

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

0 commit comments

Comments
 (0)