پیامی را از یک نماینده به کاربر ارسال می کند. اگر مکالمه ای وجود نداشته باشد یا یک نماینده سعی کند در یک مکالمه پیامی ارسال کند که مجاز به شرکت در آن نیست، یک خطای PERMISSION DENIED را برمی گرداند.
درخواست HTTP
POST https://businessmessages.googleapis.com/v1/{parent=conversations/*}/messages
تاریخ آخرین بهروزرسانی 2024-10-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-25 بهوقت ساعت هماهنگ جهانی."],[[["Sends a message from an agent to a user within a specific conversation."],["Returns a `PERMISSION DENIED` error if the conversation doesn't exist or the agent isn't authorized."],["Allows sending fallback text instead of the main message content for non-launched agents using the `forceFallback` query parameter."],["Requires the `https://www.googleapis.com/auth/businessmessages` OAuth scope for authorization."],["Uses the `POST` method with the URL `https://businessmessages.googleapis.com/v1/{parent=conversations/*}/messages` to send the message."]]],[]]