I managed to create a bot in Telegram with function buttons, however I'd like to add those buttons to a group.
Is it possible?
Related
Like Create new group using telegram bot API, but not by API -- how to create new group in telegram myself?
https://telegram.org/faq#q-how-do-i-create-a-group says:
Click the menu button in the top left corner > ‘New Group’.
but looks to me the faq is outdated, as it is no longer working:
Open Telegram.
Click ☰.
Click New Group.
Type a name for the group.
Then, I can do nothing but "Cancel" -- The “Next” is always grayed out.
Anybody knows? thx.
I want to create a message with telegram api that users could share(forward) it along its inline keyboard buttons.
I know with telegram api you can create a message that contains inline keyboard by adding inline_keyboard array in replay_markup of a message but when I forward this message inside telegram just the text part of the message forwards and buttons wont.
In brief I want to know is it possible to create a message with telegram api that when someone forwards this message inline keyboard of that message forwards too.
InlineKeyboardButton with "url" or "login_url" parameter can be forwarded.
Note: if there is another button in keyboard without "url" or "login_url" parameter whole keyboard woudn't be shown
You can't attach inline keyboard in the forwarded message, but you can add a “Share” button, and use switch_inline_query in inline keyboard.
For instance: Users can use #Sean_Bot TeleBot to send a photo with inline buttons, if they want to keep inline buttons, they should click “Share” button instead of directly forward.
I'm going to make vote-bot based on Schulze-method, so I need to show individual buttons for every user. Is it possible?
No possible to make different inline keyboard for each user in same chat at this time.
But I think you can use a button with url parameter contain https://t.me/Bot?start=vote_uniqueId, and when user click it, your bot will receive /start vote_uniqueId. And then you can give they different keyboard to vote now. :)
I have question about Telegram bot.
I want keyboard and inline keyboard, Can I enable both of the features at the same time ?
According to Telegram documentation, it's currently impossible to pass two or more objects for reply_markup at the same time. reply_markup only accepts one of these objects at the same time:
InlineKeyboardMarkup
ReplyKeyboardMarkup
ReplyKeyboardRemove
ForceReply
And of course you cannot combine two or more objects together. If you wanna show keyboard and have inline keyboard too, you can show the keyboard in a message and after that send another message with inline keyboard.
Cheers,
I have been playing with the Microsoft Band SDK and I have figured out that it is possible to create custom tile layouts and buttons along with event click receivers like ACTION_TILE_OPENED, ACTION_TILE_BUTTON_PRESSED, and ACTION_TILE_CLOSED.
However, is it possible to add custom buttons when doing send message notifications? Such that when a message is receive, the user can swipe left and see additional action buttons he/she can tap, and also tie this button to a click handler method? I have been trying to figure this out all day, but no success.
Example:
When a text (SMS) message is receive in the band, you can swipe left to see two buttons: "Dismiss" and "Reply". I was wondering if it is possible to also create this type of notification with buttons.
No, currently there are no means to customize notifications (messages or dialogs) sent to the Band.