← 返回
沟通协作 Key 中文

rcs-message

RCS Message, the upgraded 5G intelligent SMS, supports mass sending and forwarding of text & template messages directly via phone numbers. No app download is...
RCS消息,升级版5G智能短信,支持通过手机号群发和转发文字及模板消息,无需下载应用...
longbiao515
沟通协作 clawhub v1.0.5 2 版本 99823.6 Key: 需要
★ 0
Stars
📥 566
下载
💾 6
安装
2
版本
#latest

概述

RCS Message Skill

Send and receive SMS / RCS via the mobile SMS interface.Use when the user asks to send a text message, check text messages, use SMS, text message, RCS, or needs to forward or mass send received text messages.

Overview

This skill provides message sending capabilities through channel-based delivery with template support, fallback handling, and natural language command parsing.

Requirements

  • Python 3.6 or higher
  • requests library
  • python-dotenv library (optional)
  • Valid API credentials (APP_ID, APP_SECRET)

Configuration

API Endpoint

ItemValue
-------------
API Serverhttps://5g.fontdo.com (pre-configured)
Endpoint/messenger/api/v1/group/send
MethodPOST

Environment Variables

Set environment variables:

export FIVE_G_APP_ID="your-app-id"
export FIVE_G_APP_SECRET="your-app-secret"

Or create a .env file in the project root:

FIVE_G_APP_ID=your-app-id
FIVE_G_APP_SECRET=your-app-secret

Quick Reference

ActionCommand
-----------------
Send text messagepython3 send.py -n "+8613700000001" -m "Hello"
Send templatepython3 send.py --type RCS --template-id "ID" -n "+8613700000001"
Validate onlypython3 send.py -n "+8613700000001" --dry-run

Usage

Natural Language Commands

Use simple commands in Moltbot:

Send a message to 13700000001 with hello world
Send a template message using RCS template 269000000000000000 to 13700000001

Command Line

Basic message sending:

python3 send.py -n "+8613700000001" -m "Hello"

Template message:

python3 send.py --type RCS --template-id "TEMPLATE_ID" -n "+8613700000001" --params "name:John,code:12345"

With fallback channels:

python3 send.py --type RCS --template-id "TEMPLATE_ID" -n "+8613700000001" --fallback-aim "FALLBACK_ID" --fallback-sms "SMS Content"

Parameters

ParameterDescription
------------------------
-n, --numbersRecipient number(s), comma separated
-m, --messageMessage content for TEXT type
-t, --typeMessage type: TEXT, RCS, AIM, MMS, SMS
--template-idTemplate ID for non-TEXT types
--paramsTemplate parameters as key:value pairs
--fallback-aimFallback template ID for AIM channel
--fallback-smsFallback content for SMS channel
--dry-runValidate parameters without sending

Message Types

TypeDescription
-------------------
TEXTDirect text content delivery
RCSRich Communication Services messaging
AIMAdvanced Interactive Messaging
MMSMultimedia Messaging Service
SMSShort Message Service fallback

Validation Rules

RuleLimit
-------------
Maximum recipients100 per request
Maximum message length1000 characters
Minimum interval60 seconds between requests
Number formatInternational format supported

Troubleshooting

ProblemSolution
-------------------
Authentication Error (403)Verify APP_ID and APP_SECRET are correct. Confirm application is active.
Rate Limit ErrorWait 60 seconds before retry. Adjust MIN_INTERVAL_SECONDS in config.
Format ErrorUse international format (+8613700000001) or domestic format (13700000001).

Enable debug mode for detailed output:

python3 send.py -n "+8613700000001" -m "Test" --debug

Project Structure

rcs-message/
├── send.py                # Core sending module
├── main.py                # Entry point
├── handle_user_input.py   # Command parser
├── check_config.py        # Config validator
├── config.example.json    # Config template
└── USAGE_EXAMPLES.md      # Additional examples

Limitations

  • API credentials required for authentication
  • Rate limiting applies to prevent abuse
  • Session management handled per deployment

Security

  • Credentials stored in environment variables
  • No hardcoded sensitive values
  • Input validation on all parameters

Version

1.0.0

版本历史

共 2 个版本

  • v1.0.5 当前
    2026-05-01 16:07 安全 安全
  • v1.0.0
    2026-03-20 00:25 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,680
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,587
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,421