Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
randhana committed Jan 27, 2024
1 parent 25c06f5 commit 207133e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 207133e

Please sign in to comment.