real-time search in telegram bot - telegram

I am writing a telegram bot with telegraf.
I want an inline search in my bot and I want to show the result of the searching in real-time.
Something like what #gif or #bing do.
They show the result of the search in real-time and you can click on each item you want to select.
I don't know the name of module/function I should use(I don't know where to begin!)
Can anyone help me and tell what to use and where to start from?

you can use "Inline mode" method in Telegram Bot Api and you set bot mode in inline-mode via BotFather so you can use all inline-mode methods in your bot.

Related

How to get callback by text hyperlink in Telegram bot?

I have a telegram bot with command /list, that show list of something, for example:
There are some list:
Alex
Ivan
Pier
I want to make names clickable, and show detailed information on click. But how I can get callback on that action with telegram api?
I don't want to use buttons.
There are several ways to navigate in the Telegram bot:
Buttons (the easiest). Canonical way for any action, when user already in bot. Here is how to use inline keyboard buttons API.
Deep links (seems like an answer). Usually it is used to navigate user from the outside to your Telegram bot concrete action https://t.me/yourAwesomeBot?start=concrete_action, read more
Telegram Web App (outstanding). Just build an a fully-fledge Web App inside your bot an make your fancy dreams come true, read more

How can I hide bot from searching in Telegram?

How can I make my bot hidden for search and accessible only via direct link?
Currently, that's not possible.

Can a Telegram bot display his own online status?

Telegram can display when a user is online, like in this picture. Can a bot do this also?
Or maybe someone knows another fancy way to display, that the bot is active.
No, they cannot. Bots do not have an online status nor a "last seen" timestamp.
https://core.telegram.org/bots
If you know when your bot will go offline - then before that you can change his name or description or something else to "Offline". And when it starts again - "Online".
But in general bot has no built-in ability for statuses.

Telegram Menu Keyboard bot

Hello i have a question about bots in telegram, 2 years ago we could create telegram bots easily with chatfual bot, now i need make a bot that has menu button from bottom and when user tap on the button it answers the user and send the message like before, is there any full tutorial about it from youtube? i searched but i didn't get answer because all of the videos talks about inlinekeyboard but i need menu keyboard buttons not inlinekeyboard, i need full tutorial of python or any other language that tells me how can i make buttons like this, or is there any website that help me make bots like i said without coding? i don't want make these type of bots from other bots of telegram i want coding way or websites.
thanks.
like this picture
also want make more buttons whithin button
Check that, it's tottaly what you search :
https://irazasyed.github.io/telegram-bot-sdk/usage/keyboards/#keyboards
And
https://medium.com/#chutzpah/telegram-inline-keyboards-using-google-app-script-f0a0550fde26

How can I send a message with a lot of images and text in a telegram chat like in the template below?

I am trying to write a telegram bot.
I want that my bot sends a message like in the following template with a lot of images and text. But I can't figure out which method is responsible for this. What is the correct approach to implement it?
https://drive.google.com/open?id=1G56EdNRn8X5m7uBJ5LrYfVG-JYPyAzNg
Just write your text inside telegram the way you want it, then copy it to your ide. Almost all editors support emojis. But in case your doesn't, you can always use this website:
https://unicode.org/emoji/charts-12.0/full-emoji-list.html
The method to be used is send message.

Resources