# How we wrote Telegram ChatBot to keep track of co-working spends

DevFeed: [How we wrote Telegram ChatBot to keep track of co-working spends](<https://devfeed.tech/articles/how-we-wrote-telegram-chatbot-to-keep-track-of-co-working-spends-20857.md>)

Original publisher: [Read original article](<https://ivanursul.com/how-we-wrote-telegram-chat-bots>)

Author: Ivan Ursul

Published: 2018-11-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ivan Ursul](<https://devfeed.tech/sources/ivan-ursul.md>)

Topics: [Chat Bot](<https://devfeed.tech/topics/chatbot.md>), [Java](<https://devfeed.tech/topics/java.md>), [API](<https://devfeed.tech/topics/api.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [chat](<https://devfeed.tech/tags/chat.md>), [chat-bots](<https://devfeed.tech/tags/chat-bots.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [programming](<https://devfeed.tech/tags/programming.md>), [project](<https://devfeed.tech/tags/project.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

## AI overview

A developer describes building a Telegram chatbot in Java to track co-working expenses. The bot collects spending, calculates monthly balances, and informs users who owes money to whom, using Telegram's bot API and the TelegramBots library.

## Source excerpt

I guess, everyone know knows what are chat bots. Do do I, I was looking for some idea of chat bots for many months and finally, I ended up with an idea for my co-working, which I made with my friends and where I am currently spending most of my life.