Let's take a look at the visual representation of the BotTabNews data source, as well as consider an example of a robot that is subscribed to news.
1. Creating a robot with the BotTabNews source.
In the robot creation window, you can see the list of sources in this column:
Let's create a robot with a single source of the News type:
2. Connecting data to the robot.
After that, we can connect data to the robot:
1. Open the robot's interface.
2. Select the management tab on the right.
3. Open the Data Settings menu. Choose a connector for connection and the number of messages you want to see in the table at most.
The news feed looks like this:
3. Example of a robot subscribed to news.
The robot is called NewsEngine and is located in the Robots/Engines folder:
This robot is subscribed to the event of a new news item coming in from the source, and we can see how this source is created:
1. Robot's location in the project.
2. Creating a BotTabNews source and subscribing to the event of a new news item.
3. Event handler for incoming news.
Happy algorithm development!