Skip to content

Commit

Permalink
Merge pull request #100 from namiarj/patch-2
Browse files Browse the repository at this point in the history
Fix wrong type and default value in sendPaidMedia proc
  • Loading branch information
ba0f3 authored Sep 10, 2024
2 parents 0b5d328 + d01e20d commit 0486137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telebot/private/api.nim
Original file line number Diff line number Diff line change
Expand Up @@ -456,4 +456,4 @@ proc getStarTransactions*(b: TeleBot, offset = 0, limit = 0): Future[StarTransac

proc refundStarPayment*(b: TeleBot, userId: int, telegramPaymentChargeId: int): Future[bool] {.api, async.}

proc sendPaidMedia*(b: TeleBot, chatId: ChatId, starCount: int, media: seq[InputPaidMedia], businessConnectionId = 0, payload = "", caption = "", parseMode = "", captionEntities = seq[MessageEntity], showCaptionAboveMedia = false, disableNotification = false, protectContent = false, replyParameters: ReplyParameters = nil, replyMarkup: KeyboardMarkup = nil): Future[Message] {.api, async.}
proc sendPaidMedia*(b: TeleBot, chatId: ChatId, starCount: int, media: seq[InputPaidMedia], businessConnectionId = 0, payload = "", caption = "", parseMode = "", captionEntities: seq[MessageEntity] = @[], showCaptionAboveMedia = false, disableNotification = false, protectContent = false, replyParameters: ReplyParameters = nil, replyMarkup: KeyboardMarkup = nil): Future[Message] {.api, async.}

0 comments on commit 0486137

Please sign in to comment.