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

Telegram Bot: Diploma in Computer Technology

The document is a report on a Telegram bot project created by a student named Rehan Nurmahamad Pathan. The bot fetches news from other websites using APIs and returns it to users on Telegram. The student proposes to use Python, Telegram API, and News API to develop the bot. Some key details are provided on Telegram API, News API, and the development platform Replit. Advantages and applications of bots as well as the student's methodology are discussed.

Uploaded by

Rehan Pathan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
197 views

Telegram Bot: Diploma in Computer Technology

The document is a report on a Telegram bot project created by a student named Rehan Nurmahamad Pathan. The bot fetches news from other websites using APIs and returns it to users on Telegram. The student proposes to use Python, Telegram API, and News API to develop the bot. Some key details are provided on Telegram API, News API, and the development platform Replit. Advantages and applications of bots as well as the student's methodology are discussed.

Uploaded by

Rehan Pathan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

DIPLOMA IN COMPUTER TECHNOLOGY

Academic Year 2020-21.

MICRO-PROJECT REPORT ON

Telegram Bot
Submitted by

Roll No. Enrollment No. Student Name

48 1800150196 Rehan Nurmahamad Pathan


CERTIFICATE
Certified that this Micro-Project Report

Telegram Bot
Is the work of

Roll No. Enrollment No. Student Name

48 1800150196 Rehan Nurmahamad Pathan

The student of Semester Six Subject Name- Python Diploma in Computer


Technology, 2020-21.
This report is partial fulfilment of subject Python for the award of the
Diploma in Computer Technology, By MSBTE, Mumbai.

Guide Name - Bhalerao Sir

Date & Sign -

HOD PRINCIPAL
Acknowledgement
We wish to express our profound and sincere gratitude to our guide
Bhalerao Sir who guided us into the intricacies of this micro-project
nonchalantly with matchless magnanimity. We are indebted to her
constant encouragement, co-operation and help. It was his enthusiastic
support that helped us in overcoming the various obstacles in this
project.
We would also like to express our thankfulness to our beloved Principal,
H.O.D, and other faculty members of our Third Year Department for
extending their support and motivation.

Thank you …...!!!!

Part-A: Proposal
Rationale

A bot is a software program that operates on the Internet and performs


repetitive tasks. While some bot traffic is from good bots, bad bots can
have a huge negative impact on a website or application.

Intended course outcomes:


 Use various technologies to integrate and develop a program to
which helps us in our daily activities.
 To make use of news API
 To make use of telegram API
 To make a bot which delivers news.

Literature Review:
I studied from various documentations of API. I watched some YouTube
videos. Read some articles about telegram API. Learnt to get our own
API keys to integrate things like news telegram in a python program
and host the program on a website called replit. Replit is a simple yet
powerful online IDE, Editor, Compiler, Interpreter, and REPL. Code,
compile, run, and host in 50+ programming languages.
Proposed Methodology:
I am going to make a bot which will fetch news from other websites
using API and returns it to the bot. I am using python language for its
simplicity. We have to install telegram and news API packages on our
system to work with them. News API is a simple, easy-to-use REST API
that returns JSON search results for current and historic news articles
published by over 80,000 worldwide sources.

Sr. Details of Planned Planned Name of Responsible


No. activity Start Team Members
Finish date
date

1 Coding and 01 /04/21 15/04/21 Rehan Pathan


Integrating

2 Start to make a 16/04/21 20/04/21 Rehan Pathan


report

Sr. No. Name of the resource / Specifications Qty Remarks


material

1 Computer system Processor(i3i5), 1 -


RAM min
2GB and above

2 Applications Telegram , 1 -
Replit
Part-B: Report

Introduction

A bot is a computer program that automates interactions with web


properties over the Internet. A "good" bot is any bot that
performs useful or helpful tasks that aren't detrimental to a user's
experience on the Internet.

News is mainly to inform the public about events that are around them
and may affect them. Often news is for entertainment purposes too; to
provide a distraction of information about other places people are
unable to get to or have little influence over. News can make people
feel connected too.

Bots are normally used to automate certain tasks, meaning they can


run without specific instructions from humans. An organization or
individual can use a bot to replace a repetitive task that a human would
otherwise have to perform. Bots are also much faster at these tasks
than humans
Telegram API
This API allows you to connect bots to our system. Telegram Bots are
special accounts that do not require an additional phone number to set
up. These accounts serve as an interface for code running somewhere
on your server.
To use this, you don't need to know anything about how our MTProto
encryption protocol works — our intermediary server will handle all
encryption and communication with the Telegram API for you. You
communicate with this server via a simple HTTPS-interface that offers a
simplified version of the Telegram API.

News API
The News API is a simple API that allows you to search
several news outlets from around the world. For example, you can use
the API to know the trending stories in the BBC News, new articles
published about a product, or a company reviewed by a blog recently.

Replit
Replit allows users to write code and build apps and websites using a
browser. It supports over 50 programming and markup languages,
including Java, Python, and HTML, enabling users to build apps and
websites.
Advantages of Bots:
 The significant advantage of Telegram bots for entrepreneurs is
that they become business assistants. Via bots, you can deliver
high-quality service to customers, and also boost your
productivity as a businessperson.
 Imagine if you have a friend who watched the news every day and
let you know if something interesting was happening with all the
interesting news. Well, you can’t have that friend but you can
have a chatbot for that. In today's world, everyone is running for
exclusive information. This chatbot can help users to get what
they are looking for like news, articles/blogs, and updates.

Disadvantages:
 They cannot be effectively set to perform exact tasks and they can
misunderstand instructions. One can set up more than one bot to
deal with several tasks though.
 If a customer makes an order that is beyond the bot’s scope of
knowledge, that could be a problem, especially if there is no
human to interpret the order or deal with such a situation should
it crop up.
 Some things cannot be taught. A chatbot, for instance, does not
have the capability to interpret additional features of an order. It
is only a human who can make adjustments if need be. It is
therefore necessary to have a professional on hand to deal with
issues that the bot may misunderstand.
Applications
 Journalists have used bots for tasks relating to both the
production and dissemination of news, with the term "newsbots"
typically applied to applications that help journalists (and
sometimes their followers or readers) keep track of particular
topics or stories by extracting news headlines automatically from
other websites
 Media Publishers have realized that chatbots are a powerful way
to engage with their audiences and monitor engagement to gain
valuable insights on reader interests. Chat with the CNN and Wall
Street Journal Chatbots on Facebook Messenger and receive the
latest news directly in Messenger, without having to visit their
websites.

Conclusion:
 Telegram bots offer amazing opportunities to business owners.
They provide clients with relevant and exciting features that help
improve the quality of their product. Telegram bots facilitate
communication between you and your customers, allow you to
personalize it, optimize business processes, and, finally, they are
free.
 Imagine if you have a friend who watched the news every day and
let you know if something interesting was happening with all the
interesting news. Well, you can’t have that friend but you can
have a chatbot for that. In today's world, everyone is running for
exclusive information. This chatbot can help users to get what
they are looking for like news, articles/blogs, and updates.
Annexure – III

Teacher Evaluation Sheet

Name of Student: ……………………………… Enrollment No.……………………………………

Name of Programme…………………………………………………   Semester:


………………………………………… Course Title ………………………………………………………………..
Code:

Title of the Micro-Project:


…………………………………………………………………………………………………….

Course Outcomes Achieved 

…………………………………………………………………………………………………………………………
……………………..

…………………………………………………………………………………………………………………………
………………………

…………………………………………………………………………………………………………………………
……………………….

Evaluation as per Suggested Rubric for Assessment of Micro Project

 (Please tick in appropriate cell for each characteristic)

S. Characteristic Poor Average Good Excellent


No to be assessed
. ( Marks 1-3 ) ( Marks 4 - 5 ) ( Marks 6 - 8 ) ( Marks 9- 10 )
1 Relevance to Relate to  very few Related to some Take care of at- Take care of more
the course LOs Los least one CO   than one CO

2 Literature Not more than two At-least 5 relevant At –least 7 relevant About 10 relevant
Survey sources (primary sources, at least 2 sources, most latest sources, most latest
/information and secondary), latest 
collection very old reference

3 Completion of Completed less than Completed 50 to Completed 60 to Completed more


the Target as 50% 60% 80% than 80 %
per project
proposal
4 Analysis of Sample Size small, Sufficient and Sufficient and Enough data
Data and data neither appropriate appropriate collected by
representation organized nor sample, enough sample, enough sufficient and
presented well data generated but data generated appropriate sample
not organized and which is organized size. Proper
not presented well. and presented well inferences drawn
No or poor  but poor inferences by organizing and
inferences drawn drawn presenting data
through tables,
charts and graphs.  

5 Quality of Incomplete Just Well Well


Prototype/Mod fabrication/assembl assembled/fabricat assembled/fabricat assembled/fabricat
el y.  ed and parts are not ed with proper ed with proper
functioning well. functioning parts. functioning parts.
Not in proper In proper shape, In proper shape,
shape, dimensions within tolerance within tolerance
beyond dimensions and dimensions and
tolerance limit. good good
Appearance/finish finish/appearance. finish/appearance.
is shabby.  But no creativity in Creativity in
design and use of design and use of
material material

6 Report Very short, poor Nearly sufficient Detailed, correct Very detailed,
Preparation quality sketches, and correct details and clear correct, clear
Details about about methods, description of description of
methods, material, material, methods, materials, methods, materials,
precaution and precautions and precautions and precautions and
conclusions conclusion, but conclusions.
omitted, some clarity is not there Conclusions. Enough tables,
details are wrong  in presentation. Sufficient Graphic charts and
But not enough Description. sketches  
graphic
description. 

7 Presentation  Major information Includes major Includes major Well organized,


is not information but not information and includes major
included, informatio well organized and well organized but information ,well
n is not well not presented well not presented well presented 
organized.
8 Any other
(depending
upon nature of
project: please
write
indicators by
pen) 

Defense  Could not reply to Replied to Replied properly to Replied most of


9 considerable considerable considerable the questions
number of number of number of properly
question.  questions but not question.
very properly

Micro-Project Evaluation Sheet

Process Assessment Product Assessment Total


Marks
Part A -  Project Project Part B - Project individual
Proposal Methodology Report/Working Model Presentation/Viva 10

 (2 marks) (2 marks) (2 marks) (4 marks)

Note: 

Every course teacher is expected to assign marks for group evolution for each group of students in first 3 columns as
per rubrics & individual evaluation in 4TH column for each group of students as per rubrics based on viva. 
Comments/Suggestions about team work/leadership/inter-personal communication (if any)  

………………………………………………………………………………………………

 ……………………………………………………………………………………………..

……………………………………………………………………………………………..

……………………………………………………………………………………………..

Any Other Comment:

……………………………………………………………………………………………

 ……………………………………………………………………………………………

……………………………………………………………………………………………

………………………………………………………………………………………………

Name and designation of the Faculty Member…………………………………….

Signature………………………………………………………………………………

You might also like