> For the complete documentation index, see [llms.txt](https://help.reekolect.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.reekolect.ai/reekolect-resource-center/how-reekolect-works/bot-management/bot-settings/telegram-bot-settings/general.md).

# General

This page contains the information on the general setting of the Telegram Bots

## Session Timeout Settings

Configure session timeout parameters to manage user inactivity:

<figure><img src="https://1368633405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDm8EIACp4ww3pb3Dinlf%2Fuploads%2Fgit-blob-a426ce78795529cf27b5f8bfe483548ff48386b6%2F1%20%E2%80%93%2065.png?alt=media" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="231">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Session Timeout</td><td>Set the duration of inactivity after which the session times out.</td></tr><tr><td>User Inactivity Message</td><td>Enable this option to display a custom message to the user in case of inactivity.</td></tr><tr><td>Restart Chat Flow Triggers</td><td>Specify keywords or phrases that, when entered by the user, will restart the chat flow. You can add multiple triggers.</td></tr><tr><td>Live Chat Triggers</td><td>Specify keywords or phrases that, when entered by the user, will restart the chat.</td></tr></tbody></table>

## Notes

Adjust these settings to manage user sessions effectively and provide a seamless chat experience.

## Saving Changes

After configuring the session timeout and triggers, click the "Save Changes" button to apply the settings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.reekolect.ai/reekolect-resource-center/how-reekolect-works/bot-management/bot-settings/telegram-bot-settings/general.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
