This project implements a Telegram bot in Kotlin that connects to Firebase to manage tasks, balance (coins), and user data. The bot retrieves tasks, shows the user's coin balance, and stores new user data when a user interacts with the bot for the first time.
src
βββ bot
β βββ MyTelegramBot.kt # Handles Telegram bot interactions
βββ domain
β βββ Task.kt # Data model representing a Task
β βββ User.kt # Data model representing a User
βββ repository
β βββ JsonTaskRepository.kt # Handles task data storage and retrieval
β βββ JsonUserRepository.kt # Handles user data storage and retrieval
β βββ TaskRepository.kt # Abstract interface for Task data
β βββ UserRepository.kt # Abstract interface for User data
βββ Main.kt # Entry point of the application
βββ (other helper packages) # Additional packages and utilities