File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ type ListChatsChat struct {
53
53
Chat ListChatsChatData `json:"chat"`
54
54
55
55
// Identifier of the first unread chat message
56
- FirstUnreadMessageId string `json:"first_unread_message_id"`
56
+ FirstUnreadMessageId uint64 `json:"first_unread_message_id"`
57
57
58
58
// Identifier of the last message in the chat
59
- LastMessageId string `json:"last_message_id"`
59
+ LastMessageId uint64 `json:"last_message_id"`
60
60
61
61
// Number of unread messages in the chat
62
62
UnreadCount int64 `json:"unread_count"`
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ func TestListChats(t *testing.T) {
38
38
"chat_status": "Opened",
39
39
"chat_type": "Seller_Support"
40
40
},
41
- "first_unread_message_id": " 3000000000118021931" ,
42
- "last_message_id": "30000000001280042740" ,
41
+ "first_unread_message_id": 3000000000118021931,
42
+ "last_message_id": 3000000000128004274 ,
43
43
"unread_count": 1
44
44
}
45
45
],
You can’t perform that action at this time.
0 commit comments