Module for sending messages via Telegram.
configuration: |
In order to send a message via the Telegram, certain configuration is required in /etc/salt/minion on the relevant minions or in the pillar. Some sample configs might look like: telegram.chat_id: '123456789'
telegram.token: '00000000:xxxxxxxxxxxxxxxxxxxxxxxx'
|
---|
Send a message to a Telegram chat.
Parameters: |
|
---|---|
Returns: |
Boolean if message was sent successfully. |
CLI Example:
salt '*' telegram.post_message message="Hello Telegram!"
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.telegram.html