Is any way here to make accept Telegram.Bot.Types.Update update?
Currently, I have this code, but I would like to use Telegram objects
[HttpPost]
public async Task<OkResult> Post([FromBody]TelegramUpdate update) //my model
{
//code
}
When I passing that I getting 400 Bad Request
Through Postman is 415 Unsupported Media Type and Bad request
If I hits controller by InlineKeyboard breakpoint works but with object with null values. In console (ngrok) shown 200 ok and then 400 Bad Request