TelegramBots
TelegramBots copied to clipboard
HttpClient NPE
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.
somebody help T.T
Please check new version HttpClient is no used anymore