Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMEL-13035 update from telegram channel #2698

Closed
wants to merge 3 commits into from
Closed

CAMEL-13035 update from telegram channel #2698

wants to merge 3 commits into from

Conversation

vgvineet4
Copy link
Contributor

made changes for supporting updates from channel to telegram bot


public Update() {

public Update() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possible checkstyle error

@@ -61,6 +61,12 @@ public Exchange createExchange(Update update) {
if (update.getMessage().getChat() != null) {
exchange.getIn().setHeader(TelegramConstants.TELEGRAM_CHAT_ID, update.getMessage().getChat().getId());
}
}else if(update.getChannelPost() != null) {
Copy link
Member

@dmvolod dmvolod Jan 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still code style issues, please run mvn with -Psoursecheck option and squash commits after fix and before push (use -f git option) them again.

@oscerd
Copy link
Contributor

oscerd commented Jan 7, 2019

Please fix the CS so we can merge this.

@oscerd
Copy link
Contributor

oscerd commented Jan 7, 2019

Thanks, merged on master, 2.x, 2.23.x and 2.22.x

@oscerd oscerd closed this Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants