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
Related
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.
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 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.
As stated in title. MDL cards/templates etc come with fancy looking share buttons. How exactly do we make them work how we see they do on phones apps? I want a user to be able to press the share button and have the list of apps to share via to show up.
Is this possible?
This is not possible with current web technology. The only API that was in progress to allow it was Web Intents but this has since been abandoned.
The share button could open up a dialog or something that has a Reddit share, Digg button, Facebook share, Google Plus shares, etc within them. That way they are only initialized when called. But you need to specifically program what you want to share out to.
I would like to create a button with the name "Participate" that works like the "like" button on facebook.
I have an contenttype called Event, which should show the participate button, that logged in users can click, and add themselves to the event.
When looking at the content for Event I would also like to display a list of the users which have clicked the Participate button.
Is there someone who can help me with how it can be solved or what i should look into?
take a look at this module with some php knowledge you can make it , it's not what you really want but this guys pushed the hard part
The Activity module keeps track of the
things people do on your site and
provides mini-feeds of these
activities in blocks, in a specialized
table, and via RSS. The module is
extensible so that any other module
can integrate with it. The messages
that are produced are customizable via
the admin interface and are context
sensitive. Some theoretical example
messages include:
You wrote a comment in response to "example comment title"
Jim wants to be your friend. Approve this friendship here
Nancy is Phil's latest fan
http://drupal.org/project/activity