File Message
To create a file message, you need to leverage the FileRepository
. Create a file and pass the file ID into the createFileMessage
later on. This method also accepts an optional caption
parameter to be able to display additional text with the message. You can add up to 1,000 characters of text caption per message.
Here's a small example on how to create a message with an image attached. The process is pretty simple:
Upload a file.
Create a message with the uploaded file ID.
Last updated