be3eb9b8e7
Cross-posting Joomla content to social media, email marketing, and chat platforms. Plugin-based service architecture with custom mokojoomcross plugin group. 14 sub-extensions: - com_mokojoomcross (admin component: dashboard, posts, services, logs) - plg_system_mokojoomcross (triggers cross-posting on article publish) - plg_content_mokojoomcross (admin article status badges) - plg_webservices_mokojoomcross (REST API) - 9 service plugins: facebook, twitter, linkedin, mastodon, bluesky, mailchimp, telegram, discord, slack Includes Perfect Publisher Pro migration tool, message templates with placeholders, post queue with retry logic, and default/custom bot modes for services supporting universal bots. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
59 lines
1.3 KiB
Markdown
59 lines
1.3 KiB
Markdown
# Telegram Service
|
|
|
|
Cross-post Joomla articles to Telegram channels, groups, or users.
|
|
|
|
## Setup
|
|
|
|
### Default Bot (@MokoWaaSBot)
|
|
|
|
1. Add MokoJoomCross service with type **Telegram**
|
|
2. Set mode to **Default**
|
|
3. Enter your **Chat ID** (channel, group, or user)
|
|
4. Add @MokoWaaSBot to your channel/group as admin
|
|
|
|
### Custom Bot
|
|
|
|
1. Create a bot via [@BotFather](https://t.me/BotFather)
|
|
2. Add MokoJoomCross service with type **Telegram**
|
|
3. Set mode to **Custom**
|
|
4. Enter your Bot Token and Chat ID
|
|
5. Add your bot to the target channel/group as admin
|
|
|
|
## Credentials Format
|
|
|
|
```json
|
|
{
|
|
"mode": "default",
|
|
"chat_id": "-100xxxxxxxxxx"
|
|
}
|
|
```
|
|
|
|
Or for custom bot:
|
|
|
|
```json
|
|
{
|
|
"mode": "custom",
|
|
"bot_token": "123456:ABC-DEF...",
|
|
"chat_id": "-100xxxxxxxxxx"
|
|
}
|
|
```
|
|
|
|
## Finding Your Chat ID
|
|
|
|
- **Channel**: Forward a message from your channel to @userinfobot
|
|
- **Group**: Add @userinfobot to the group temporarily
|
|
- **User**: Send a message to @userinfobot
|
|
|
|
Channel IDs typically start with `-100`.
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Default | Description |
|
|
|-----------|---------|-------------|
|
|
| parse_mode | HTML | Message format (HTML or Markdown) |
|
|
| disable_preview | false | Disable link preview in messages |
|
|
|
|
## Character Limit
|
|
|
|
Telegram supports up to **4,096 characters** per message.
|