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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Dm.Thread.WithThreadId {
    public var info: Info {
        Info(path: path + "/info")
    }

    public struct Info {
        /// Path: `/api/dm/thread/{thread_id}/info`
        public let path: String

        /// Get Thread
        ///
        /// Get a thread information such as users, group notes, etc.
        public var get: Request<GenAPI.GetThreadResponse> {
            Request(path: path, method: "GET", id: "studio_api_dm_api_get_thread")
        }
    }
}
