skip to Main Content

Reply buttons not showing in telegram bot – Telegram API

I use pyrogram for my bot I want to send a messages with buttons: from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton,ReplyKeyboardMarkup from pyrogram import types def cmd_start(self, chat_id, message): with Client("my_acc", api_id=self.api_id,api_hash=self.api_hash,proxy=self.proxy) as app: start_service = types.InlineKeyboardButton(text='but1', callback_data='service') start_system = types.InlineKeyboardButton(text='but2', callback_data='system')…

VIEW QUESTION
Back To Top
Search