mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat(manager/social): chat purge
This commit is contained in:
@ -4,13 +4,15 @@ import java.util.List;
|
||||
import me.rhunk.snapenhance.bridge.snapclient.types.Message;
|
||||
|
||||
interface MessagingBridge {
|
||||
String getMyUserId();
|
||||
|
||||
@nullable Message fetchMessage(String conversationId, String clientMessageId);
|
||||
|
||||
@nullable Message fetchMessageByServerId(String conversationId, String serverMessageId);
|
||||
|
||||
@nullable List<Message> fetchConversationWithMessagesPaginated(String conversationId, int limit, long beforeMessageId);
|
||||
|
||||
@nullable String updateMessage(String conversationId, String clientMessageId, String messageUpdate);
|
||||
@nullable String updateMessage(String conversationId, long clientMessageId, String messageUpdate);
|
||||
|
||||
@nullable String getOneToOneConversationId(String userId);
|
||||
}
|
Reference in New Issue
Block a user