Rocket.Chat.ReactNative/ios/Shared/RocketChat/API/Requests/Push.swift

22 lines
384 B
Swift

//
// Push.swift
// NotificationService
//
// Created by Djorkaeff Alexandre Vilela Pereira on 9/16/20.
// Copyright © 2020 Rocket.Chat. All rights reserved.
//
import Foundation
final class PushRequest: Request {
var query: String?
typealias ResponseType = PushResponse
let path = "/api/v1/push.get"
init(msgId: String) {
self.query = "id=\(msgId)"
}
}