1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-16 05:40:32 +00:00

add directMessageThreadId parameter in create resend

This commit is contained in:
2025-09-14 23:19:54 +06:00
parent 1c36c0a2f7
commit f312e04c0d
26 changed files with 31 additions and 6 deletions

View File

@@ -2619,7 +2619,7 @@ public suspend fun TelegramBot.reply(
allowPaidBroadcast = allowPaidBroadcast,
effectId = effectId,
replyParameters = ReplyParameters(to, allowSendingWithoutReply = allowSendingWithoutReply == true, checklistTaskId = checklistTaskId),
replyMarkup = replyMarkup
replyMarkup = replyMarkup,
)
)

View File

@@ -2621,7 +2621,7 @@ public suspend fun TelegramBot.reply(
allowPaidBroadcast = allowPaidBroadcast,
effectId = effectId,
replyParameters = ReplyParameters(toChatId, toMessageId, allowSendingWithoutReply = allowSendingWithoutReply, checklistTaskId = checklistTaskId),
replyMarkup = replyMarkup
replyMarkup = replyMarkup,
)
)
}

View File

@@ -30,7 +30,7 @@ public suspend inline fun <T : MessageContent> TelegramBot.resend(
allowPaidBroadcast = allowPaidBroadcast,
effectId = effectId,
replyParameters = replyParameters,
replyMarkup = replyMarkup
replyMarkup = replyMarkup,
)
) as ContentMessage<T>