К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-update-event.mdиндекс документации — /llms.txt

update_event

Обновлено

Update an event by its `id`, a partial patch: omitted keys stay, `null` clears. The phase moves with set_event_phase / cancel_event. `start_at` / `end_at`: a wall-clock in the event timezone or an ISO instant with an offset; the start must be ahead, the end not before it; only a draft may lose its start; a finished or cancelled event keeps its times; a started one moves only its end. `timezone`: the event's own IANA zone (`null` = business timezone); times in the same call are read in it, changing it alone keeps the stored instants. `address`, `stream_url` (https) and `is_online` describe the venue. Automation: `{moment}_chain_id` binds a message chain by its `id` (`null` unbinds) for each moment: registration, checkin, checkout, post_event, decline, start_event, no_show, reminder_24h, reminder_1h. `{moment}_chain_step_id` names an ENTRY STEP of that same chain; it is accepted only together with its chain, and a chain without a step starts from the beginning. `catalog_ids`: ticket tiers as tenant-local Catalog ids (integers; the whole list; `[]` unbinds). `capacity` may not exceed `target_registrations`, nor fall below the seats buyers hold in checkout (EVENT_SEATS_BELOW_HELD). `is_cancel_only_via_manager`: a buyer cancels a ticket only through the manager. `requires_approval`: a registration becomes an application the organizer answers; switched off, waiting applications stay decidable. `approval_hold_hours` (1..168, default 48): how long an approved application's order holds its seats; `sale_cutoff_minutes` (0..10080, default 0 = until the start): the sale and the applications close that many minutes before the start. Minutes: `reminder_24h_offset_minutes` / `reminder_1h_offset_minutes` before start_at (5..10080, the first earlier than the second); `no_show_offset_minutes` after start_at, `post_event_offset_minutes` after end_at (0..10080); `null` = only the operator or complete_event fires that moment. Returns the updated event. NOT_FOUND when the event or a catalog id is not your tenant's.

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Update an event by its `id`, a partial patch: omitted keys stay, `null` clears. The phase moves with set_event_phase / cancel_event. `start_at` / `end_at`: a wall-clock in the event timezone or an ISO instant with an offset; the start must be ahead, the end not before it; only a draft may lose its start; a finished or cancelled event keeps its times; a started one moves only its end. `timezone`: the event's own IANA zone (`null` = business timezone); times in the same call are read in it, changing it alone keeps the stored instants. `address`, `stream_url` (https) and `is_online` describe the venue. Automation: `{moment}_chain_id` binds a message chain by its `id` (`null` unbinds) for each moment: registration, checkin, checkout, post_event, decline, start_event, no_show, reminder_24h, reminder_1h. `{moment}_chain_step_id` names an ENTRY STEP of that same chain; it is accepted only together with its chain, and a chain without a step starts from the beginning. `catalog_ids`: ticket tiers as tenant-local Catalog ids (integers; the whole list; `[]` unbinds). `capacity` may not exceed `target_registrations`, nor fall below the seats buyers hold in checkout (EVENT_SEATS_BELOW_HELD). `is_cancel_only_via_manager`: a buyer cancels a ticket only through the manager. `requires_approval`: a registration becomes an application the organizer answers; switched off, waiting applications stay decidable. `approval_hold_hours` (1..168, default 48): how long an approved application's order holds its seats; `sale_cutoff_minutes` (0..10080, default 0 = until the start): the sale and the applications close that many minutes before the start. Minutes: `reminder_24h_offset_minutes` / `reminder_1h_offset_minutes` before start_at (5..10080, the first earlier than the second); `no_show_offset_minutes` after start_at, `post_event_offset_minutes` after end_at (0..10080); `null` = only the operator or complete_event fires that moment. Returns the updated event. NOT_FOUND when the event or a catalog id is not your tenant's."
domain"events"
name"update_event"
platform_version"1.0.34"
required_scopes["events:write"]
risk"write"
scope"events:write"
title"Update Event"

Входные параметры

update_event: inputSchema

Результат

update_event: outputSchema