FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Defined attachment · saeedfweb/httpsms@64a40c7 · GitHub

Commit 64a40c7

Browse files
Defined attachment
1 parent 2f6c94a commit 64a40c7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • android/app/src/main/java/com/httpsms

‎android/app/src/main/java/com/httpsms/Models.kt‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ data class Phone (
2929
val userID: String,
3030
)
3131

32+
data class Attachment (
33+
@Json(name = "content_type")
34+
val contentType: String,
35+
36+
val url: String
37+
)
38+
3239
data class Message (
3340
val contact: String,
3441
val content: String,
@@ -69,4 +76,6 @@ data class Message (
6976

7077
@Json(name = "updated_at")
7178
val updatedAt: String
79+
80+
val attachments: List<Attachment>? = null
7281
)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL