Closed wuball closed 5 years ago
The value is read as an integer and converted into DateTime with the UnixDateTimeConverter, as DateTime is what can easily be used in c#.
If you need the timestamp, you can always convert the value back to an integer, but for the majority of users, a DateTime is desired here.
https://core.telegram.org/bots/api#message
https://github.com/TelegramBots/Telegram.Bot/blob/master/src/Telegram.Bot/Types/Message.cs
Telegram.Bot.Types.Message.Date
must change to int.