Skip to content
Snippets Groups Projects

Update Bindings

Merged Dariusz Rybicki requested to merge dev/update-bindings into development
2 files
+ 16
9
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -2,23 +2,27 @@ import Foundation
@@ -2,23 +2,27 @@ import Foundation
public struct GroupSendReport: Equatable {
public struct GroupSendReport: Equatable {
public init(
public init(
roundId: UInt64,
rounds: [Int],
 
roundURL: String,
timestamp: Int64,
timestamp: Int64,
messageId: Data
messageId: Data
) {
) {
self.roundId = roundId
self.rounds = rounds
 
self.roundURL = roundURL
self.timestamp = timestamp
self.timestamp = timestamp
self.messageId = messageId
self.messageId = messageId
}
}
public var roundId: UInt64
public var rounds: [Int]
 
public var roundURL: String
public var timestamp: Int64
public var timestamp: Int64
public var messageId: Data
public var messageId: Data
}
}
extension GroupSendReport: Codable {
extension GroupSendReport: Codable {
enum CodingKeys: String, CodingKey {
enum CodingKeys: String, CodingKey {
case roundId = "RoundID"
case rounds = "Rounds"
 
case roundURL = "RoundURL"
case timestamp = "Timestamp"
case timestamp = "Timestamp"
case messageId = "MessageID"
case messageId = "MessageID"
}
}
Loading