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
Conversation
|
||
public Update() { | ||
|
||
public Update() { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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.
Please fix the CS so we can merge this. |
Thanks, merged on master, 2.x, 2.23.x and 2.22.x |
made changes for supporting updates from channel to telegram bot