Paid Media
The Paid Media component sends photos and videos to the channel and to the bots with a spoiler. To open the files, the user should pay for them with Telegram internal currency called Telegram Stars.
Configuration
1. Create a channel in Telegram or use a previously created channel.
2. Add the bot to your subscribers. You can add a bot by clicking on the channel header, then select the Subscribers section and Add subscribers.
3. Set the bot as an administrator with all rights.
4. Add the Paid Media Files component to the screen.
5. Select a file from the file system or add it by dragging and dropping onto the "Select File" button. You can also add the file as a link.
6. If you add a link to the file, insert the link in the "Specify URL" field in the appeared "Media file type" field and then specify what exactly you added — an image or a video . If you do not select the media type, an error will pop up when you try to save it. If you select the wrong media type, the files will not be sent to the channel.
7. Files are added one at a time. To add the next file, click Add Media, then add the next file. One component can contain both images and videos. In total, the component supports up to 10 media inclusive.
To remove media from the component, click on the serial number of this media and click the Delete Media button.
8. If you need to protect media from forwarding, activate the Protect Content checkbox.
9. Fill in the Signature field and set the price for opening the media.
10. If necessary, specify the recipient ID.
All fields in the component are compiled — if necessary, you can add values from the template.
11. Save the changes and go to the Settings section.
12. Create the Publication in channel (Telegram) event. In the event, select the screen where you configured the Paid Media component.
Component operation
If you want the files to come to the channel, you should activate the previously configured Publication in channel (Telegram) event. To activate it, it is enough to write any post to the channel.
After that, all subscribers of the channel will receive a post and media with the possibility of payment. For everyone, except the channel owner, paid media will come with a spoiler that can be removed for a specified number of stars.
For the channel owner, the files will be displayed as regular pictures or videos without a spoiler. Other users can see the price for opening the file in the upper right corner. Only channel guests can pay for the content. The channel owner does not have this option.