Change variable type for list of chats (#101)
This commit is contained in:
		@@ -53,10 +53,10 @@ type ListChatsChat struct {
 | 
				
			|||||||
	Chat ListChatsChatData `json:"chat"`
 | 
						Chat ListChatsChatData `json:"chat"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Identifier of the first unread chat message
 | 
						// Identifier of the first unread chat message
 | 
				
			||||||
	FirstUnreadMessageId string `json:"first_unread_message_id"`
 | 
						FirstUnreadMessageId uint64 `json:"first_unread_message_id"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Identifier of the last message in the chat
 | 
						// Identifier of the last message in the chat
 | 
				
			||||||
	LastMessageId string `json:"last_message_id"`
 | 
						LastMessageId uint64 `json:"last_message_id"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Number of unread messages in the chat
 | 
						// Number of unread messages in the chat
 | 
				
			||||||
	UnreadCount int64 `json:"unread_count"`
 | 
						UnreadCount int64 `json:"unread_count"`
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,8 +38,8 @@ func TestListChats(t *testing.T) {
 | 
				
			|||||||
					  "chat_status": "Opened",
 | 
										  "chat_status": "Opened",
 | 
				
			||||||
					  "chat_type": "Seller_Support"
 | 
										  "chat_type": "Seller_Support"
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
					"first_unread_message_id": "3000000000118021931",
 | 
										"first_unread_message_id": 3000000000118021931,
 | 
				
			||||||
					"last_message_id": "30000000001280042740",
 | 
										"last_message_id": 3000000000128004274,
 | 
				
			||||||
					"unread_count": 1
 | 
										"unread_count": 1
 | 
				
			||||||
				  }
 | 
									  }
 | 
				
			||||||
				],
 | 
									],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user