Sync: Complete project state with all MEGA SPRINT V1-V3 features and Codex stubs
This commit is contained in:
16
ralph/scripts/Test-RalphTelegram.ps1
Normal file
16
ralph/scripts/Test-RalphTelegram.ps1
Normal file
@@ -0,0 +1,16 @@
|
||||
param(
|
||||
[string]$Title = "Ralph Telegram test",
|
||||
[string]$Message = "Telegram notifications are enabled."
|
||||
)
|
||||
|
||||
. (Join-Path $PSScriptRoot "Common.ps1")
|
||||
|
||||
$result = Send-TelegramNotification `
|
||||
-EventName "run_started" `
|
||||
-Title $Title `
|
||||
-Message $Message `
|
||||
-RunId ("telegram-test-" + (Get-Date -Format "yyyyMMdd-HHmmss")) `
|
||||
-Stage "test" `
|
||||
-Status "manual"
|
||||
|
||||
($result | ConvertTo-Json -Depth 20)
|
||||
Reference in New Issue
Block a user