Markdown entfernt
This commit is contained in:
parent
fcc6403dbf
commit
17564c0d2e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
/offers.json
|
/offers.json
|
||||||
/.idea/
|
/.idea/
|
||||||
/telegram.token
|
/telegram.token
|
||||||
|
/*.db
|
||||||
|
|
||||||
target/
|
target/
|
||||||
!.mvn/wrapper/maven-wrapper.jar
|
!.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 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);
|
final SendPhoto send = new SendPhoto(CHAT_ID + "", inputFile);
|
||||||
send.setCaption(createText(offer));
|
send.setCaption(createText(offer));
|
||||||
send.setParseMode("Markdown");
|
|
||||||
send.setReplyMarkup(createKeyboard(offer));
|
send.setReplyMarkup(createKeyboard(offer));
|
||||||
final Message message = execute(send);
|
final Message message = execute(send);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user