Marketplace
Toolsaction

Update Beat

Altera a descrição, o tipo ou o agendamento de um beat existente pelo ID.

nome da ferramenta: update_beat

Atualiza um beat existente. Use antes o List Beats se o ID não for conhecido. Descrição, tipo, agendamento cron ou canal/destino de notificação podem ser alterados de forma independente.

Parâmetros

NomeTipoObrigatórioDescrição
idstringsimThe UUID of the beat to update.
beatstringNew description for the beat.
typestringreminder, scheduled_beatNew type for the beat.
cron_expressionstringNew 5-field cron expression, e.g. "0 9 * * 1" (every Monday at 9am).
channelstringtelegram, whatsappNew channel for the beat, if it should notify a different chat. Must be provided together with target.
targetstringNew recipient address (Telegram chat id or WhatsApp JID) for the beat. Must be provided together with channel.
Ver código-fonteMelhorar esta entrada