19 lines
407 B
Go
19 lines
407 B
Go
package dto
|
|
|
|
type ListChatsRequest struct {
|
|
Limit int `json:"-"`
|
|
Cursor string `json:"-"`
|
|
}
|
|
|
|
type ListChatsResponse struct {
|
|
Items []ListChatsItem `json:"items"`
|
|
NextCursor *string `json:"next_cursor"`
|
|
}
|
|
|
|
type ListChatsItem struct {
|
|
ID string `json:"id"`
|
|
Title string `json:"title"`
|
|
MemberIDs []string `json:"member_ids"`
|
|
CreatedAt Timestamp `json:"created_at"`
|
|
}
|