Skip to content

Commit de41459

Browse files
committed
Make parse_mode as optional variable
1 parent 480320b commit de41459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UniversalTelegramBot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class UniversalTelegramBot
5858
bool getMe();
5959

6060
bool sendSimpleMessage(String chat_id, String text, String parse_mode);
61-
bool sendMessage(String chat_id, String text, String parse_mode);
61+
bool sendMessage(String chat_id, String text, String parse_mode = "");
6262
bool sendMessageWithReplyKeyboard(String chat_id, String text,
6363
String parse_mode, String keyboard, bool resize = false,
6464
bool oneTime = false, bool selective = false);

0 commit comments

Comments
 (0)