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.
Related
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 make my bot hidden for search and accessible only via direct link?
Currently, that's not possible.
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
I have been searching for a solution to this problem for a while and surprised it doesn't exist. I have a low traffic site but a high conversion/acquisition cost per customer.
So when a customer hits a certain page on my website, I want to be notified via SMS. So I can instigate a live chat and get them converting.
I have tried an option with Google Analytics, but that seems to have a delay. The live chat platforms do not seem to have this feature.
How could this type of action be achieved?
David here, from the Zapier Platform team.
That certainly might be possible! I haven't tried anything like that, but I have an idea that might work (albeit with some caveats).
First, you'll want to trigger when someone is on the site. For that, I'd send a webbhook to Zapier from the front-end of the page. If you wanted to only trigger if someone is there for a few seconds (not a bounce) you can put the outgoing webhook in a setTimeout. If you have the following code:
fetch('https://hooks.zapier.com/my/hook/path')
It will contact Zapier. From there, you can use SMS by Zapier to text yourself. You could also pass along relevant data to be used in the text, if you wanted.
All that said, it seems like live-chat apps (something like Olark) will make it seem like you're online always and can forward incoming messages to you somewhere you can respond right away. I haven't tried any, but I can't imagine yours is a unique problem.
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.