Request Parameters
Main Structure
Business identifier, please confirm with MarsMind Intelligence
Signature, see algorithm below
Timestamp (Unix seconds)
Message details, see field definitions below
message_info Fields
Unique message ID, required in assist_dialog scenario
Group chat ID, error 400 if both from_user_id and group_id are empty
Group chat name
Sender ID
Sender nickname
Receiver ID
Receiver nickname
List of @ user IDs (only supported by auto_dialog)
Message text content, at least one of content and files_info is required
1 = Normal message, 2 = Quoted message
auto_dialog | assist_dialog | website_dialog | cmd_dialog
1=Robot bound account 2=Customer 3=Customer Service 4=Robot message. Required for auto_dialog
Message creation time (Unix timestamp)
Attachment list, see table below. At least one of content and files_info is required
Quoted message object, must contain msg_id, message_type. Required if message_type=2
files_info Structure
File address or base64 data
“image”/“document”/“voice”
Dialogue Scenario Description
auto_dialog (Automatic Dialogue)
event_type = auto_dialog- Provide
send_url, MarsMind Intelligence automatically controls message logic - Supports text, images, files (unique type per request)
- Bound objects: Fill in 1 for all except the intelligent assistant’s own messages
- Unbound objects: Fill in 2 for external customers, 3 for company personnel
assist_dialog (Assisted Dialogue)
event_type = assist_dialog- Return message processing results in real-time
- If parameters are consistent with auto_dialog message, context will be reused
website_dialog (Website Dialogue)
event_type = website_dialog- Message returns results immediately and merges into context, send_url not supported
cmd_dialog (Command Control)
event_type = cmd_dialog- content is specific command, currently supports:
stop_auto_reply: Stop automatic reply (only valid in auto_dialog scenario)

