mirror of
https://github.com/hub-team/OnlineChatSdk-SwiftPM.git
synced 2026-04-15 00:54:05 +00:00
update
This commit is contained in:
@@ -36,7 +36,8 @@ open class ChatApi {
|
||||
public func messages(_ token: String, params: Dictionary<String, Any>, callback: @escaping (NSDictionary?) -> Void) {
|
||||
send(token, "message", params, callback: callback)
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static func getNewMessages(_ token: String, _ clientId: String, callback: @escaping (NSDictionary?) -> Void) {
|
||||
let dtFormatter = DateFormatter()
|
||||
dtFormatter.calendar = Calendar(identifier: Calendar.Identifier.iso8601)
|
||||
|
||||
Reference in New Issue
Block a user