send_message
Send a GroupMe message to a group or direct chat, optionally attaching an image or replying to a message. Specify the destination with group or user ids from list_conversations.
Instructions
Send a message to a GroupMe group or direct-message chat.
Use this to post as the authenticated user once you know where to send
(ids come from list_conversations). Each call sends a new message —
calling twice posts twice. To reply to a specific message, pass its id
(from read_messages) as reply_to_message_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The message text, at most 1000 characters. May be empty only when ``image_url`` is given. | |
| image_url | No | Image to attach. Only GroupMe image-service URLs (``https://i.groupme.com/...``) are supported for now; other image URLs are rejected with guidance. | |
| conversation | Yes | Where to send: ``{"kind": "group", "group_id": ...}`` or ``{"kind": "direct", "other_user_id": ...}``. | |
| reply_to_message_id | No | Id of the message being replied to, attached as a GroupMe reply so clients render it threaded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| text | Yes | ||
| sent_at | Yes | ||
| group_id | No | ||
| message_id | Yes | ||
| attachments | No | ||
| other_user_id | No | ||
| conversation_id | No |