Answer the question
In order to leave comments, you need to log in
Phone number as link in telegram bot?
People help how to make a button? When you press the K1 button to immediately call the number
#Contacts
if call.data == "kontakty":
keyboard = types.InlineKeyboardMarkup(row_width=3)
k1 = types.InlineKeyboardButton(text="Call Center", callback_data="nom1" )
k2 = types.InlineKeyboardButton(text="☎Remable", callback_data="nom2")
k3 = types.InlineKeyboardButton(text="✔WhatsApp", url="#")
k4 = types.InlineKeyboardButton(text="✔Website ", url="#")
k5 = types.InlineKeyboardButton(text="✔Instagram", url="#")
k6 = types.InlineKeyboardButton(text="✔Instagram", url="
k8 = types.InlineKeyboardButton(text="✔YouTube", url="#")
k9 = types.InlineKeyboardButton(text="✔Telegram", url="#")
backbutton = types.InlineKeyboardButton(text="Back", callback_data="mainmenu1")
keyboard.add(k1, k2, k3, k4, k5, k6, k7, k8, k9, backbutton)
bot.edit_message_text(chat_id=call.message.chat.id, message_id=call.message. message_id, text="Contacts",reply_markup=keyboard)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question