A Telegram Bot for searching any channel messages from Inline by @AbirHasan2005

Overview

Message-Search-Bot

A Telegram Bot for searching any channel messages from Inline by @AbirHasan2005.

I made this for @AHListBot. You can use this for something else. Edit according to your use.

We have to use Bot for Inline Search & Userbot for Searching in Channels. So both Bot & Userbot will work together.

Deploy to Heroku:

Deploy

Support Group:

Follow on:

You might also like...
A Telegram Message Manager Bot by @AbirHasan2005

Messages-Manager-Bot A Telegram Message Manager Bot by @AbirHasan2005. This Bot can delete specific type of messages from Group. I specially use for @

A Telegram Video Merge Bot by @AbirHasan2005

VideoMerge-Bot This is very simple Telegram Videos Merge Bot by @AbirHasan2005. Using FFmpeg for Merging Videos. Features: Merge Multiple Videos. User

A Very Simple Telegram Files Rename Bot by @AbirHasan2005

Rename-Bot This is a very simple Telegram Files Rename Bot by @AbirHasan2005. Features Rename Videos, Files or Audios. Permanent Custom Thumbnail Supp

Telegram bot for making Heroku app.json by @AbirHasan2005

Heroku-app.json A Telegram bot for making Heroku app.json by @AbirHasan2005. Demo Bot Host Bot Deploy to Heroku Click Below Button to Deploy to Heroku

A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc.

Info-Bot A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc. Get Info Of Your And Messages , Channels , Groups ETC... How to mak

Telegram Bot to Filter posts in Bot Inline search

Inline-Filter-Bot A Telegram Bot for filter in Inline Features Unlimited Filters Supports all type of filters Supports Alert Button Using Common Marku

Python bot for send videos of a Youtube channel to a telegram group , channel or chat
Python bot for send videos of a Youtube channel to a telegram group , channel or chat

py_youtube_to_telegram Usage: If you want to install ytt and use it, run this command: sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/nima

A Bot Telegram Anti Users Channel to automatic ban users who using channel to send message in group.

Tg_Anti_UsersChannel A Bot Telegram Anti Users Channel to automatic ban users who using channel to send message in group. Features: Automatic ban Whit

A simple telegram bot to help you to remove forward tag from post from any messages . Maded in python3 using @Pyrogram . Developed by @Kunal-Diwan

Frwd-Tag-Remover Telegram Bot to Remove forward tag from any Post . If you need any more modes in repo or If you find out any bugs, mention in @Develo

Comments
  • I tried this bot but gets the same error everytime I try can u help me

    I tried this bot but gets the same error everytime I try can u help me

    I forked changed repo in app.json and readme.md > heroku template deployed ok after I send /start in the bot it doesn't work

    got the log from heroku says some error couldn't figure out

    the log from heroku

    2022-02-10T09:39:38.968173+00:00 app[api]: Enable Logplex by user (my mail) 2022-02-10T09:39:39.308412+00:00 app[api]: Release v3 created by user (my mail) 2022-02-10T09:39:39.308412+00:00 app[api]: Set API_ID, API_HASH, USER_SESSION_STRING, BOT_SESSION_NAME, BOT_TOKEN, CHANNEL_ID config vars by user (my mail) 2022-02-10T09:39:40.000000+00:00 app[api]: Build started by user (my mail) 2022-02-10T09:40:03.344974+00:00 app[api]: Deploy by user (my mail) 2022-02-10T09:40:03.344974+00:00 app[api]: Release v4 created by user (my mail) 2022-02-10T09:40:12.000000+00:00 app[api]: Build succeeded 2022-02-10T09:40:13.287069+00:00 app[api]: Scaled to worker@1:Free by user (my mail) 2022-02-10T09:40:16.558901+00:00 heroku[worker.1]: Starting process with command python3 main.py 2022-02-10T09:40:17.357949+00:00 heroku[worker.1]: State changed from starting to up 2022-02-10T09:42:13.109141+00:00 app[worker.1]: 'NoneType' object has no attribute 'write' 2022-02-10T09:42:13.109152+00:00 app[worker.1]: Traceback (most recent call last): 2022-02-10T09:42:13.109153+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker 2022-02-10T09:42:13.109154+00:00 app[worker.1]: await handler.callback(self.client, *args) 2022-02-10T09:42:13.109155+00:00 app[worker.1]: File "/app/main.py", line 30, in start_handler 2022-02-10T09:42:13.109156+00:00 app[worker.1]: await event.reply_text( 2022-02-10T09:42:13.109158+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/types/messages_and_media/message.py", line 918, in reply_text 2022-02-10T09:42:13.109158+00:00 app[worker.1]: return await self._client.send_message( 2022-02-10T09:42:13.109159+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/methods/messages/send_message.py", line 128, in send_message 2022-02-10T09:42:13.109159+00:00 app[worker.1]: r = await self.send( 2022-02-10T09:42:13.109159+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send 2022-02-10T09:42:13.109160+00:00 app[worker.1]: r = await self.session.send( 2022-02-10T09:42:13.109160+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/session/session.py", line 362, in send 2022-02-10T09:42:13.109160+00:00 app[worker.1]: return await self._send(data, timeout=timeout) 2022-02-10T09:42:13.109160+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/session/session.py", line 291, in _send 2022-02-10T09:42:13.109161+00:00 app[worker.1]: message = self.msg_factory(data) 2022-02-10T09:42:13.109161+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/session/internals/msg_factory.py", line 37, in call 2022-02-10T09:42:13.109162+00:00 app[worker.1]: len(body) 2022-02-10T09:42:13.109162+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/core/tl_object.py", line 76, in len 2022-02-10T09:42:13.109162+00:00 app[worker.1]: return len(self.write()) 2022-02-10T09:42:13.109162+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/functions/messages/send_message.py", line 131, in write 2022-02-10T09:42:13.109163+00:00 app[worker.1]: b.write(self.reply_markup.write()) 2022-02-10T09:42:13.109163+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/types/reply_inline_markup.py", line 66, in write 2022-02-10T09:42:13.109163+00:00 app[worker.1]: b.write(Vector(self.rows)) 2022-02-10T09:42:13.109163+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/core/primitives/vector.py", line 58, in new 2022-02-10T09:42:13.109163+00:00 app[worker.1]: + [cast(bytes, t(i)) if t else i.write() for i in value] 2022-02-10T09:42:13.109163+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/core/primitives/vector.py", line 58, in 2022-02-10T09:42:13.109163+00:00 app[worker.1]: + [cast(bytes, t(i)) if t else i.write() for i in value] 2022-02-10T09:42:13.109164+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/types/keyboard_button_row.py", line 66, in write 2022-02-10T09:42:13.109164+00:00 app[worker.1]: b.write(Vector(self.buttons)) 2022-02-10T09:42:13.109164+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/core/primitives/vector.py", line 58, in new 2022-02-10T09:42:13.109164+00:00 app[worker.1]: + [cast(bytes, t(i)) if t else i.write() for i in value] 2022-02-10T09:42:13.109164+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/raw/core/primitives/vector.py", line 58, in 2022-02-10T09:42:13.109164+00:00 app[worker.1]: + [cast(bytes, t(i)) if t else i.write() for i in value] 2022-02-10T09:42:13.109164+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'write'

    I'm a newbie help me please

    opened by techie311 3
Owner
Abir Hasan
Learning Python & Bash. Working with Python & Bash Scripts. Making Telegram Bots. Busy Person XD @Discovery-Projects
Abir Hasan
Telegram bot for searching videos in your PDisk account by @AbirHasan2005

PDisk-Videos-Search A Telegram bot for searching videos in your PDisk account by @AbirHasan2005. Configs API_ID - Get from @TeleORG_Bot API_HASH - Get

Abir Hasan 39 Oct 21, 2022
An inline real-time media searching robot without any database.

MediaBuddy A Telegram Inline media searching robot without any database. About mediaBuddy is an inline media searching robot. If you have so many movi

Renjith Mangal 28 Oct 21, 2022
Telegram Bot for updating ongoing matches of Fotmob.com in channel by @AbirHasan2005

Fotmob-Bot A very simple Telegram Bot which will update ongoing matches of Fotmob in a channel. Demo Channel Configs API_ID - Get this from @TeleORG_B

Abir Hasan 22 Oct 21, 2022
A simple bot that lives in your Telegram group, logging messages to a Postgresql database and serving statistical tables and plots to users as Telegram messages.

telegram-stats-bot Telegram-stats-bot is a simple bot that lives in your Telegram group, logging messages to a Postgresql database and serving statist

null 22 Dec 26, 2022
A Telegram Bot for adding Footer caption beside main caption of Telegram Channel Messages.

Footer-Bot A Telegram Bot for adding Footer caption beside main caption of Telegram Channel Messages. Best for Telegram Movie Channels. Made by @AbirH

Abir Hasan 35 Jan 2, 2023
Force-Subscribe-Bot - A Telegram Bot to force users to join a specific channel before sending messages in a group

Introduction A Telegram Bot to force users to join a specific channel before sen

LG Bot Updates 0 Jan 16, 2022
A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Forward A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag

null 16 Oct 21, 2022
A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Post A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag. C

null 16 Oct 21, 2022
A Telegram Video Watermark Adder Bot in Pyrogram by @AbirHasan2005

Watermark-Bot A Telegram Video Watermark Adder Bot by @AbirHasan2005 Features: Save Custom Watermark Image. Auto Resize Watermark According to Video q

Abir Hasan 95 Nov 20, 2022
This is Telegram Files Store Bot by @AbirHasan2005

PyroFilesStoreBot This is Telegram Parmanent Files Store Bot by @AbirHasan2005. Language: Python3 Library: Pyrogram Features: In PM Just Forward or Se

Abir Hasan 168 Dec 19, 2022