Avito Send Message icon

Avito Send Message

Overview

This node sends a photo message using the Avito API. It is designed to send an image to a specific chat associated with a user by providing necessary authentication and identifiers. This node is useful in scenarios where automated messaging with images is required, such as sending product photos, notifications, or updates directly to users' chats on the Avito platform.

Practical examples include:

  • Automatically sending promotional images to customers.
  • Delivering user-specific images like receipts or tickets.
  • Sharing visual content in customer support conversations.

Properties

Name Meaning
Token The authentication token used to authorize the API request.
User Id The identifier of the user who will receive the photo message.
Chat Id The identifier of the chat where the photo message will be sent.
Image The identifier of the image to be sent in the message.

Output

The node outputs a JSON array containing the response from the Avito API after attempting to send the photo message. This response typically includes details about the success or failure of the operation and any relevant metadata returned by the API.

No binary data output is produced by this node.

Dependencies

  • Requires access to the Avito API via an API token.
  • The node depends on an external module (AvitoApi) that handles the actual API call to send the photo message.
  • Proper configuration of the API token and valid identifiers for user, chat, and image are necessary for successful execution.

Troubleshooting

  • Invalid Token or Authentication Failure: Ensure the provided token is correct and has the necessary permissions.
  • Incorrect User Id or Chat Id: Verify that the user and chat identifiers exist and are valid within the Avito system.
  • Invalid Image Id: Confirm that the image ID corresponds to an accessible image in the Avito platform.
  • API Errors: If the API returns errors, check network connectivity and API status. Review the response message for specific error details.
  • Empty or Missing Parameters: Make sure all required properties (token, userId, chatId, imageId) are provided and not empty.

Links and References

Discussion