diff --git a/CSteamGroup.md b/CSteamGroup.md index 9e782a2..2011044 100644 --- a/CSteamGroup.md +++ b/CSteamGroup.md @@ -122,6 +122,22 @@ Schedules a new event for the group. `type` can be one of the strings shown belo - `SportsEvent` - Sporting endeavor - `TripEvent` - Out of town excursion +### editEvent(id, name, type, description, time[, server, callback]) +- `id` - The 64-bit numeric ID of the event you want to edit (as a string) +- `name` - The event's name/headline +- `type` - See below +- `description` - A description for the event +- `time` - `null` to start it immediately, otherwise a `Date` object representing a time in the future +- `server` - If this is a game event (see below), this can be a string containing the game server's IP address or an object containing `ip` and `password` properties. If not a game event, this should be null or undefined. +- `callback` - Called when the request completes + - `err` - `null` on success, an `Error` object on failure + +**Non-object method name: `editGroupEvent`** + +**v3.20.0 or later is required to use this method** + +Edits an existing Steam group event. Parameters are identical to those in `scheduleEvent`. + ### setPlayerOfTheWeek(steamID[, callback]) - `steamID` - A `SteamID` object representing the group's new Player of the Week - `callback` - Called when the request completes