EditMessage and change the replyMarkup type
Created by: greyfader
Hello... I'm trying to use the EditMessage to change the ReplyMarkup of a specific message from InlineKeyboardMarkup to ForceReply and vice versa. I've been trying to do it for some time and it continues to produce error. Attached a modified file of telegram.bot.example.echo.
Steps to reproduce
- Send "/inline"
- Send "/forcereply"
- Send text with the forced reply
Expected behavior
- When "/forcereply" received, previous inline keyboard would be gone
- When the user sends text within the forced reply, the keyboard can be used again
Actual behavior
Various Bad Requests
Inline Keyboard expected
object expected as reply markup
Environment data
Program.txt PS. I renamed the file extension to .txt so it's upload-able. Originally .cs file
NuGet Package Version: 10.4
.NET Version: 4.6.2
IDE: VS2015
App: general