mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-29 07:03:37 +00:00
fix of Replyparameters calls
This commit is contained in:
1 parent
4f19cb7626
commit
8b0e0bf820
9 files changed
+339
-212
No files matched your search
+2
-2
@@ -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)
|
||||
)
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user