Este contenido no está disponible en el idioma seleccionado.
Chapter 75. Telegram
Send and receive messages acting as a Telegram Bot Telegram Bot API.
75.1. What’s inside Copiar enlaceEnlace copiado en el portapapeles!
-
Telegram component, URI syntax:
telegram:type
Please refer to the above link for usage and configuration details.
75.2. Maven coordinates Copiar enlaceEnlace copiado en el portapapeles!
Create a new project with this extension on code.quarkus.redhat.com
Or add the coordinates to your existing project:
<dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-telegram</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-telegram</artifactId>
</dependency>
75.3. Usage Copiar enlaceEnlace copiado en el portapapeles!
75.4. Webhook Mode Copiar enlaceEnlace copiado en el portapapeles!
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:
<dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-rest</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-rest</artifactId>
</dependency>
75.5. SSL in native mode Copiar enlaceEnlace copiado en el portapapeles!
This extension auto-enables SSL support in native mode. Hence you do not need to add quarkus.ssl.native=true
to your application.properties
yourself. See also Quarkus SSL guide.