AzureCommunicationUI/sdk/AzureCommunicationUIChat/Sources/Service/Chat/ChatSDKWrapperProtocol.swift (16 lines of code) (raw):

// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // import AzureCommunicationChat import Combine protocol ChatSDKWrapperProtocol { func initializeChat() async throws func getInitialMessages() async throws -> [ChatMessageInfoModel] func retrieveChatThreadProperties() async throws -> ChatThreadInfoModel func getListOfParticipants() async throws -> [ParticipantInfoModel] func getPreviousMessages() async throws -> [ChatMessageInfoModel] func sendMessage(content: String, senderDisplayName: String) async throws -> String func editMessage(messageId: String, content: String) async throws func deleteMessage(messageId: String) async throws func sendReadReceipt(messageId: String) async throws func sendTypingIndicator() async throws func unregisterRealTimeNotifications() async throws var chatEventsHandler: ChatSDKEventsHandling { get } }