package websocket

import (
	"context"
	"websocket-server/internal/model"
)

type ChatService interface {
	GetMessageHistory(ctx context.Context, userID string, otherID string, limit int, offset int) ([]*model.ChatMessage, error)
	SendMessage(ctx context.Context, senderID string, req *model.ChatMessageRequest) (*model.ChatMessage, error)
	MarkAsRead(ctx context.Context, readerID string, senderID string) error
}
