justdmitry / NetTelegramBotApi

C# client library for building Telegram bot
MIT License
74 stars 28 forks source link

DeleteMessage #75

Open DLMANSOFT opened 5 years ago

DLMANSOFT commented 5 years ago

use this request for delete message of chat. see about this function in telegram bot api : https://core.telegram.org/bots/api#deletemessage

after adding this request , developers can delete chat message by blow syntax var result = await _bot.MakeRequestAsync(new DeleteMessage(chatId, messageId));