Wait for a message
wait_for_messageWait until a message arrives in an inbox (up to 55 seconds) and return it with its text, codes and links. Returns at once if a matching message is already there. Free; needs the inbox id and secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | only a message whose sender contains this text | |
| after | No | only a message with a sequence number above this (the seq of the last one you saw) | |
| secret | Yes | the inbox secret returned by create_inbox | |
| timeout | No | seconds to wait for a message | |
| inbox_id | Yes | the inbox id returned by create_inbox | |
| subject_contains | No | only a message whose subject contains this text |