4
1
Fork 0
backend-core/types.go

19 lines
607 B
Go
Raw Normal View History

package main
type Conversation struct {
2019-07-02 23:31:37 +08:00
ID string `json:"id"` // id
Title string `json:"title"` // title
DM bool `json:"dm"` // dm
Picture string `json:"picture"` // picture
}
type User struct {
ID string `json:"id"` // id
2019-06-18 18:34:59 +08:00
Username string `json:"username"` // username
Bio string `json:"bio"` // bio
ProfilePic string `json:"profile_pic"` // profile_pic
FirstName string `json:"first_name"` // first_name
LastName string `json:"last_name"` // last_name
PhoneNumber string `json:"phone_number"` // phone_number
}