telepot
telepot copied to clipboard
inlineKeyboardMarkup url support
inlineKeyboard button url attribute does not support tg:// protocal.
I don't quite understand what you mean. Can you elaborate?
Sorry, I mean the inline keyboard button function with attribute only support http protocol. I thought it will be better if it supports tg:// protocol as well so that I can click on the button and link to other telegram users' chat interface.
For example:
InlineKeyboardMarkup(inline_keyboard=[InlineKeyboardButton(text=lst[i+1][1],url='tg://user?id=000000')])
Um ... I think this is an issue with Telegram, how the app presents the URL. It doesn't have anything to do with telepot, which simply passes the URL to Telegram servers.