You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error for some images, i send image to user by FileId SendPhoto send = new SendPhoto(); send.setChatId(chatId); send.setPhoto(new InputFile(pathImage)); send.setReplyMarkup(markupInline); if(text != null) { send.setCaption("Выложено " + date + " пользователем @" + userName + "\n----------\n" + text); } Main.bot.sendPhoto(chatId, send);
how to fix it?????
The text was updated successfully, but these errors were encountered:
I get an error for some images, i send image to user by FileId
SendPhoto send = new SendPhoto(); send.setChatId(chatId); send.setPhoto(new InputFile(pathImage)); send.setReplyMarkup(markupInline); if(text != null) { send.setCaption("Выложено " + date + " пользователем @" + userName + "\n----------\n" + text); } Main.bot.sendPhoto(chatId, send);
The text was updated successfully, but these errors were encountered: