telegram

Return Salt data via Telegram.

To use the Telegram returner, append --return telegram to the Salt command.

salt '*' test.ping --return telegram
saltext.telegram.returners.telegram_return.returner(ret)[source]

Send a Telegram message with the data.

Parameters:

ret – The data to be sent.

Returns:

Boolean if message was sent successfully.