Skip to content

Commit 93506de

Browse files
committed
Update network snapshot
1 parent 09bd3ff commit 93506de

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ allprojects {
1616
Add the dependency
1717
```
1818
dependencies {
19-
implementation 'com.github.MixinNetwork:bot-api-kotlin-client:v0.4.7'
19+
implementation 'com.github.MixinNetwork:bot-api-kotlin-client:v0.4.8'
2020
}
2121
```
2222

library/src/main/kotlin/one/mixin/bot/vo/NetworkSnapshot.kt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@ package one.mixin.bot.vo
33
import com.google.gson.annotations.SerializedName
44

55
data class NetworkSnapshot(
6-
@SerializedName("snapshot_id")
7-
val snapshotId: String,
8-
val type: String,
96
val amount: String,
10-
@SerializedName("created_at")
11-
val createdAt: String,
127
@SerializedName("asset")
138
val asset: Asset,
9+
@SerializedName("created_at")
10+
val createdAt: String,
11+
val data:String,
12+
@SerializedName("snapshot_id")
13+
val snapshotId: String,
1414
@SerializedName("source")
15-
val source: String
15+
val source: String,
16+
val type: String?,
17+
@SerializedName("user_id")
18+
val userId: String?,
19+
@SerializedName("trace_id")
20+
val traceId: String?,
21+
@SerializedName("opponent_id")
22+
val opponentId: String?,
1623
)

0 commit comments

Comments
 (0)