package domain import "time" type Position struct { CreatedAt time.Time ID string } type Pagination struct { After *Position Limit int } type ChatPage struct { Items []Chat HasMore bool } type MessagePage struct { Items []Message HasMore bool }