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:
@@ -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