1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-08-17 22:56:28 +00:00

fix of Replyparameters calls

This commit is contained in:
2026-08-14 20:16:47 +06:00
parent 4f19cb7626
commit 8b0e0bf820
9 changed files with 339 additions and 212 deletions

View File

@@ -67,7 +67,7 @@ suspend fun <BC : BehaviourContext> BC.onCommandPrivacy(
it.chat.id,
textSources,
allowPaidBroadcast = allowPaidBroadcast,
replyParameters = ReplyParameters.Chat(it.metaInfo)
replyParameters = ReplyParameters(it.metaInfo)
)
)
}
@@ -100,7 +100,7 @@ suspend fun <BC : BehaviourContext> BC.onCommandPrivacy(
text = text,
parseMode = parseMode,
allowPaidBroadcast = allowPaidBroadcast,
replyParameters = ReplyParameters.Chat(it.metaInfo)
replyParameters = ReplyParameters(it.metaInfo)
)
)
}