diff --git a/examples/webhook/README.md b/examples/webhook/README.md index 19a864e..cc558de 100644 --- a/examples/webhook/README.md +++ b/examples/webhook/README.md @@ -38,6 +38,25 @@ If you have an Apache webserver with a valid SLL certificate chain and php runni - setup webhook for your server (_e.g. `bin/any_command.sh set_webhook "https://myserver.com/telegram`_) - send a command to your bot (_e.g. `/start`_) to check correct setup -#### $$VERSION$$ v1.40-dev-11-g9316caa +*Example index.php*, see [index.php](index.php) for a more complete implementation. + +```php + +``` + +#### $$VERSION$$ v1.40-dev-12-ga289cb8 diff --git a/examples/webhook/index.php b/examples/webhook/index.php index 78377b6..f07c97b 100644 --- a/examples/webhook/index.php +++ b/examples/webhook/index.php @@ -1,19 +1,60 @@