== Webhook Mode

The Telegram extension supports usage in the webhook mode.

In order to enable webhook mode, users need first to add a REST implementation to their application.
Maven users, for example, can add *camel-quarkus-rest* extension to their `pom.xml` file:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-rest</artifactId>
</dependency>
----

ifeval::[{doc-show-extra-content} == true]
include::camel-quarkus-extensions/telegram-webhook.adoc[]
endif::[]
