Change variable type for list of chats (#101)

This commit is contained in:
Pireirik
2024-09-08 18:39:20 +02:00
committed by GitHub
parent 090b2afb63
commit ccd3610c76
2 changed files with 4 additions and 4 deletions

View File

@@ -53,10 +53,10 @@ type ListChatsChat struct {
Chat ListChatsChatData `json:"chat"`
// 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
LastMessageId string `json:"last_message_id"`
LastMessageId uint64 `json:"last_message_id"`
// Number of unread messages in the chat
UnreadCount int64 `json:"unread_count"`