send_message
Send a message to an EduPage recipient and post it to their timeline. Use recipient IDs from the roster to contact students or teachers.
Instructions
Send a message to a recipient. Writes: posts a new message on the recipient's timeline.
Args:
recipient_id: EduPage id like 'Student123' or 'Teacher456' (see
get_roster).
body: Message text. Must not be empty.
subdomain: School to query (defaults to the active subdomain).
Returns: dict: {'sent': True, 'timeline_id': }.
Notes:
- Recipient ids come from get_roster(roster_type='students'|'teachers')
or get_my_students.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| subdomain | No | ||
| recipient_id | Yes |