0% found this document useful (0 votes)
6 views

Chat Bot Assignment

Uploaded by

Arjun Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Chat Bot Assignment

Uploaded by

Arjun Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

‭Assignment: Integrate Telegram API with Google Sheets‬

‭Overview:‬

‭ ou are tasked with integrating the Telegram API with Google Sheets to‬
Y
‭create a Telegram bot that can answer questions based on a Google‬
‭Sheet. The bot will have two commands:‬

‭●‬ /‭ start: This command will send a welcome message to the user and‬
‭explain how to use the bot.‬

‭●‬ /‭ about <what is Upmarket>: This command will allow the user to‬
‭ask a question. The bot will then look up the answer in the Google‬
‭Sheet and return it to the user.‬

‭●‬ /‭ help <‬‭How Upmarket can help traders?‬‭>: This command‬‭will allow‬
‭the user to ask a question. The bot will then look up the answer in‬
‭the Google Sheet and return it to the user.‬

‭Requirements:‬

‭●‬ ‭You must be familiar with the Telegram API and Google Sheets API.‬

‭●‬ Y
‭ ou must be able to write code in a programming language of your‬
‭choice (e.g., Python, JavaScript, Go).‬

‭●‬ ‭Telegram bot :‬‭https://t.me/Upmarket_Assignment_Bot‬

‭●‬ G
‭ oogle Sheet :‬
‭https://docs.google.com/spreadsheets/d/1qh8osnsTByNAi8S7IgtgE‬
‭qEko6xGG71UH73zLWN5FWA/edit?usp=sharing‬

‭Instructions:‬

‭1.‬ ‭Use this token to access the HTTP API:‬


‭6556831140:AAEwsGuiuywLcKpP21LMCujzJs5pqR9EzWk‬

‭2.‬ ‭Write code to integrate the Telegram API with Google Sheets. This‬
‭code should be able to:‬

‭○‬ ‭Handle the /start and /question commands.‬

‭○‬ L
‭ ook up answers in the Google Sheet and return them to the‬
‭user.‬
‭3.‬ ‭Deploy your bot to a cloud hosting provider or your own server.‬

‭Testing:‬

‭ nce you have deployed your bot, you can test it by sending it the /start‬
O
‭and /question commands.‬

‭I hope this assignment is helpful. Good luck!‬

You might also like