Eleirbag89 / TelegramBotPHP

A very simple PHP Telegram Bot API for sending messages.
http://eleirbag89.github.io/TelegramBotPHP
MIT License
800 stars 340 forks source link

How can I get the last message that was sent from the bot? #237

Closed alexisml-12 closed 3 years ago

alexisml-12 commented 3 years ago

Hello, I need help with my telegram-bot.

Is possible that I can get the last message that was sent by the bot and save it in a variable?

Any help I will aprecciate

PD: I'm using php

Eleirbag89 commented 3 years ago

There is not a simple answer. You shuld save in a database all the messages sent by the bot and do some query on it

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.