// SPDX-License-Identifier: AGPL-3.0-or-later // Copyright (C) 2022-2026 Aykut Alparslan KOC using Ferrite.TL; using Ferrite.TL.baseLayer.dto; namespace Ferrite.Data.Repositories; public interface IChatParticipantsRepository { public bool PutParticipant(TLChatParticipantInfo participant); public ValueTask GetParticipantAsync(long chatId, long userId); public ValueTask> GetParticipantsAsync(long chatId); public ValueTask> GetParticipantsByUserAsync(long userId); public bool DeleteParticipant(long chatId, long userId); public bool DeleteParticipants(long chatId); }