File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
android/library/src/main/java/io/appwrite/models Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ open class RealtimeResponse(
23
23
data class RealtimeResponseEvent<T >(
24
24
val events: Collection<String >,
25
25
val channels: Collection<String >,
26
- val timestamp: Long ,
26
+ val timestamp: String ,
27
27
var payload: T
28
28
)
29
29
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ public class RealtimeCallback {
24
24
public class RealtimeResponseEvent {
25
25
public let events: [String]?
26
26
public let channels: [String]?
27
- public let timestamp: Int64 ?
27
+ public let timestamp: String ?
28
28
public var payload: [String: Any]?
29
29
30
30
init(
31
31
events: [String],
32
32
channels: [String],
33
- timestamp: Int64 ,
33
+ timestamp: String ,
34
34
payload: [String: Any]
35
35
) {
36
36
self.events = events
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ extension Realtime: WebSocketClientDelegate {
209
209
let response = RealtimeResponseEvent(
210
210
events: events,
211
211
channels: channels,
212
- timestamp: data["timestamp"] as! Int64 ,
212
+ timestamp: data["timestamp"] as! String ,
213
213
payload: payload
214
214
)
215
215
subscription.value.callback(response)
You can’t perform that action at this time.
0 commit comments