Geogram tracks adventures with Telegram Messenger.
Look an implementation at geogram.tcrouzet.com.
You have to import geogram.sql in a MySQL database, create a Telegram Bot with a Token, a Weather API Token, then set admin/secret-model.php and rename as admin/secret.php.
Finaly you have to open webhook.php from the web to activate your bot webhook.