// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.LivingRadio.WithStationId {
    public var chat: Chat {
        Chat(path: path + "/chat")
    }

    public struct Chat {
        /// Path: `/api/living_radio/{station_id}/chat`
        public let path: String

        /// Send Chat Message
        public func post(_ body: GenAPI.ChatMessageRequest) -> Request<[String: AnyJSON]> {
            Request(path: path, method: "POST", body: body, id: "studio_api_living_radio_api_send_chat_message")
        }
    }
}
