This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 166cb6f Regen 166cb6f is described below commit 166cb6f2e0af38c80e1700e43b9686cac6c8b68d Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu May 30 09:35:33 2019 +0200 Regen --- docs/components/modules/ROOT/pages/soroush-component.adoc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/components/modules/ROOT/pages/soroush-component.adoc b/docs/components/modules/ROOT/pages/soroush-component.adoc index 472507a..ef91a0c 100644 --- a/docs/components/modules/ROOT/pages/soroush-component.adoc +++ b/docs/components/modules/ROOT/pages/soroush-component.adoc @@ -3,9 +3,6 @@ *Available as of Camel version 3.0* -*Available as of Camel version 3.0* - - The *Soroush* component provides access to the https://soroush-app.ir/developer.html[Soroush Bot API]. It allows a Camel-based application to send and receive messages by acting as a Bot, i.e. participating in direct conversation with normal users and send and receive message and files @@ -51,7 +48,7 @@ attachments if provided in the message (`SoroushMessage.file`, `SoroushMessage. and store the urls in the message (`SoroushMessage.fileUrl`, `SoroushMessage.thumbnailUrl`). |=== - +### Options // component options: START The Soroush component supports 3 options, which are listed below. @@ -222,7 +219,7 @@ from("soroush:getMessage/YourAuthorizationToken") .to("soroush:sendMessage/YourAuthorizationToken"); ------------- -====== Auto Upload Attachments +#### Auto Upload Attachments This endpoint can help you to automatically upload files and thumbnails of a message to the server and set `fileUrl` and `thumbnailUrl` of that message to proper values taken from Soroush Upload File Api. The only thing you need to do is setting `SoroushMessage.file` and `SoroushMessage.thumbnail` properties.