[
https://issues.apache.org/jira/browse/CAMEL-12478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464775#comment-16464775
]
ASF GitHub Bot commented on CAMEL-12478:
----------------------------------------
GitHub user willianantunes opened a pull request:
https://github.com/apache/camel/pull/2318
CAMEL-12478: Allow use of custom keyboard
As described [here](https://issues.apache.org/jira/browse/CAMEL-12478), it
will permit the usage of custom keyboard in order to increase the interaction
with the user as it's a lot easier to select an option instead of ask the user
writing one.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/willianantunes/camel telegram-custom-keyboard
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2318.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2318
----
commit 745f15f33158a9e57f8c5cacd97dfd8ebef2d62b
Author: Willian Antunes <willian.lima.antunes@...>
Date: 2018-05-01T23:16:58Z
Test to cover custom keyboard
commit 0c2a18ad55ad37d79caee29561e95e76e9b2b961
Author: Willian Antunes <willian.lima.antunes@...>
Date: 2018-05-01T23:17:55Z
Updated client to be more dynamic (JSON instead of FORM)
commit 11dfa490dadc8401f758487db24436b56497011a
Author: Willian Antunes <willian.lima.antunes@...>
Date: 2018-05-01T23:18:38Z
New/updated models to comply with JSON/API requirements
commit 98fe1d38703f2f076ebbffbdb91f96bd2bcb091a
Author: Willian Antunes <willian.lima.antunes@...>
Date: 2018-05-01T23:46:49Z
In order to disable custom keyboard if it's activated
commit 70d81f9f0e3059883bac578295c4d8561173c47d
Author: Willian Antunes <willian.lima.antunes@...>
Date: 2018-05-05T13:18:47Z
OutgoingTextMessage builder and a test considering producer situation
----
> camel-telegram - Allow use of custom keyboard
> ---------------------------------------------
>
> Key: CAMEL-12478
> URL: https://issues.apache.org/jira/browse/CAMEL-12478
> Project: Camel
> Issue Type: New Feature
> Components: camel-telegram
> Reporter: Willian Antunes
> Priority: Major
> Labels: features
> Attachments: SNAG-0180.jpg
>
>
> The component as we have nowadays does not support configuration of custom
> keyboard, it only makes use of the standard one.
> The method [sendMessage|https://core.telegram.org/bots/api#sendmessage] has
> the field _reply_markup_ which allow the use of
> [ReplyKeyboardMarkup|https://core.telegram.org/bots/api#replykeyboardmarkup]
> to customize the standard keyboard.
> Acceptance Criteria:
> * Send message with custom keyboard to interact with the bot using its
> buttons.
> * Disable custom keyboard when is required during chat conversation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)