mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add support for multiple users selection in bots peer requests
This commit is contained in:
@@ -434,9 +434,9 @@ public final class ChatButtonKeyboardInputNode: ChatInputNode {
|
||||
})
|
||||
case let .openWebView(url, simple):
|
||||
self.controllerInteraction.openWebView(markupButton.title, url, simple, .generic)
|
||||
case let .requestPeer(peerType, buttonId):
|
||||
case let .requestPeer(peerType, buttonId, maxQuantity):
|
||||
if let message = self.message {
|
||||
self.controllerInteraction.openRequestedPeerSelection(message.id, peerType, buttonId)
|
||||
self.controllerInteraction.openRequestedPeerSelection(message.id, peerType, buttonId, maxQuantity)
|
||||
}
|
||||
}
|
||||
if dismissIfOnce {
|
||||
|
||||
Reference in New Issue
Block a user