| 开发者 | senzastile |
|---|---|
| 更新时间 | 2026年5月29日 23:33 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
parse_mode HTML with dynamic fields escaped and markup filtered through wp_kses().{title}, {excerpt}, {url}. Legacy: {permalink} (same as {url}), {author}, {date}.
Allowed HTML in templates: b, strong, i, em, code, a (href).
senzastile-autopost-for-telegram folder to /wp-content/plugins/ or install the ZIP from Plugins → Add New.@BotFather and copy the HTTP token.@channel or numeric ID).For public channels you can often use @yourchannel. Private channels and some setups need the numeric ID (often starting with -100). Forward a channel message to bots like @userinfobot / @getidsbot or use Telegram’s “Get Chat” patterns described in the Bot API docs.
The post must have a featured image, the option to send the image must be enabled, and Telegram must be able to fetch your image URL (public HTTPS is typical). If sending the photo fails, the plugin falls back to a text-only message.
Yes. Outbound messages use Telegram HTML rules. The plugin escapes dynamic WordPress fields and only allows a small HTML subset you define in templates.
Yes. Use the per-post option in the editor sidebar to skip Telegram for that post.
Failed API requests store the latest error for admins on AutoPost Telegram → Settings and in the dashboard widget when enabled.
ssapt_* options, text domain senzastile-autopost-for-telegram).SSAPT_Preview) for UI bubbles and Telegram preview sends; history contexts connection and test.ssapt_inline_button_*, filters ssapt_inline_button_*, ssapt_reply_markup).ssapt_enabled_post_types and transition_post_status.{prefix}ssapt_history) with context (auto, manual, bulk, retry, test), status (sent, failed, pending), and telegram_message_id for future edit/delete.ssapt_db_version (integer, independent of plugin version).ssapt_bulk_batch_size filter).SSAPT_Queue class for future queue/retry workers.wp_telebridge_*, and {prefix}telebridge_history.ssapt_test_message_text filter.