"date": field
riccardogiorato opened this issue · comments
Riccardo Giorato commented
I'm trying to understand when can I extend your driver to get the telegram "date" of a message.
In my bot I'd love to get the user datetime sent by Telegram POST request on every message to handle some logic.
Is it possible?
Christoph Rumpel commented
Hey @giorat , is the time in the payload? You can grab the whole payload for every message with $bot->getMessage()->getPayload()
.
Riccardo Giorato commented
Thank you so much @christophrumpel
Christoph Rumpel commented
Yeah you're right. I will add it