Messaging: Find chat by user
messaging_find_chat_by_userFind the existing one-to-one chat for a known LinkedIn, WhatsApp, Instagram or Telegram provider user ID. Use after resolving the user; user_id is not chat_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Exact provider user ID returned by a profile/contact resolver; never a name or profile URL. | |
| account_id | No | Optional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here. |