From 207133e714be6e032013bf3e5e721861c9ca6e82 Mon Sep 17 00:00:00 2001 From: Pulathisi Kariyawasam Date: Sun, 28 Jan 2024 00:58:55 +0530 Subject: [PATCH] updated --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cb19aa9..1644ff1 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,9 @@ from telebotpy.telebot import TelegramBot # Replace 'YOUR_TOKEN' and 'YOUR_CHAT_ID' with your actual values bot = TelegramBot(token="YOUR_TOKEN", chat_id="YOUR_CHAT_ID") -bot.send_text_message("This is a test message.") +bot.send_text_message("This is a test message.") +#send messages with Markdown formatting +bot.send_text_message("*Bold* _italic_ [website](https://example.com)") bot.send_video('video.mp4', "Video_caption") bot.send_document('document.txt', 'Document_caption')