Sending Messages

There are many different types of message that a bot can send. Fortunately, methods for sending such messages are similar. Take a look at these examples:

Sending text message

text message screenshot

await bot.SendTextMessageAsync(chatId, "Hello, World!");

Sending sticker message

sticker message screenshot

await bot.SendStickerAsync(chatId, "https://telegrambots.github.io/book/docs/sticker-dali.webp");

Sending video message

video message screenshot

await bot.SendVideoAsync(chatId, "https://telegrambots.github.io/book/docs/video-hawk.mp4");