TelegramBots icon indicating copy to clipboard operation
TelegramBots copied to clipboard

HttpClient NPE

Open 4o4-Not-Found opened this issue 1 year ago • 1 comments

telegrambots-spring-boot-starter:6.7 springboot:2.6.5

The bot is implemented by inheriting the SpringWebhookBot.

    @Autowired
    public Bot(SetWebhook setWebhook, @Value("${telegrambot.token}") String botToken) {
        super(setWebhook, botToken);
    }

When using the defaultAbsSender.execute() method, sending a SendMessage is ok, but when sending a SendSticker the httpClient is null.

image image

4o4-Not-Found avatar Jul 12 '23 10:07 4o4-Not-Found

somebody help T.T

4o4-Not-Found avatar Jul 14 '23 10:07 4o4-Not-Found

Please check new version HttpClient is no used anymore

rubenlagus avatar Apr 01 '24 02:04 rubenlagus