> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-update-styling-docs-for-universal-components.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Telegram

> Découvrez comment configurer vos actions de flux Telegram pour envoyer des messages.

## Configurer la connexion à votre coffre-fort

Pour configurer une connexion au coffre-fort pour vos actions Telegram, vous aurez besoin d’un **jeton** :

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/gJpVCiIqbvpjRLOU/docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png?fit=max&auto=format&n=gJpVCiIqbvpjRLOU&q=85&s=a9a176e02244b010b9baa6363922ee78" alt="Dashboard > Actions > Forms > Flows > actions > Telegram" data-og-width="1404" width="1404" data-og-height="545" height="545" data-path="docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/gJpVCiIqbvpjRLOU/docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png?w=280&fit=max&auto=format&n=gJpVCiIqbvpjRLOU&q=85&s=f4084081911219695131c12f2c29aee7 280w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/gJpVCiIqbvpjRLOU/docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png?w=560&fit=max&auto=format&n=gJpVCiIqbvpjRLOU&q=85&s=9bd9ccd33a66fdc9d0df0b5a3faf1026 560w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/gJpVCiIqbvpjRLOU/docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png?w=840&fit=max&auto=format&n=gJpVCiIqbvpjRLOU&q=85&s=bc5b9701dd7c7ffbc92d585682d06479 840w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/gJpVCiIqbvpjRLOU/docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png?w=1100&fit=max&auto=format&n=gJpVCiIqbvpjRLOU&q=85&s=ca6020154b88adff987139005fbb8b54 1100w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/gJpVCiIqbvpjRLOU/docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png?w=1650&fit=max&auto=format&n=gJpVCiIqbvpjRLOU&q=85&s=a9730bdd00b11ff07f41b15274fb82f0 1650w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/gJpVCiIqbvpjRLOU/docs/images/fr-ca/cdy7uua7fh8z/21Q1BjBAgDHxVR0YgAqedA/fcd1c5dfbd5c6f6fe8d9ea4c951efcb3/whatsapp-vault-connection.png?w=2500&fit=max&auto=format&n=gJpVCiIqbvpjRLOU&q=85&s=ab642b0f58a114c66a1fe97e0a7df44e 2500w" />
</Frame>

Pour savoir comment générer un jeton, lisez l’article [API Bot de Telegram](https://core.telegram.org/#bot-api).

## Envoyer un message Telegram

Envoyer un message à un clavardage Telegram

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/V03_TWUQMZvD490t/docs/images/fr-ca/cdy7uua7fh8z/kgSIPsWN5djsT1yQqg5Z8/fea0821d0e919c5101d01b84b968dd53/sendtelegrammessage.png?fit=max&auto=format&n=V03_TWUQMZvD490t&q=85&s=6af3d88caebd2c6f8a53ae1de44044da" alt="" width="1404" height="909" data-path="docs/images/fr-ca/cdy7uua7fh8z/kgSIPsWN5djsT1yQqg5Z8/fea0821d0e919c5101d01b84b968dd53/sendtelegrammessage.png" />
</Frame>

### Paramètres de saisie

| Paramètre                | Description                                                                                                |
| ------------------------ | ---------------------------------------------------------------------------------------------------------- |
| ID de chat (obligatoire) | L’ID de chat Telegram. Doit être obtenu auprès du [Telegram’s Bot Father](https://core.telegram.org/bots). |
| Messages (obligatoire)   | Le contenu du corps du message Telegram.                                                                   |

### Paramètres de sortie

Vous trouverez les codes de réponse et d’état attendus dans la [documentation de Telegram](https://core.telegram.org/method/messages.sendMessage).
