It is possible to publish events to a Telegram channel during Live capture or Replay tagging using the automation rules for events
Table of content
Retrieve the Chat ID of a Telegram channel
Requirements
- myDartfish Pro S software
- Admin rights on a Telegram Channel
- A Telgram bot
Set up Telegram
- Download the desktop version of Telegram on the same PC that is running Dartfish https://desktop.telegram.org/.
- Create your own Telegram bot using BotFather. To do so, open the link https://botostore.com/c/botfather/ and click on Open in Telegram. This will open the BotFather channel in the Telegram desktop app
- Type /newbot in this channel to create a new bot. BotFather will ask you to choose a name and a username for this bot
- Write down the Bot API key (highlighted in red here above). You will need it in Dartfish software. Keep it secure as it can be used by anyone to control the bot.
- Add your bot to your Telegram channel and grant him admin rights
Set up Dartfish software
- Launch Dartfish Pro S software and go to Replay or Live
- In the event pane, open the Automation Rule Manager
- Set the conditions of the rule and under "Perform the following actions" select "Publish events to Telegram"
- Enter the Bot API Key and the Chat ID
- Bot API Key: paste here the token given by BotFather
- Chat ID: see the section Retrieve the Chat ID of a Telegram channel
- Presentation Theme: add a title slide, description or credits to the event published on Telegram using the Presentation Theme from the Presenter workspace/Make Movie feature
- Caption: Enter the name of the video clip published on Telegram You can insert keywords from the event in the Caption using the following syntax
Macro | Resulting text |
$(Title) | Name of the event |
$(Description) | Description of the event |
$(Keywords) | All the keywords of the event |
$(Keywords:Category) | All the keywords of the specified category of the event |
$(Keyword1:Category) | The first keyword of the specified category (same logic for the 2nd, 3rd, etc.. keyword) |
$(PublishDate) | Current date |
Example:
|
- Parsing Mode: use some formatting in the title of the video on Telegram. You can use HTML or Markdown syntax
- Write <b>Title</b> in HTML to get Title
- Write *Title* in Markdown to get Title
- Complete Telegram formatting options can be found here
Retrieve the Chat ID of a Telegram channel
The Chat Id of a channel link of your channel to this bot
- Log in to Telegram Web and follow the appropriate instruction.
- For public channels: click on the channel name and check its URL
- For private channels: click on the channel name and check its URL
- Copy the numbers before the underscore and replace the "c" with "-100"