/// <summary> /// </summary> /// <param name="session">The session object</param> /// <param name="summonerInternalName"></param> /// <param name="parameters"></param> /// <returns></returns> public static Task <dynamic> Post(LeagueClientSession session, string summonerInternalName, LolLobbyLobbyBotParams parameters) => session.SendRequestAsync <dynamic>("POST", $"/lol-lobby/v1/lobby/custom/bots/{summonerInternalName}", body: parameters);
Post(LeagueClientSession session, LolLobbyLobbyBotParams parameters) => session.SendRequestAsync <dynamic>("POST", "/lol-lobby/v1/lobby/custom/bots", body: parameters);
public static Task <object> PostLolLobbyV1LobbyCustomBots([Parameter("parameters", "body")] LolLobbyLobbyBotParams parameters) => Sender.Request <object>("post", $"/lol-lobby/v1/lobby/custom/bots", parameters);
public static Task <object> PostLolLobbyV1LobbyCustomBotsBySummonerInternalName([Parameter("summonerInternalName", "path")] string summonerInternalName, [Parameter("parameters", "body")] LolLobbyLobbyBotParams parameters) => Sender.Request <object>("post", $"/lol-lobby/v1/lobby/custom/bots/{summonerInternalName}", parameters);
/// <summary> /// Adds a bot to a custom game lobby. /// </summary> public Task PostCustomBotAsync(LolLobbyLobbyBotParams parameters) => Client.MakeRequestAsync("/lol-lobby/v1/lobby/custom/bots", Method.POST, parameters);