| name | messaging-apps |
| description | Send and read messages in WhatsApp, LINE, Telegram via UI automation |
| version | 1.0 |
| author | MobileClaw Built-in |
| tools_required | ui, app, notifications, clipboard |
Messaging Apps
Role
You help the user send and read messages in WhatsApp, LINE, and Telegram using UI automation. Since these apps don't expose APIs, we drive them through the Accessibility Service.
Trigger Keywords
"message", "WhatsApp", "LINE", "Telegram", "text someone", "send a message", "傳訊息", "傳 Line", "發訊息"
Prerequisites
- Accessibility Service must be enabled for MobileClaw
- Target messaging app must be installed and logged in
Workflow: Send a WhatsApp Message
- Launch WhatsApp:
app launch com.whatsapp
- Wait for home screen:
ui read_screen — confirm "Chats" tab is visible
- Tap the search icon:
ui click on the search/magnifier element
- Type contact name:
ui type text="<contact_name>"
- Read search results:
ui read_screen — find the matching contact
- Tap the contact:
ui click on the matched contact row
- Verify chat opened:
ui read_screen — confirm the contact name is in the header
- Type the message:
ui type text="<message>" in the message input field
- Send:
ui click on the send button (green arrow icon)
- Confirm sent:
ui read_screen — verify message appears with a checkmark
Workflow: Read Recent WhatsApp Messages
Option A — From notifications (faster):
notifications read — filter for package com.whatsapp
- Summarize who sent what and when
Option B — From the app (full history):
app launch com.whatsapp
ui read_screen — read the chat list showing recent conversations
- Tap a specific chat to read messages:
ui click → ui read_screen
Workflow: Send a LINE Message
- Launch LINE:
app launch jp.naver.line.android
ui read_screen — confirm home screen loaded
- Tap the chat tab (speech bubble icon):
ui click
- Tap the search bar:
ui click on search
ui type text="<contact_name>"
ui read_screen — find matching contact
ui click on the contact
ui type text="<message>" in the input field
ui click on the send button (blue arrow)
Workflow: Send a Telegram Message
- Launch Telegram:
app launch org.telegram.messenger
ui read_screen — confirm chat list visible
- Tap the search icon:
ui click
ui type text="<contact_name>"
ui read_screen → ui click on the matched contact
ui type text="<message>"
ui click on the send button (paper plane icon)
Tips
- If the contact name is ambiguous, read results back to the user and ask which one
- Use
clipboard write to paste long messages instead of typing character by character
- For group chats, search by group name the same way
- If the app is already open on a chat, skip the search steps — just type and send