From commits-return-72954-archive-asf-public=cust-asf.ponee.io@camel.apache.org Thu May 30 07:36:00 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5CAFC180638 for ; Thu, 30 May 2019 09:36:00 +0200 (CEST) Received: (qmail 74404 invoked by uid 500); 30 May 2019 07:35:59 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 74395 invoked by uid 99); 30 May 2019 07:35:59 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 May 2019 07:35:59 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 69F848A371; Thu, 30 May 2019 07:35:54 +0000 (UTC) Date: Thu, 30 May 2019 07:35:54 +0000 To: "commits@camel.apache.org" Subject: [camel] branch master updated: Regen MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155920175406.22802.2663118440913846691@gitbox.apache.org> From: davsclaus@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 65b1e58a1e6bc1f3087b95ec47b91486e5a7d26d X-Git-Newrev: 166cb6f2e0af38c80e1700e43b9686cac6c8b68d X-Git-Rev: 166cb6f2e0af38c80e1700e43b9686cac6c8b68d X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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.