Skip to content

Commit 329c3c7

Browse files
authored
disable_web_page_preview
Added parameter "disable_web_page_preview"
1 parent a1952c4 commit 329c3c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/UniversalTelegramBot.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ class UniversalTelegramBot {
8585
bool getMe();
8686

8787
bool sendSimpleMessage(const String& chat_id, const String& text, const String& parse_mode);
88-
bool sendMessage(const String& chat_id, const String& text, const String& parse_mode = "", int message_id = 0);
88+
bool sendMessage(const String& chat_id, const String& text, const String& parse_mode = "", int message_id = 0,
89+
bool disable_web_page_preview = false);
8990
bool sendMessageWithReplyKeyboard(const String& chat_id, const String& text,
9091
const String& parse_mode, const String& keyboard,
9192
bool resize = false, bool oneTime = false,

0 commit comments

Comments
 (0)