This plugin will allow you to build from scratch an autoblogging system, based on Telegram Bots.
This plugin will allow you to automatically post to any Telegram channel or conversation, you are allowed to access, each time you publish a new post on your blog. Also, existing pages/posts will be able to be posted automatically to Telegram, manually, from post editor page.
Post to Telegram chats or groups, with ease
Using Telegram Bot API
The plugin offers many configuration options, like the ability to post instantly, or to delay posting by an amount of seconds
To make this plugin work, first, you'll need to install the plugin. The easiest method is to take the .zip file you've downloaded and upload it via Plugins > Add New > Upload Plugin in the WordPress Dashboard. Once the plugin is installed, be sure to Activate it.
Now that you've installed and activated the plugin, you'll see a new menu item created inside WordPress called 'TGomatic Post Generator'. First thing first, let's head over to Settings > TGomatic Post Generator and take a look at what options are available.
Refreshingly, TGomatic - Telegram Bot has a super-simple settings screen. Let's look at first at the settings panel:
Here you can find the steps needed in configuring your plugin even if you have no HTML knowledge at all. You can find options for:
HINT! Don't forget to click the Save button every time you modified your settings, otherwise the modifications will be lost!
TGomatic Automatic Post Generator Plugin - Main Switch: Enable or disable the TGomatic - Telegram Bot. This acts like a main switch.
Telegram Bot Token: Insert your Telegram Bot Token. Learn how to get one here.
Web Proxy Address: If you want to use a proxy to crawl webpages, input it's address here. Required format: IP Address/URL:port
Enable Logging for Rules: Do you want to enable logging for rules?
Enable Detailed Logging for Rules: Do you want to enable detailed logging for rules? Note that this will dramatically increase the size of the log this plugin generates.
Automatically Clear Logs After: Choose if you want to automatically clear logs after a period of time.
Timeout for Rule Running (seconds): Set the timeout (in seconds) for every rule running. I recommend that you leave this field at it's default value (3600).
Shorten Exported URLs To Telegram Using Bitly: Choose if you want to cloak URLs with Bitly link shortener. To lean more about this, please visit this link.
Posts to Telegram Screen:
Telegram Conversation IDs Where to Publish Posts: Input a comma separated list of Telegram conversation IDs where the plugin should submit posts. You can prepend IDs with @ or not, both ways will work.
Telegram Groups Where The Bot Will Post: The list of groups where the bot is added. Te refresh the list, click the 'Refresh Group List' button above
Post Types To Publish: Select the post types you wish to submit to Telegram.
Telegram Post Message Template: Choose the template of your Telegram posts. You can use the following shortcodes: %%variable_content%%, %%featured_image%%, %%post_cats%%, %%post_tags%%, %%blog_title%%, %%author_name%%, %%post_link%%, %%random_sentence%%, %%random_sentence2%%, %%post_title%%, %%post_content%%, %post_excerpt%%
Publish Text Post If Image/Video Post Does Not Contain Images/Videos: Select if you wish to post text posts when there are no usable images/videos to be posted to Telegram. If you uncheck this checkbox, posts without usable links will be skipped instead.
Delay Posting By (Seconds): Do you want delay posting with this amount of seconds from post publish? This will create a single cron job for each post (cron is a requirement for this to function). If you leave this field blank, posts will be automatically published on post creation.
Use Async Posting Method: This option will allow you to select if you want to run posting in async mode. This means that each time you publish a post, the plugin will try to execute it's task in the background - it will no longer block new post posting, while it finishes it's job.
Maximum Post Count Per Time Interval: Set the maximum number of posts to be submitted each predefined time interval (default is 1 hour, you can change this in the 'Maximum Post Count Interval' settings from below. To disable this feature, leave this field blank.
Maximum Post Count Interval (Minutes): Set the maximum number of posts to be submitted each predefined time interval.
Disable Autoposting of 'Posts': Do you want to disable automatically posting of WordPress 'posts' to Telegram?
Disable Autoposting of 'Pages': Do you want to disable automatically posting of WordPress 'pages' to Telegram?
Disable Autoposting of 'Custom Post Types': Do you want to disable automatically posting of WordPress 'pages' to Telegram?
Disable Autoposting of Selected Categories: Do you want to disable automatically posting of WordPress 'posts' to Telegram?
Disable Autoposting of Selected Tags: Input the tags for which you want to disable posting. You can enter more tags, separated by comma. Ex: cars, vehicles, red, luxury. To disable this feature, leave this field blank.
%%variable_content%% Shortcode Content: Set the %%variable_content%% shortcode content.
%%variable_content%% Shortcode Occurance Rate: Set the occurance rate of the %%variable_content%% shortcode. In this percentage, the shortcode will be filled with content and posted.
Activity and Logging Screen:
Restore Plugin Default Settings: Hit this button and the plugin settings will be restored to their default values. Warning! All settings will be lost!
Activity Log: This is the main log of your plugin. Here will be listed every single instance of the rules you run or are automatically run by schedule jobs (if you enable logging, in the plugin configuration).
How to customize resulting posts with built in shortcodes?
You can use the following shortcodes in post title and content editing:
%%post_title%%, %%post_content%%, %post_excerpt%%
%%variable_content%% - create variable content
%%featured_image%% - the featured image link of the post
TGomatic - Telegram Bot is a simple, yet powerful tool you can use to create an autoblog with ease. The setup and settings of the plugin couldn't have been easier. Now, let's go and enjoy the results of this great plugin! Have fun using it!