added equatable protocol for all bot payment structures

This commit is contained in:
overtake 2021-02-26 21:37:46 +04:00
parent d06288e4c8
commit bee3fc1ae3

View File

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