# Introduction

* Note: this guide is not maintained. It's open for all contributions through GitHub.

## Introduction

[![Book Status](https://img.shields.io/badge/book-passing-brightgreen.svg)](https://www.gitbook.io/book/MonsterDeveloper/writing-telegram-bots-on-java/details)

Hello everyone! While reading this book you will learn how to create Telegram Bots from start to finish. I assume you already know Java programming language.

All sources are available at [GitHub repository](https://github.com/MonsterDeveloper/java-telegram-bot-tutorial/).

### Table of contents

* [Lesson 1. Simple "echo" bot](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/chapter1)
* [Lesson 2. PhotoBot](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/lesson-2.-photobot)
* [Lesson 3. Logging](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/lesson-3.-logging)
* [Lesson 4. Emoji](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/lesson-4.-emoji)
* [Lesson 5. Deploy your bot](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/lesson-5.-deploy-your-bot)
* [Lesson 6. Inline keyboards and editing message's text](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/lesson-6.-inline-keyboards-and-editing-messages-text)
* [Lesson 7. Creating users database with MongoDB](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/lesson-7.-creating-users-database-with-mongodb)
* [Lesson 8. Integrating with Redis](https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/lesson-8-integrating-with-redis)

### Credits

* [Rubenlagus](https://github.com/rubenlagus/) for his amazing library and support
* [Clevero](https://github.com/Clevero) for his amazing HOWTO guide
* [MasterGroosha](https://github.com/MasterGroosha) for his amazing Python book


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
