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

inlinekeyboardbutton can not set SwitchInlineQueryChosenChat #1391

Open
zhanghzong opened this issue Jul 2, 2024 · 3 comments
Open

inlinekeyboardbutton can not set SwitchInlineQueryChosenChat #1391

zhanghzong opened this issue Jul 2, 2024 · 3 comments

Comments

@zhanghzong
Copy link

<dependency>
    <groupId>org.telegram</groupId>
    <artifactId>telegrambots</artifactId>
    <version>6.9.7.1</version>
</dependency>

image

@Chase22
Copy link
Collaborator

Chase22 commented Jul 2, 2024

Please update to 7.0 and check if the issue persists

@zhanghzong
Copy link
Author

I have found push versions 7.0 and above in the Maven central warehouse.

image

If I just reference the Maven package. So there's no problem

<dependency>
  <groupId>org.telegram</groupId>
  <artifactId>telegrambots-longpolling</artifactId>
  <version>7.2.0</version>
</dependency>

<dependency>
  <groupId>org.telegram</groupId>
  <artifactId>telegrambots-webhook</artifactId>
  <version>7.2.0</version>
</dependency>

<dependency>
  <groupId>org.telegram</groupId>
  <artifactId>telegrambots-client</artifactId>
  <version>7.2.0</version>
</dependency>

<dependency>
  <groupId>org.telegram</groupId>
  <artifactId>telegrambots-extensions</artifactId>
  <version>7.2.0</version>
</dependency>

Could you please take a look at the specific version number used? Thank you.

<dependency>
  <groupId>org.telegram</groupId>
  <artifactId>telegrambots</artifactId>
  <version>???</version>
</dependency>

@rubenlagus
Copy link
Owner

There was a big refactoring and telegrambots dependency is now gone, see https://rubenlagus.github.io/TelegramBotsDocumentation/how-to-update-7.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants