From bee3fc1ae376bc0eb7ed01cfd6ade91b5fff7f18 Mon Sep 17 00:00:00 2001 From: overtake Date: Fri, 26 Feb 2021 21:37:46 +0400 Subject: [PATCH] added equatable protocol for all bot payment structures --- submodules/TelegramCore/Sources/BotPaymentForm.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCore/Sources/BotPaymentForm.swift b/submodules/TelegramCore/Sources/BotPaymentForm.swift index 11a3be0ac6..cdb8a9ce8a 100644 --- a/submodules/TelegramCore/Sources/BotPaymentForm.swift +++ b/submodules/TelegramCore/Sources/BotPaymentForm.swift @@ -341,7 +341,7 @@ public func sendBotPaymentForm(account: Account, messageId: MessageId, validated } } -public struct BotPaymentReceipt { +public struct BotPaymentReceipt : Equatable { public let invoice: BotPaymentInvoice public let info: BotPaymentRequestedInfo? public let shippingOption: BotPaymentShippingOption?