Markdown entfernt
This commit is contained in:
parent
fcc6403dbf
commit
17564c0d2e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
/offers.json
|
||||
/.idea/
|
||||
/telegram.token
|
||||
/*.db
|
||||
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
|
||||
@ -142,7 +142,6 @@ public class Bot extends TelegramLongPollingBot {
|
||||
final InputFile inputFile = offer.getImage().isEmpty() ? new InputFile(new ByteArrayInputStream(NO_IMAGE), "[Kein Bild]") : new InputFile(offer.getImage());
|
||||
final SendPhoto send = new SendPhoto(CHAT_ID + "", inputFile);
|
||||
send.setCaption(createText(offer));
|
||||
send.setParseMode("Markdown");
|
||||
send.setReplyMarkup(createKeyboard(offer));
|
||||
final Message message = execute(send);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user