Available translations

Telegram Bot

social-bots.png
telegram-bot.png
The Telegram Bot node is used to define the parameters used to connect to the Telegram API. This allows Superalgos to interact with Telegram to send announcements and receive incoming commands.
The Telegram Bot node is used to define the botToken and chatId parameters which are required by Superalgos to interact with the Telegram API.
The botToken parameter is provided by the Telegram Bot @BotFather. It is a 10 digit number, followed by a colon and then a 35 character (alpha-numeric but can also containing dash - and underscore _) string.
It should be contained within quotes.
Example:
 "1234567890:aBCdE_FG4hij0kLMnoP9qrsTUvw25-xyz31"
The chatId parameter is provided by the Telegram Bot @myidbot using the /getgroupid command. It is a negative 9 digit numeric number. It should be entered without quotes.
Example:
 -123456789
Example Configuration:
 {
	"botToken": "1234567890:aBCdE_FG4hij0kLMnoP9qrsTUvw25-xyz31",
	"chatId": -123456789
 }
Initial Values
These are the Initial Values for Telegram Bot configuration:
 {
    "botToken": "Paste_the_bot_token_obtained_from_Telegram_Bot_Father",
    "chatId": "Type_or_paste_the_chat_or_group_id_A_NUMBER_WITH_NO_QUOTES_where_announcements_are_going_to_be_sent_to"
}
Examples
This is a list of properties featured by the Telegram Bot configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Telegram Bot Menu
The Telegram Bot node has the following Node Menu items:
The Configure menu item has the following properties:
  • action: Configure
  • actionFunction: uiObject.configEditor.activate
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
  • actionProject: Foundations
The Add Social Bot Command menu item has the following properties:
  • action: Add UI Object
  • label: Add Social Bot Command
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Social-Bots
The Add Timer Announcement menu item has the following properties:
  • action: Add UI Object
  • label: Add Timer Announcement
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Social-Bots
The Send Telegram Test Message menu item has the following properties:
  • action: Send Telegram Test Message
  • label: Send Telegram Test Message
  • iconPathOn: test-entity
  • iconPathOff: test-entity
  • actionFunction: payload.executeAction
  • actionProject: Social-Bots
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
Telegram Bot Children
The Telegram Bot node has the following childrenNodesProperties:
The Social Bot Command node property features the following properties:
  • name: socialBotCommand
  • type: array
  • autoAdd: false
  • project: Social-Bots
The Timer Announcement node property features the following properties:
  • name: timerAnnouncement
  • type: array
  • autoAdd: false
  • project: Social-Bots
Telegram Bot Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Telegram Bot with other nodes:
Compatible Types: