Package: telebot-kor0p
pyTelegramBotAPIA simple, but extensible Python implementation for theTelegram Bot API.Supports both sync and async ways.Supporting Bot API version:5.5!ContentsGetting startedWriting your first botPrerequisitesA simple echo botGeneral API DocumentationTypesMethodsGeneral use of the APIMessage handlersEdited Message handlerChannel Post handlerEdited Channel Post handlerCallback Query handlersShipping Query HandlerPre Checkout Query HandlerPoll HandlerPoll Answer HandlerMy Chat Member HandlerChat Member HandlerChat Join request handlerInline ModeInline handlerChosen Inline handlerAnswer Inline QueryAdditional API featuresMiddleware handlersCustom filtersTeleBotReply markupAdvanced use of the APIUsing local Bot API ServerAsynchronous TeleBotSending large text messagesControlling the amount of Threads used by TeleBotThe listener mechanismUsing web hooksLoggingProxyTestingAPI conformanceAsyncTeleBotF.A.Q.How can I distinguish a User and a GroupChat in message.chat?How can I handle reocurring ConnectionResetErrors?The Telegram Chat GroupTelegram ChannelMore examplesBots using this APIGetting startedThis API is tested with Python 3.6-3.10 and Pypy 3.
There are two ways to install the library:Installation using pip (a Python package manager)*:$ pip install pyTelegramBotAPIInstallation from source (requires git):$ git clone https://github.com/eternnoir/pyTelegramBotAPI.git
$ cd pyTelegramBotAPI
$ python setup.py installIt is generally recommended to use the first option.*While the API is production-ready, it is still under development and it has regular updates, do not forget to update it regularly by callingpip install pytelegrambotapi --upgradeWriting your first botPrerequisitesIt is presumed that youhave obtained an API token with @BotFather. We will call this tokenTOKEN.
Furthermore, you have basic knowledge of the Python programming language and more importantlythe Telegram Bot API.A simple echo botThe TeleBot class (defined in _init_.py) encapsulates all API calls in a single class. It provides functions such assend_xyz(send_message,send_documentetc.) and several ways to listen for incoming messages.Create a file calledecho_bot.py.
Then, open the file and create an instance of the TeleBot class.importtelebotbot=telebot.TeleBot("TOKEN",parse_mode=None)# You can set parse_mode by default. HTML or MARKDOWNNote: Make sure to actually replace TOKEN with your own API token.After that declaration, we need to register some so-called message handlers. Message handlers define filters which a message must pass. If a message passes the filter, the decorated function is called and the incoming message is passed as an argument.Let's define a message handler which handles incoming/startand/helpcommands.@bot.message_handler(commands=['start','help'])defsend_welcome(message):bot.reply_to(message,"Howdy, how are you doing?")A function which is decorated by a message handlercan have an arbitrary name, however, it must have only one parameter (the message).Let's add another handler:@bot.message_handler(func=lambdam:True)defecho_all(message):bot.reply_to(message,message.text)This one echoes all incoming text messages back to the sender. It uses a lambda function to test a message. If the lambda returns True, the message is handled by the decorated function. Since we want all messages to be handled by this function, we simply always return True.Note: all handlers are tested in the order in which they were declaredWe now have a basic bot which replies a static message to "/start" and "/help" commands and which echoes the rest of the sent messages. To start the bot, add the following to our source file:bot.infinity_polling()Alright, that's it! Our source file now looks like this:importtelebotbot=telebot.TeleBot("YOUR_BOT_TOKEN")@bot.message_handler(commands=['start','help'])defsend_welcome(message):bot.reply_to(message,"Howdy, how are you doing?")@bot.message_handler(func=lambdamessage:True)defecho_all(message):bot.reply_to(message,message.text)bot.infinity_polling()To start the bot, simply open up a terminal and enterpython echo_bot.pyto run the bot! Test it by sending commands ('/start' and '/help') and arbitrary text messages.General API DocumentationTypesAll types are defined in types.py. They are all completely in line with theTelegram API's definition of the types, except for the Message'sfromfield, which is renamed tofrom_user(becausefromis a Python reserved token). Thus, attributes such asmessage_idcan be accessed directly withmessage.message_id. Note thatmessage.chatcan be either an instance ofUserorGroupChat(seeHow can I distinguish a User and a GroupChat in message.chat?).The Message object also has acontent_typeattribute, which defines the type of the Message.content_typecan be one of the following strings:text,audio,document,photo,sticker,video,video_note,voice,location,contact,new_chat_members,left_chat_member,new_chat_title,new_chat_photo,delete_chat_photo,group_chat_created,supergroup_chat_created,channel_chat_created,migrate_to_chat_id,migrate_from_chat_id,pinned_message.You can use some types in one function. Example:content_types=["text", "sticker", "pinned_message", "photo", "audio"]MethodsAllAPI methodsare located in the TeleBot class. They are renamed to follow common Python naming conventions. E.g.getMeis renamed toget_meandsendMessagetosend_message.General use of the APIOutlined below are some general use cases of the API.Message handlersA message handler is a function that is decorated with themessage_handlerdecorator of a TeleBot instance. Message handlers consist of one or multiple filters.
Each filter must return True for a certain message in order for a message handler to become eligible to handle that message. A message handler is declared in the following way (providedbotis an instance of TeleBot):@bot.message_handler(filters)deffunction_name(message):bot.reply_to(message,"This is a message handler")function_nameis not bound to any restrictions. Any function name is permitted with message handlers. The function must accept at most one argument, which will be the message that the function must handle.filtersis a list of keyword arguments.
A filter is declared in the following manner:name=argument. One handler may have multiple filters.
TeleBot supports the following filters:nameargument(s)Conditioncontent_typeslist of strings (default['text'])Trueif message.content_type is in the list of strings.regexpa regular expression as a stringTrueifre.search(regexp_arg)returnsTrueandmessage.content_type == 'text'(SeePython Regular Expressions)commandslist of stringsTrueifmessage.content_type == 'text'andmessage.textstarts with a command that is in the list of strings.chat_typeslist of chat typesTrueifmessage.chat.typein your filterfunca function (lambda or function reference)Trueif the lambda or function reference returnsTrueHere are some examples of using the filters and message handlers:importtelebotbot=telebot.TeleBot("TOKEN")# Handles all text messages that contains the commands '/start' or '/help'.@bot.message_handler(commands=['start','help'])defhandle_start_help(message):pass# Handles all sent documents and audio files@bot.message_handler(content_types=['document','audio'])defhandle_docs_audio(message):pass# Handles all text messages that match the regular expression@bot.message_handler(regexp="SOME_REGEXP")defhandle_message(message):pass# Handles all messages for which the lambda returns True@bot.message_handler(func=lambdamessage:message.document.mime_type=='text/plain',content_types=['document'])defhandle_text_doc(message):pass# Which could also be defined as:deftest_message(message):returnmessage.document.mime_type=='text/plain'@bot.message_handler(func=test_message,content_types=['document'])defhandle_text_doc(message):pass# Handlers can be stacked to create a function which will be called if either message_handler is eligible# This handler will be called if the message starts with '/hello' OR is some emoji@bot.message_handler(commands=['hello'])@bot.message_handler(func=lambdamsg:msg.text.encode("utf-8")==SOME_FANCY_EMOJI)defsend_something(message):passImportant: all handlers are tested in the order in which they were declaredEdited Message handlerHandle edited messages@bot.edited_message_handler(filters) # <- passes a Message type object to your functionChannel Post handlerHandle channel post messages@bot.channel_post_handler(filters) # <- passes a Message type object to your functionEdited Channel Post handlerHandle edited channel post messages@bot.edited_channel_post_handler(filters) # <- passes a Message type object to your functionCallback Query HandlerHandle callback queries@bot.callback_query_handler(func=lambdacall:True)deftest_callback(call):# <- passes a CallbackQuery type object to your functionlogger.info(call)Shipping Query HandlerHandle shipping queries@bot.shipping_query_handeler() # <- passes a ShippingQuery type object to your functionPre Checkout Query HandlerHandle pre checkoupt queries@bot.pre_checkout_query_handler() # <- passes a PreCheckoutQuery type object to your functionPoll HandlerHandle poll updates@bot.poll_handler() # <- passes a Poll type object to your functionPoll Answer HandlerHandle poll answers@bot.poll_answer_handler() # <- passes a PollAnswer type object to your functionMy Chat Member HandlerHandle updates of a the bot's member status in a chat@bot.my_chat_member_handler() # <- passes a ChatMemberUpdated type object to your functionChat Member HandlerHandle updates of a chat member's status in a chat@bot.chat_member_handler() # <- passes a ChatMemberUpdated type object to your functionNote: "chat_member" updates are not requested by default. If you want to allow all update types, setallowed_updatesinbot.polling()/bot.infinity_polling()toutil.update_typesChat Join Request HandlerHandle chat join requests using:@bot.chat_join_request_handler() # <- passes ChatInviteLink type object to your functionInline ModeMore information aboutInline mode.Inline handlerNow, you can use inline_handler to get inline queries in telebot.@bot.inline_handler(lambdaquery:query.query=='text')defquery_text(inline_query):# Query message is textChosen Inline handlerUse chosen_inline_handler to get chosen_inline_result in telebot. Don't forgot add the /setinlinefeedback
command for @Botfather.More information :collecting-feedback@bot.chosen_inline_handler(func=lambdachosen_inline_result:True)deftest_chosen(chosen_inline_result):# Process all chosen_inline_result.Answer Inline Query@bot.inline_handler(lambdaquery:query.query=='text')defquery_text(inline_query):try:r=types.InlineQueryResultArticle('1','Result',types.InputTextMessageContent('Result message.'))r2=types.InlineQueryResultArticle('2','Result2',types.InputTextMessageContent('Result message2.'))bot.answer_inline_query(inline_query.id,[r,r2])exceptExceptionase:print(e)Additional API featuresMiddleware HandlersA middleware handler is a function that allows you to modify requests or the bot context as they pass through the
Telegram to the bot. You can imagine middleware as a chain of logic connection handled before any other handlers are
executed. Middleware processing is disabled by default, enable it by settingapihelper.ENABLE_MIDDLEWARE = True.apihelper.ENABLE_MIDDLEWARE=True@bot.middleware_handler(update_types=['message'])defmodify_message(bot_instance,message):# modifying the message before it reaches any other handlermessage.another_text=message.text+':changed'@bot.message_handler(commands=['start'])defstart(message):# the message is already modified when it reaches message handlerassertmessage.another_text==message.text+':changed'There are other examples using middleware handler in theexamples/middlewaredirectory.Custom filtersAlso, you can use built-in custom filters. Or, you can create your own filter.Example of custom filterAlso, we have examples on them. Check this links:You can check some built-in filters in sourcecodeExample offiltering by idExample offiltering by textIf you want to add some built-in filter, you are welcome to add it in custom_filters.py file.Here is example of creating filter-class:classIsAdmin(telebot.custom_filters.SimpleCustomFilter):# Class will check whether the user is admin or creator in group or notkey='is_admin'@staticmethoddefcheck(message:telebot.types.Message):returnbot.get_chat_member(message.chat.id,message.from_user.id).statusin['administrator','creator']# To register filter, you need to use method add_custom_filter.bot.add_custom_filter(IsAdmin())# Now, you can use it in handler.@bot.message_handler(is_admin=True)defadmin_of_group(message):bot.send_message(message.chat.id,'You are admin of this group!')TeleBotimporttelebotTOKEN='<token_string>'tb=telebot.TeleBot(TOKEN)#create a new Telegram Bot object# Upon calling this function, TeleBot starts polling the Telegram servers for new messages.# - interval: int (default 0) - The interval between polling requests# - timeout: integer (default 20) - Timeout in seconds for long polling.# - allowed_updates: List of Strings (default None) - List of update types to requesttb.infinity_polling(interval=0,timeout=20)# getMeuser=tb.get_me()# setWebhooktb.set_webhook(url="http://example.com",certificate=open('mycert.pem'))# unset webhooktb.remove_webhook()# getUpdatesupdates=tb.get_updates()# orupdates=tb.get_updates(1234,100,20)#get_Updates(offset, limit, timeout):# sendMessagetb.send_message(chat_id,text)# editMessageTexttb.edit_message_text(new_text,chat_id,message_id)# forwardMessagetb.forward_message(to_chat_id,from_chat_id,message_id)# All send_xyz functions which can take a file as an argument, can also take a file_id instead of a file.# sendPhotophoto=open('/tmp/photo.png','rb')tb.send_photo(chat_id,photo)tb.send_photo(chat_id,"FILEID")# sendAudioaudio=open('/tmp/audio.mp3','rb')tb.send_audio(chat_id,audio)tb.send_audio(chat_id,"FILEID")## sendAudio with duration, performer and title.tb.send_audio(CHAT_ID,file_data,1,'eternnoir','pyTelegram')# sendVoicevoice=open('/tmp/voice.ogg','rb')tb.send_voice(chat_id,voice)tb.send_voice(chat_id,"FILEID")# sendDocumentdoc=open('/tmp/file.txt','rb')tb.send_document(chat_id,doc)tb.send_document(chat_id,"FILEID")# sendStickersti=open('/tmp/sti.webp','rb')tb.send_sticker(chat_id,sti)tb.send_sticker(chat_id,"FILEID")# sendVideovideo=open('/tmp/video.mp4','rb')tb.send_video(chat_id,video)tb.send_video(chat_id,"FILEID")# sendVideoNotevideonote=open('/tmp/videonote.mp4','rb')tb.send_video_note(chat_id,videonote)tb.send_video_note(chat_id,"FILEID")# sendLocationtb.send_location(chat_id,lat,lon)# sendChatAction# action_string can be one of the following strings: 'typing', 'upload_photo', 'record_video', 'upload_video',# 'record_audio', 'upload_audio', 'upload_document' or 'find_location'.tb.send_chat_action(chat_id,action_string)# getFile# Downloading a file is straightforward# Returns a File objectimportrequestsfile_info=tb.get_file(file_id)file=requests.get('https://api.telegram.org/file/bot{0}/{1}'.format(API_TOKEN,file_info.file_path))Reply markupAllsend_xyzfunctions of TeleBot take an optionalreply_markupargument. This argument must be an instance ofReplyKeyboardMarkup,ReplyKeyboardRemoveorForceReply, which are defined in types.py.fromtelebotimporttypes# Using the ReplyKeyboardMarkup class# It's constructor can take the following optional arguments:# - resize_keyboard: True/False (default False)# - one_time_keyboard: True/False (default False)# - selective: True/False (default False)# - row_width: integer (default 3)# row_width is used in combination with the add() function.# It defines how many buttons are fit on each row before continuing on the next row.markup=types.ReplyKeyboardMarkup(row_width=2)itembtn1=types.KeyboardButton('a')itembtn2=types.KeyboardButton('v')itembtn3=types.KeyboardButton('d')markup.add(itembtn1,itembtn2,itembtn3)tb.send_message(chat_id,"Choose one letter:",reply_markup=markup)# or add KeyboardButton one row at a time:markup=types.ReplyKeyboardMarkup()itembtna=types.KeyboardButton('a')itembtnv=types.KeyboardButton('v')itembtnc=types.KeyboardButton('c')itembtnd=types.KeyboardButton('d')itembtne=types.KeyboardButton('e')markup.row(itembtna,itembtnv)markup.row(itembtnc,itembtnd,itembtne)tb.send_message(chat_id,"Choose one letter:",reply_markup=markup)The last example yields this result:# ReplyKeyboardRemove: hides a previously sent ReplyKeyboardMarkup# Takes an optional selective argument (True/False, default False)markup=types.ReplyKeyboardRemove(selective=False)tb.send_message(chat_id,message,reply_markup=markup)# ForceReply: forces a user to reply to a message# Takes an optional selective argument (True/False, default False)markup=types.ForceReply(selective=False)tb.send_message(chat_id,"Send me another word:",reply_markup=markup)ForceReply:Working with entitiesThis object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Attributes:typeurloffsetlengthuserHere's an Example:message.entities[num].<attribute>Herenumis the entity number or order of entity in a reply, for if incase there are multiple entities in the reply/message.message.entitiesreturns a list of entities object.message.entities[0].typewould give the type of the first entityReferBot Apifor extra detailsAdvanced use of the APIUsing local Bot API SeverSince version 5.0 of the Bot API, you have the possibility to run your ownLocal Bot API Server.
pyTelegramBotAPI also supports this feature.fromtelebotimportapihelperapihelper.API_URL="http://localhost:4200/bot{0}/{1}"Important: Like describedhere, you have to log out your bot from the Telegram server before switching to your local API server. in pyTelegramBotAPI usebot.log_out()Note: 4200 is an example portAsynchronous TeleBotNew: There is an asynchronous implementation of telebot.
To enable this behaviour, create an instance of AsyncTeleBot instead of TeleBot.tb=telebot.AsyncTeleBot("TOKEN")Now, every function that calls the Telegram API is executed in a separate asynchronous task.
Using AsyncTeleBot allows you to do the following:importtelebottb=telebot.AsyncTeleBot("TOKEN")@tb.message_handler(commands=['start'])asyncdefstart_message(message):awaitbot.send_message(message.chat.id,'Hello!')See more inexamplesSending large text messagesSometimes you must send messages that exceed 5000 characters. The Telegram API can not handle that many characters in one request, so we need to split the message in multiples. Here is how to do that using the API:fromtelebotimportutillarge_text=open("large_text.txt","rb").read()# Split the text each 3000 characters.# split_string returns a list with the splitted text.splitted_text=util.split_string(large_text,3000)fortextinsplitted_text:tb.send_message(chat_id,text)Or you can use the newsmart_splitfunction to get more meaningful substrings:fromtelebotimportutillarge_text=open("large_text.txt","rb").read()# Splits one string into multiple strings, with a maximum amount of `chars_per_string` (max. 4096)# Splits by last '\n', '. ' or ' ' in exactly this priority.# smart_split returns a list with the splitted text.splitted_text=util.smart_split(large_text,chars_per_string=3000)fortextinsplitted_text:tb.send_message(chat_id,text)Controlling the amount of Threads used by TeleBotThe TeleBot constructor takes the following optional arguments:threaded: True/False (default True). A flag to indicate whether
TeleBot should execute message handlers on it's polling Thread.The listener mechanismAs an alternative to the message handlers, one can also register a function as a listener to TeleBot.NOTICE: handlers won't disappear! Your message will be processed both by handlers and listeners. Also, it's impossible to predict which will work at first because of threading. If you use threaded=False, custom listeners will work earlier, after them handlers will be called.
Example:defhandle_messages(messages):formessageinmessages:# Do something with the messagebot.reply_to(message,'Hi')bot.set_update_listener(handle_messages)bot.infinity_polling()Using web hooksWhen using webhooks telegram sends one Update per call, for processing it you should call process_new_messages([update.message]) when you recieve it.There are some examples using webhooks in theexamples/webhook_examplesdirectory.LoggingYou can use the Telebot module logger to log debug info about Telebot. Usetelebot.loggerto get the logger of the TeleBot module.
It is possible to add custom logging Handlers to the logger. Refer to thePython logging module pagefor more info.importlogginglogger=telebot.loggertelebot.logger.setLevel(logging.DEBUG)# Outputs debug messages to console.ProxyYou can use proxy for request.apihelper.proxyobject will use by callrequestsproxies argument.fromtelebotimportapihelperapihelper.proxy={'http':'http://127.0.0.1:3128'}If you want to use socket5 proxy you need install dependencypip install requests[socks]and make sure, that you have the latest version ofgunicorn,PySocks,pyTelegramBotAPI,requestsandurllib3.apihelper.proxy={'https':'socks5://userproxy:password@proxy_address:port'}TestingYou can disable or change the interaction with real Telegram server by usingapihelper.CUSTOM_REQUEST_SENDER=your_handlerparameter. You can pass there your own function that will be called instead ofrequests.request.For example:defcustom_sender(method,url,**kwargs):print("custom_sender. method:{}, url:{}, params:{}".format(method,url,kwargs.get("params")))result=util.CustomRequestResponse('{"ok":true,"result":{"message_id": 1, "date": 1, "chat": {"id": 1, "type": "private"}}}')returnresultThen you can use API and proceed requests in your handler code.apihelper.CUSTOM_REQUEST_SENDER=custom_sendertb=TeleBot("test")res=tb.send_message(123,"Test")Result will be:custom_sender. method: post, url: https://api.telegram.org/botololo/sendMessage, params: {'chat_id': '123', 'text': 'Test'}API conformance✔Bot API 5.5✔Bot API 5.4➕Bot API 5.3- ChatMember* classes are full copies of ChatMember✔Bot API 5.2✔Bot API 5.1✔Bot API 5.0✔Bot API 4.9✔Bot API 4.8✔Bot API 4.7✔Bot API 4.6➕Bot API 4.5- No nested MessageEntities and Markdown2 support✔Bot API 4.4✔Bot API 4.3✔Bot API 4.2➕Bot API 4.1- No Passport support➕Bot API 4.0- No Passport supportAsyncTeleBotAsynchronous version of telebotWe have a fully asynchronous version of TeleBot.
This class is not controlled by threads. Asyncio tasks are created to execute all the stuff.EchoBotEcho Bot example on AsyncTeleBot:# This is a simple echo bot using the decorator mechanism.# It echoes any incoming text messages.fromtelebot.async_telebotimportAsyncTeleBotimportasynciobot=AsyncTeleBot('TOKEN')# Handle '/start' and '/help'@bot.message_handler(commands=['help','start'])asyncdefsend_welcome(message):awaitbot.reply_to(message,"""\Hi there, I am EchoBot.I am here to echo your kind words back to you. Just say anything nice and I'll say the exact same thing to you!\""")# Handle all other messages with content_type 'text' (content_types defaults to ['text'])@bot.message_handler(func=lambdamessage:True)asyncdefecho_message(message):awaitbot.reply_to(message,message.text)asyncio.run(bot.polling())As you can see here, keywords are await and async.Why should I use async?Asynchronous tasks depend on processor performance. Many asynchronous tasks can run parallelly, while thread tasks will block each other.Differences in AsyncTeleBotAsyncTeleBot has different middlewares. See example onmiddlewaresExamplesSee more examples in ourexamplesfolderF.A.Q.How can I distinguish a User and a GroupChat in message.chat?Telegram Bot API support new type Chat for message.chat.Check thetypeattribute inChatobject:ifmessage.chat.type=="private":# private chat messageifmessage.chat.type=="group":# group chat messageifmessage.chat.type=="supergroup":# supergroup chat messageifmessage.chat.type=="channel":# channel messageHow can I handle reocurring ConnectionResetErrors?Bot instances that were idle for a long time might be rejected by the server when sending a message due to a timeout of the last used session. Addapihelper.SESSION_TIME_TO_LIVE = 5 * 60to your initialisation to force recreation after 5 minutes without any activity.The Telegram Chat GroupGet help. Discuss. Chat.Join thepyTelegramBotAPI Telegram Chat GroupTelegram ChannelJoin theNews channel. Here we will post releases and updates.More examplesEcho BotDeep Linkingnext_step_handler ExampleBots using this APISiteAlert bot(source) byilteoood- Monitors websites and sends a notification on changesTelegramLoggingBotbyaRandomStrangerTelegram LMGTFY_botbyGabrielRF- Let me Google that for you.Telegram Proxy BotbymrgigabyteRadRetroRobotbyTronikart- Multifunctional Telegram Bot RadRetroRobot.League of Legends bot(source) byi32ropieNeoBotby@NeoRangerColorCodeBot(source) - Share code snippets as beautifully syntax-highlighted HTML and/or images.ComedoresUGRbot(source) byalejandrocq- Telegram bot to check the menu of Universidad de Granada dining hall.proxybot- Simple Proxy Bot for Telegram. by p-hashDonantesMalagaBot- DonantesMalagaBot facilitates information to Malaga blood donors about the places where they can donate today or in the incoming days. It also records the date of the last donation so that it helps the donors to know when they can donate again. - by vfranchDuttyBotbyDmytryi Striletskyi- Timetable for one university in Kiev.wat-bridgebyrmed- Send and receive messages to/from WhatsApp through Telegramfilmratingbot(source) byjcolladosp- Telegram bot using the Python API that gets films rating from IMDb and metacriticSend2Kindlebot(source) byGabrielRF- Send to Kindle service.RastreioBot(source) byGabrielRF- Bot used to track packages on the Brazilian Mail Service.Spbu4UBot(link) byEeOneDown- Bot with timetables for SPbU students.SmartySBot(link) by0xVK- Telegram timetable bot, for Zhytomyr Ivan Franko State University students.LearnIt(link) - A Telegram Bot created to help people to memorize other languages’ vocabulary.Bot-Telegram-ShodanbyrubenleonVigoBusTelegramBot(GitHub) - Bot that provides buses coming to a certain stop and their remaining time for the city of Vigo (Galicia - Spain)kaishnik-bot(source) byairatk- bot which shows all the necessary information to KNTRU-KAI students.Robbie(source) by @FacuM - Support Telegram bot for developers and maintainers.AsadovBot(source) by @DesExcile - Сatalog of poems by Eduard Asadov.thesaurus_com_bot(source) by @LeoSvalov - words and synonyms fromdictionary.comandthesaurus.comin the telegram.InfoBot(source) by @irevenko - An all-round bot that displays some statistics (weather, time, crypto etc...)FoodBot(source) by @Fliego - a simple bot for food orderingSporty(source) by @0xnu - Telegram bot for displaying the latest news, sports schedules and injury updates.JoinGroup Silencer Bot(source) by@zeph1997- A Telegram Bot to remove "join group" and "removed from group" notifications.TasksListsBot(source) by@Pablo-Davila- A (tasks) lists manager bot for Telegram.MyElizaPsychologistBot(source) by@Pablo-Davila- An implementation of the famous Eliza psychologist chatbot.Frcstbot(source) byMrsqd. A Telegram bot that will always be happy to show you the weather forecast.MineGramBotbyModischFabrications. This bot can start, stop and monitor a minecraft server.Tabletop DiceBotbydexpiper. This bot can roll multiple dices for RPG-like games, add positive and negative modifiers and show short descriptions to the rolls.BarnameKonbyAnvaari. This Bot make "Add to google calendar" link for your events. It give information about event and return link. It work for Jalali calendar and in Tehran Time.Source codeTranslator botby Areeg Fahad. This bot can be used to translate texts.Digital Cryptocurrency botby Areeg Fahad. With this bot, you can now monitor the prices of more than 12 digital Cryptocurrency.Anti-Tracking Botby Leon Heess(source). Send any link, and the bot tries its best to remove all tracking from the link you sent.Developer BotbyVishal Singh(source code)This telegram bot can do tasks like GitHub search & clone,provide c++ learning resources ,Stackoverflow search, Codeforces(profile visualizer,random problems)oneIPO botbyAadithya&Amol SoansThis Telegram bot provides live updates , data and documents on current and upcoming IPOs(Initial Public Offerings)CoronaGraphsBot(source) byTrevorWinstral- Gets live COVID Country data, plots it, and briefs the userETHLectureBot(source) byTrevorWinstral- Notifies ETH students when their lectures have been uploadedVlun Finder BotbyResinprotein2333. This bot can help you to find The information of CVE vulnerabilities.ETHGasFeeTrackerBot(SourcebyDevAdvik- Get Live Ethereum Gas Fees in GWEIGoogle Sheet BotbyJoachimStanislaus. This bot can help you to track your expenses by uploading your bot entries to your google sheet.GrandQuiz BotbyCarlosma7. This bot is a trivia game that allows you to play with people from different ages. This project addresses the use of a system through chatbots to carry out a social and intergenerational game as an alternative to traditional game development.Diccionario de la RAE(source) This bot lets you find difinitions of words in Spanish usingRAE's dictionary. It features direct message and inline search.Want to have your bot listed here? Just make a pull request. Only bots with public source code are accepted.